[LLVMbugs] [Bug 18641] New: clang crashed when using LTO

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Jan 27 20:48:49 PST 2014


http://llvm.org/bugs/show_bug.cgi?id=18641

            Bug ID: 18641
           Summary: clang crashed when using LTO
           Product: clang
           Version: trunk
          Hardware: PC
                OS: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: Modules
          Assignee: unassignedclangbugs at nondot.org
          Reporter: 191919 at gmail.com
                CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
    Classification: Unclassified

clang svn trunk gave the following message when linking the executable:

Intrinsic name not mangled correctly for type arguments!
i64 (i8*, i1)* @llvm.objectsize.i64.p0i8
Broken module found, compilation aborted!
Stack dump:
0.    Running pass 'Function Pass Manager' on module 'ld-temp.o'.
1.    Running pass 'Module Verifier' on function '@XXX_CallbackProc'
clang: error: unable to execute command: Illegal instruction: 4
clang: error: linker command failed due to signal (use -v to see invocation)

then failed.

It worked fine without -flto. The version which came with Xcode 5.0.2 also
works fine.

Please let me know what information is needed for further investigation.

---

clang version:
$ /opt/bin/clang -v
clang version 3.5 (trunk 200285)
Target: x86_64-apple-darwin13.0.0
Thread model: posix

OS version:
$ uname -a
Darwin localhost 13.0.0 Darwin Kernel Version 13.0.0: Thu Sep 19 22:22:27 PDT
2013; root:xnu-2422.1.72~6/RELEASE_X86_64 x86_64

clang configuration:
$ ../llvm/configure --enable-optimized=YES --enable-assertions=NO --prefix=/opt
--enable-targets=host,x86,arm,aarch64

-- 
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/20140128/ddf9d88d/attachment.html>


More information about the llvm-bugs mailing list