binaryen
binaryen copied to clipboard
/usr/bin/ld: final link failed: Bad value
I built it on my ubuntu 14.04
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/crti.o: unrecognized relocation (0x2a) in section `.init' /usr/bin/ld: final link failed: Bad value collect2: error: ld returned 1 exit status make[2]: *** [bin/asm2wasm] Error 1 make[1]: *** [CMakeFiles/asm2wasm.dir/all] Error 2 make: *** [all] Error 2
My guess is some local problem happened on your machine, like running out of memory or disk space. Does this happen consistently? Trying a rebuild from scratch might also help.
@tsangint did you solve your problem..I face same problem..
@tsangint did you solve your problem..I face same problem..
I had the same problem and founded that I was linking with librairies that was built with another binutils version.
I had the same issue. Solved it by deleting .o file from Make/linux64GccDPOpt directory (it had conflicting copies from build on 2 different machines for some reason. This may or may not apply to your case though) and then rebuilding. Hope it helps.
Issue 666
what the solution? I'm facing the same problem when embedding python on Caffe and I don't know how to fix.