Robert Connolly robert at linuxfromscratch.org
Mon Oct 15 20:57:30 PDT 2007

This is Libtool. Re-running 'libtool', with correct options, should be able to 
fix this. I have very little experience with Libtool, so I'm not sure how 
this is fixed. It might be something in configure.ac.

This is probably for static libraries, in which case gcc will give them -fpie 
even though it's not on the command line. It's better to use Libtool so -fpic 
or -fPIC is used... to pass more control to the package developers, but on 
x86 it doesn't seem to matter.


On Monday October 15 2007 08:55:57 pm goodoldmarty at gmail.com wrote:
> When compiling Apache I see this flag pass by often: -prefer-non-pic
> I thought our compiler was supposed to be forcing PIC, so I am curious.
> What happens in the end? Do we actually override this flag, (or fail to
> compile which would be the preferred result?)
> Marty B

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.linuxfromscratch.org/pipermail/hlfs-dev/attachments/20071015/f19bd064/attachment.sig>

More information about the hlfs-dev mailing list