#131 closed defect (fixed)
compile failure on 64 bit FreeBSD 7
Reported by: | rainer | Owned by: | rainer |
---|---|---|---|
Priority: | major | Milestone: | 2.5.1 |
Component: | main | Version: | |
Keywords: | Cc: |
Description
Compiling on FreeBSD 7.0 amd64 fails:
/usr/bin/ld: /usr/lib/crt1.o: relocation R_X86_64_32 can not be used when making a shared object; recompile with -fPIC /usr/lib/crt1.o: could not read symbols: Bad value
This seems to be cause by a broken compiler toolchain.. the linker tries to link in a crt1.o which is compiled without -fPIC, though the -pie linker flag is set. Seems that the only workaround is to disable compiling as PIE.
Note:
See TracTickets
for help on using tickets.
Fixed in changeset [203].