[LLVMbugs] [Bug 17889] New: Clang Fails to LLVM When Aggressive Optimization Flags Are Used

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Nov 11 19:38:12 PST 2013


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

            Bug ID: 17889
           Summary: Clang Fails to LLVM When Aggressive Optimization Flags
                    Are Used
           Product: clang
           Version: trunk
          Hardware: Macintosh
                OS: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: mathpup at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 11523
  --> http://llvm.org/bugs/attachment.cgi?id=11523&action=edit
log from ./configure

I am using recent version of LLVM from svn to build LLVM itself. This time I
decided to try some aggressive optimization settings:

CFLAGS='-O3 -flto -fslp-vectorize-aggressive -mavx'

The build quickly fails with the errors

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 '@p_ere'
clang: error: unable to execute command: Illegal instruction: 4
clang: error: linker command failed due to signal (use -v to see invocation)

I am attaching the config.log and output from the compiler. Let me know if you
need more information.

-- 
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/20131112/b8c22722/attachment.html>


More information about the llvm-bugs mailing list