Build error compiling openssl-0.9.8j with "make -j4". uname -a Linux SSO-PS01 2.6.18-6-amd64 #1 SMP Fri Jun 6 05:24:08 UTC 2008 x86_64 GNU/Linux Debian etch - AMD Opteron(tm) Processor 850 ... /usr/bin/ld: ../libcrypto.a(des_lib.o): invalid string offset 610569036 >= 92 for section `.strtab' /usr/bin/ld: ../libcrypto.a(des_lib.o): invalid string offset 1207930982 >= 92 for section `.strtab' /usr/bin/ld: ../libcrypto.a(des_lib.o): invalid string offset 15265417 >= 92 for section `.strtab' /usr/bin/ld: ../libcrypto.a(des_lib.o): invalid string offset 1222150472 >= 92 for section `.strtab' /usr/bin/ld: ../libcrypto.a(des_lib.o): invalid string offset 3907684680 >= 92 for section `.strtab' /usr/bin/ld: ../libcrypto.a(des_lib.o): invalid string offset 1230110720 >= 92 for section `.strtab' /usr/bin/ld: ../libcrypto.a(des_lib.o): invalid string offset 1280529262 >= 92 for section `.strtab' ../libcrypto.a(des_lib.o):(.text+0x39): undefined reference to `BIO_snprintf' /usr/bin/ld: ../libcrypto.a(aes-x86_64.o): invalid string offset 2215578709 >= 135 for section `.strtab' /usr/bin/ld: BFD 2.17 Debian GNU/Linux internal error, aborting at ../../bfd/elfcode.h line 190 in bfd_elf64_swap_symbol_in /usr/bin/ld: Please report this bug. collect2: ld returned 1 exit status make[2]: *** [link_app.] Error 1 make[2]: Leaving directory `/home/andre/tmp/openssl-0.9.8j/apps' make[1]: *** [openssl] Error 2 make[1]: Leaving directory `/home/andre/tmp/openssl-0.9.8j/apps' make: *** [build_apps] Error 1
Created attachment 3833 [details] Complete build log
Please try binutils 2.19.1.
closing due to lack of response
Hi guys, We have same problem as reported. Hopefully it is OK to post in closed case. Could you please provide information on how to set mentioned version of binutils with gcc 4.5.2 being used? Thank you in advance D.K
My advice is to not use "make -j" with this project. Likely the assembler hasn't finished writing some object file before it is being used as an input to the linker. Report a makefile problem.