crt1.o: could not read symbols: Bad value

FreeSlave via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Jun 11 03:09:49 PDT 2014


I conclude that because I have similar errors when trying to 
build 64-bit library on 32-bit system.

/usr/bin/ld: 
/usr/lib/x86_64-linux-gnu/libphobos2.a(format_712_5b3.o): 
relocation R_X86_64_32 against `.rodata' can not be used when 
making a shared object; recompile with -fPIC
/usr/lib/x86_64-linux-gnu/libphobos2.a: error adding symbols: Bad 
value
collect2: error: ld returned 1 exit status
--- errorlevel 1

But paths in your error log look like you're on x64, so it's 
probably not the case.


More information about the Digitalmars-d-learn mailing list