Emulator Issues #948
closed64-bit Linux version needs -fPIC to compile. Intended?
0%
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.
Updated by nakeee over 15 years ago
I added it to CXXFlags instead of CCFlags
Fixed now.
Updated by Anonymous over 13 years ago
- Status changed from New to Fixed
Ignore this...Status:Verified was removed, changing to Fixed