CFLAGS+= -fPIC per default?

Christian Weisgerber naddy at mips.inka.de
Sat Feb 21 18:59:18 PST 2004


Hendrik Scholz <hscholz at raisdorf.net> wrote:

> I'm just fixing a bunch of ports reported broken on amd64 by bento.
> Most of these errors are related to a common linker problem:
> ld: foo.o: relocation R_X86_64_32 can not be used when making a shared 
> object; recompile with -fPIC

Why are these shared objects not built with -fPIC in the first place?

-- 
Christian "naddy" Weisgerber                          naddy at mips.inka.de



More information about the freebsd-amd64 mailing list