bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/12643] New: binutils: ld: unrecognised emulation mode: armelf_li


From: hector.oron at gmail dot com
Subject: [Bug ld/12643] New: binutils: ld: unrecognised emulation mode: armelf_linux_eabi
Date: Wed, 6 Apr 2011 12:58:32 +0000

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: address@hidden
        ReportedBy: address@hidden


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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]