[LLVMbugs] [Bug 20509] New: ld64/libLTO crashes with bit-code files from clang 3.4

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Aug 1 10:33:57 PDT 2014


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: unassignedbugs at nondot.org
          Reporter: t.poechtrager at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20140801/3ff6c82f/attachment.html>


More information about the llvm-bugs mailing list