Opened 16 years ago

Closed 16 years ago

Last modified 9 years ago

#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.

Change History (1)

comment:1 by rainer, 16 years ago

Resolution: fixed
Status: newclosed

Fixed in changeset [203].

Note: See TracTickets for help on using tickets.