hector.oron at gmail dot com
2011-04-06 12:58:32 UTC
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
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.
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.