Hello, While cross building gcc-4.6 for arm-linux-gnueabihf, I got: /usr/arm-linux-gnueabihf/bin/ld: unrecognised emulation mode: armelf_linux_eabi Supported emulations: armelf_linux armelf armelfb armelfb_linux collect2: ld returned 1 exit status A proposed *tested* fix: --- ld/configure.tgt.orig 2011-04-05 20:22:23.000000000 +0000 +++ ld/configure.tgt 2011-04-05 20:23:35.000000000 +0000 @@ -79,7 +79,7 @@ targ_extra_emuls="armelfb armelf armelf_linux" targ_extra_libpath="armelf_linux" ;; -arm*-*-linux-*eabi) targ_emul=armelf_linux_eabi +arm*-*-linux-*eabi*) targ_emul=armelf_linux_eabi targ_extra_emuls=armelfb_linux_eabi targ_extra_libpath=$targ_extra_emuls ;; @@ -87,7 +87,7 @@ targ_extra_emuls="armelf armelfb armelfb_linux" targ_extra_libpath="armelfb_linux" ;; -arm*-*-uclinux*eabi) targ_emul=armelf_linux_eabi +arm*-*-uclinux*eabi*) targ_emul=armelf_linux_eabi targ_extra_emuls=armelfb_linux_eabi targ_extra_libpath=$targ_extra_emuls ;; Best regards, -- Hector Oron
CVSROOT: /cvs/src Module name: src Changes by: nickc@sourceware.org 2011-04-08 16:05:12 Modified files: ld : ChangeLog configure.tgt Log message: PR ld/12643 * configure.tgt: Add support for arm-*-gnueabihf targets. Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/ChangeLog.diff?cvsroot=src&r1=1.2308&r2=1.2309 http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/configure.tgt.diff?cvsroot=src&r1=1.244&r2=1.245
Hi Hector, Thanks for the bug report and patch. I have applied your patch with one small modification - I extended it to cover the big-endian arm linux target as well, just in case that is ever needed. Cheers Nick
Hi Nick, Thank you very much and thanks for your good work! Have a good weekend :)
*** Bug 260998 has been marked as a duplicate of this bug. *** Seen from the domain http://volichat.com Page where seen: http://volichat.com/adult-chat-rooms Marked for reference. Resolved as fixed @bugzilla.