http://llvm.org/bugs/show_bug.cgi?id=9543
Summary: linux ppc: clang linking invokes ld for x86_64 rather
than ppc
Product: clang
Version: trunk
Platform: Macintosh
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: -New Bugs
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
$ /opt/llvm/bin/clang -c test.c
$ file test.o
test.o: ELF 32-bit MSB relocatable, PowerPC or cisco 4500, version 1 (SYSV),
not stripped
$ /opt/llvm/bin/clang test.o -o test
/usr/bin/ld: unrecognised emulation mode: elf_x86_64
Supported emulations: elf32ppclinux elf32ppc elf32ppcsim elf64ppc elf32_spu
clang: error: linker command failed with exit code 1 (use -v to see invocation)
$ /opt/llvm/bin/clang --version
clang version 3.0 (trunk 128223)
Target: powerpc-unknown-linux-gnu
Thread model: posix
--
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