Discussion:
[Bug ld/12643] New: binutils: ld: unrecognised emulation mode: armelf_linux_eabi
hector.oron at gmail dot com
2011-04-06 12:58:32 UTC
Permalink
http://sourceware.org/bugzilla/show_bug.cgi?id=12643

Summary: binutils: ld: unrecognised emulation mode:
armelf_linux_eabi
Product: binutils
Version: 2.21
Status: NEW
Severity: normal
Priority: P2
Component: ld
AssignedTo: ***@sources.redhat.com
ReportedBy: ***@gmail.com


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
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
cvs-commit at gcc dot gnu.org
2011-04-08 16:05:28 UTC
Permalink
http://sourceware.org/bugzilla/show_bug.cgi?id=12643

--- Comment #1 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> 2011-04-08 16:05:16 UTC ---
CVSROOT: /cvs/src
Module name: src
Changes by: ***@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
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
nickc at redhat dot com
2011-04-08 16:08:01 UTC
Permalink
http://sourceware.org/bugzilla/show_bug.cgi?id=12643

Nick Clifton <nickc at redhat dot com> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |nickc at redhat dot com
Resolution| |FIXED

--- Comment #2 from Nick Clifton <nickc at redhat dot com> 2011-04-08 16:07:44 UTC ---
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
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
hector.oron at gmail dot com
2011-04-08 16:09:12 UTC
Permalink
http://sourceware.org/bugzilla/show_bug.cgi?id=12643

--- Comment #3 from HectorOron <hector.oron at gmail dot com> 2011-04-08 16:09:08 UTC ---
Hi Nick,

Thank you very much and thanks for your good work!

Have a good weekend :)
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
jackie.rosen at hushmail dot com
2014-02-16 18:28:50 UTC
Permalink
https://sourceware.org/bugzilla/show_bug.cgi?id=12643

Jackie Rosen <jackie.rosen at hushmail dot com> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |jackie.rosen at hushmail dot com

--- Comment #4 from Jackie Rosen <jackie.rosen at hushmail dot com> ---
*** 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.
--
You are receiving this mail because:
You are on the CC list for the bug.
schwab at sourceware dot org
2014-05-28 19:42:00 UTC
Permalink
https://sourceware.org/bugzilla/show_bug.cgi?id=12643

Andreas Schwab <schwab at sourceware dot org> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC|jackie.rosen at hushmail dot com |
--
You are receiving this mail because:
You are on the CC list for the bug.
Loading...