binaryen icon indicating copy to clipboard operation
binaryen copied to clipboard

/usr/bin/ld: final link failed: Bad value

Open tsangint opened this issue 8 years ago • 7 comments

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

tsangint avatar Aug 09 '16 02:08 tsangint

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.

kripken avatar Aug 09 '16 22:08 kripken

@tsangint did you solve your problem..I face same problem..

sqbqamar avatar Oct 18 '17 07:10 sqbqamar

@tsangint did you solve your problem..I face same problem..

sqbqamar avatar Oct 18 '17 07:10 sqbqamar

I had the same problem and founded that I was linking with librairies that was built with another binutils version.

poutineashton avatar Jan 26 '18 19:01 poutineashton

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.

ARyakhovskiy avatar Jun 20 '18 09:06 ARyakhovskiy

Issue 666

wellsilver avatar Oct 21 '23 01:10 wellsilver

what the solution? I'm facing the same problem when embedding python on Caffe and I don't know how to fix.

kivoimusa avatar Feb 21 '24 16:02 kivoimusa