http://llvm.org/bugs/show_bug.cgi?id=22452
Bug ID: 22452
Summary: try linker target support instead of interrogating -v
Product: compiler-rt
Version: 3.6
Hardware: Macintosh
OS: MacOS X
Status: NEW
Severity: normal
Priority: P
Component: compiler-rt
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Classification: Unclassified
Created attachment 13803
--> http://llvm.org/bugs/attachment.cgi?id=13803&action=edit
try linker instead of interrogating it
Older linker versions will not report supported targets in -v output while
still supporting the target:
michael@osx105 ~/llvm $ ~/Gentoo/usr/i686-apple-darwin9/binutils-bin/4.2/ld64
-v
@(#)PROGRAM:ld PROJECT:ld64-127.2 (Gentoo binutils-apple-4.2-r1)
LLVM version 3.5.1
This will make the Makefile drop all targets which in turn will make the lipo
run fail and compile abort.
The attached patch makes clang_darwin.mk try to link a dylib from
clang_darwin_test_input for the target to determine support. Tested against
HEAD as of 2015-02-02.
--
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