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: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to