CFLAGS+= -fPIC per default?

Christian Weisgerber naddy at
Sat Feb 21 18:59:18 PST 2004

Hendrik Scholz <hscholz at> 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

More information about the freebsd-amd64 mailing list