Actions
Emulator Issues #948
closed64-bit Linux version needs -fPIC to compile. Intended?
Status:
Fixed
Priority:
Normal
Assignee:
-
% Done:
0%
Operating system:
N/A
Issue type:
Bug
Milestone:
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:
Description
What steps will reproduce the problem?
- Try to compile for 64-bit Linux without changing settings (rev. 3198)
Error message when trying to link:
/usr/bin/ld: Build/Linux-x86_64-release/libs/libsoil.a(SOIL.o): relocation
R_X86_64_32S against `a local symbol' can not be used when making a shared
object; recompile with -fPIC
Build/Linux-x86_64-release/libs/libsoil.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
scons: *** [Binary/Linux-x86_64/Plugins/libPlugin_VideoOGL.so] Error 1
scons: building terminated because of errors.
==> ERROR: Build Failed.
Aborting...
GCC 4.4.0 - Fully updated Arch Linux x86_64
It compiles fine on 32-bit
It compiles fine on 32-bit with only the -march=i486 in compile flags.
64-bit compiles fine with -fPIC though.
Actions