http://llvm.org/bugs/show_bug.cgi?id=10051
Summary: Toolchain check broken (since the last change,
r131256)
Product: compiler-rt
Version: unspecified
Platform: Macintosh
OS/Version: MacOS X
Status: NEW
Severity: normal
Priority: P
Component: compiler-rt
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
To test if a toolchain is valid, the compiler-rt script uses (since r131256)
the following test:
if $(CC) -arch $$arch -dumpversion > /dev/null; then \
result="$$result$$arch "; \
fi; \
Unfortunately, this test always pass when CC is clang. clang does not check the
architecture when using -dumpversion
$clang -arch foo -dumpversion
4.2.1
And it does not check at all if there is a suitable assembler and linker to
build the compiler-rt library.
And unfortunately again, CC is always clang when compiler-rt is compiled
automatically with clang.
--
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