[LLVMbugs] [Bug 4005] New: wrong arm abi selected

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Sat Apr 18 22:12:36 PDT 2009


http://llvm.org/bugs/show_bug.cgi?id=4005

           Summary: wrong arm abi selected
           Product: tools
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: llvm-gcc
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: nicholas at mxc.ca
                CC: llvmbugs at cs.uiuc.edu


The ARM build on a little-endian ARM with EBI fails with this:

/home/nlewycky/llvm-gcc/build/./gcc/xgcc -B/home/nlewycky/llvm-gcc/build/./gcc/
-B/home/nlewycky/llvm-gcc/install/armv7l-unknown-linux-gnu/bin/ [[...]]
/usr/bin/ld: unrecognised emulation mode: armelf_linux
Supported emulations: armelf_linux_eabi armelfb_linux_eabi
collect2: ld returned 1 exit status
make[4]: *** [libgcc_s.so] Error 1

In llvm-gcc gcc/config/arm there's linux-elf.h which chooses armelf_linux and
linux-eabi.h which chooses armelf_linux_eabi. The latter is correct, but the
former is being chosen. Why?


-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list