http://llvm.org/bugs/show_bug.cgi?id=20509
Bug ID: 20509
Summary: ld64/libLTO crashes with bit-code files from clang 3.4
Product: tools
Version: trunk
Hardware: Macintosh
OS: MacOS X
Status: NEW
Severity: release blocker
Priority: P
Component: lto
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Classification: Unclassified
Created attachment 12844
--> http://llvm.org/bugs/attachment.cgi?id=12844&action=edit
backtrace
$ cat test.c
int main() {return 0;}
# Apple LLVM version 5.1 (clang-503.0.38) (based on LLVM 3.4svn)
$ clang test.c -g -c -flto
# Adjust DYLD_LIBRARY_PATH, so ld64 uses the correct libLTO
$ export DYLD_LIBRARY_PATH=/Users/thomas/llvm-trunk/lib
$ ld -v
@(#)PROGRAM:ld PROJECT:ld64-236.3
configured to support archs: armv6 armv7 armv7s arm64 i386 x86_64 armv6m armv7m
armv7em
LTO support using: LLVM version 3.6.0svn
$ ld -arch x86_64 -macosx_version_min 10.9 test.o
Segmentation fault: 11
LLVM rev: 214519. Backtrace is attached.
--
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