Shared library cannot be linked with X64 System
Original Reporter info from Mantis: FPCCore
-
Reporter name: FPC core team
Original Reporter info from Mantis: FPCCore
- Reporter name: FPC core team
Description:
A library cannot be linked by ld using fpc-2.0.0-0.x86_64.
An error occured: /usr/bin/ld: /usr/lib/fpc/2.0.0/units/x86_64-linux/rtl/system.o: relocation R_X86_64_32S against `TC_SYSTEM_ISMULTITHREAD' can not be used when making a shared object; recompile with -fPIC
/usr/lib/fpc/2.0.0/units/x86_64-linux/rtl/system.o: could not read symbols: Bad value
Additional information:
Reporter: Jochen Magnus
EMail: jo at magnus dot de
Mantis conversion info:
- Mantis ID: 6618
- OS: Linux
- Fixed in version: 2.2.0
- Fixed in revision: 5828 (#db3f8575)
- Monitored by: » jo@magnus.de (Jochen Magnus), » dleducq (Dominique Leducq), » Hans-Peter Eberhard (No Name), » mgreiner (mgreiner)