libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Libtool 1.5 && 1.4.3


From: David I. Lehn
Subject: Re: Libtool 1.5 && 1.4.3
Date: Wed, 9 Oct 2002 20:25:45 -0400
User-agent: Mutt/1.4i

* Michel LESPINASSE <address@hidden> [20021009 19:57]:
> On Wed, Oct 09, 2002 at 06:27:18PM -0500, Robert Boehne wrote:
> > Ok, let me see if I understand this one,
> > under Linux hppa, (presumably with gcc) user has added -prefer-non-pic
> > to the CFLAGS explicitly, and configured with --enable-shared ??
...
> > What platforms (aside from Alpha & RS/6000) does this work on?
> 
> That package (using -prefer-non-pic unconditionally) is into debian
> now, it's been compiled successfully on all debian-supported arches
> except hppa, so that would be x86, m68k, sparc, alpha, powerpc, arm,
> mips/mipsel, ia64 and s390. I'm not sure exactly which of these use
> -fPIC or not. Only hppa breaks, as it tries to not use -fPIC where the
> architecture apparently requires -fPIC.
> 

I actually just got lazy and hacked it to not use -prefer-non-pic if the
host was hppa*.  walken's check is a better approach that I'll integrate
into the next deb release.  A libtool fix would be even better. ;)  It's
compiled for all archs now.  This is just -compiling- though.  I have no
idea if PIC tricks work at runtime on all archs in all situations.  But
I presume that's why the flag exists in the first place.

In case anyone wants to check which archs actually used -fPIC you can
check the build logs: http://buildd.debian.org/build.php?pkg=mpeg2dec

-dave




reply via email to

[Prev in Thread] Current Thread [Next in Thread]