[LLVMbugs] [Bug 24186] New: Unable to build open source LLVM/Clang with Apple Clang

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Jul 20 01:04:27 PDT 2015


https://llvm.org/bugs/show_bug.cgi?id=24186

            Bug ID: 24186
           Summary: Unable to build open source LLVM/Clang with Apple
                    Clang
           Product: clang
           Version: 3.5
          Hardware: Macintosh
                OS: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: tm at ayena.de
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

~/d/r/llvm_build> /usr/bin/c++   -DCLANG_ENABLE_ARCMT
-DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -DGTEST_HAS_RTTI=0
-D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS
-D__STDC_LIMIT_MACROS -DLLVM_ENABLE_DUMP -fPIC -fvisibility-inlines-hidden
-Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual
-Wmissing-field-initializers -pedantic -Wno-long-long -Wcovered-switch-default
-std=c++11 -fcolor-diagnostics -fno-common -Woverloaded-virtual
-fno-strict-aliasing -Wno-nested-anon-types -O2 -g -DNDEBUG
-Itools/clang/lib/CodeGen -I/Users/tobias/dev/rep/llvm/tools/clang/lib/CodeGen
-I/Users/tobias/dev/rep/llvm/tools/clang/include -Itools/clang/include
-Iinclude -I/Users/tobias/dev/rep/llvm/include    -fno-exceptions -fno-rtti
-MMD -MT tools/clang/lib/CodeGen/CMakeFiles/clangCodeGen.dir/CGExpr.cpp.o -MF
tools/clang/lib/CodeGen/CMakeFiles/clangCodeGen.dir/CGExpr.cpp.o.d -o
tools/clang/lib/CodeGen/CMakeFiles/clangCodeGen.dir/CGExpr.cpp.o -c
/Users/tobias/dev/rep/llvm/tools/clang/lib/CodeGen/CGExpr.cpp
Stack dump:
0.    Program arguments:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
-cc1 -triple x86_64-apple-macosx10.9.0 -emit-obj -disable-free
-disable-llvm-verifier -main-file-name CGExpr.cpp -mrelocation-model pic
-pic-level 2 -mdisable-fp-elim -relaxed-aliasing -masm-verbose -munwind-tables
-target-cpu core2 -target-linker-version 241.9 -gdwarf-2 -coverage-file
/Users/tobias/dev/rep/llvm_build/tools/clang/lib/CodeGen/CMakeFiles/clangCodeGen.dir/CGExpr.cpp.o
-resource-dir
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/6.0
-dependency-file
tools/clang/lib/CodeGen/CMakeFiles/clangCodeGen.dir/CGExpr.cpp.o.d -MT
tools/clang/lib/CodeGen/CMakeFiles/clangCodeGen.dir/CGExpr.cpp.o -D
CLANG_ENABLE_ARCMT -D CLANG_ENABLE_OBJC_REWRITER -D
CLANG_ENABLE_STATIC_ANALYZER -D GTEST_HAS_RTTI=0 -D _GNU_SOURCE -D
__STDC_CONSTANT_MACROS -D __STDC_FORMAT_MACROS -D __STDC_LIMIT_MACROS -D
LLVM_ENABLE_DUMP -D NDEBUG -I tools/clang/lib/CodeGen -I
/Users/tobias/dev/rep/llvm/tools/clang/lib/CodeGen -I
/Users/tobias/dev/rep/llvm/tools/clang/include -I tools/clang/include -I
include -I /Users/tobias/dev/rep/llvm/include -stdlib=libc++ -O2 -Wall -W
-Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers
-Wno-long-long -Wcovered-switch-default -Woverloaded-virtual
-Wno-nested-anon-types -pedantic -std=c++11 -fdeprecated-macro
-fdebug-compilation-dir /Users/tobias/dev/rep/llvm_build -ferror-limit 19
-fmessage-length 204 -fvisibility-inlines-hidden -stack-protector 1
-mstackrealign -fblocks -fno-rtti -fobjc-runtime=macosx-10.9.0
-fencode-extended-block-signature -fno-common -fdiagnostics-show-option
-fcolor-diagnostics -vectorize-loops -vectorize-slp -o
tools/clang/lib/CodeGen/CMakeFiles/clangCodeGen.dir/CGExpr.cpp.o -x c++
/Users/tobias/dev/rep/llvm/tools/clang/lib/CodeGen/CGExpr.cpp 
1.    <eof> parser at end of file
2.    Code generation
3.    Running pass 'Function Pass Manager' on module
'/Users/tobias/dev/rep/llvm/tools/clang/lib/CodeGen/CGExpr.cpp'.
4.    Running pass 'X86 DAG->DAG Instruction Selection' on function
'@_ZN5clang7CodeGen15CodeGenFunction12EmitCallArgsINS_17FunctionProtoTypeEEEvRNS0_11CallArgListEPKT_NS_4Stmt17ConstExprIteratorESA_PKNS_12FunctionDeclEj'
clang: error: unable to execute command: Segmentation fault: 11
clang: error: clang frontend command failed due to signal (use -v to see
invocation)
Apple LLVM version 6.0 (clang-600.0.57) (based on LLVM 3.5svn)
Target: x86_64-apple-darwin13.4.0
Thread model: posix
clang: note: diagnostic msg: PLEASE submit a bug report to
http://developer.apple.com/bugreporter/ and include the crash backtrace,
preprocessed source, and associated run script.
clang: note: diagnostic msg: 
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang: note: diagnostic msg:
/var/folders/qm/7pz79pjd5gg0h1w3dny4yl540000gn/T/CGExpr-3ba879.cpp
clang: note: diagnostic msg:
/var/folders/qm/7pz79pjd5gg0h1w3dny4yl540000gn/T/CGExpr-3ba879.sh
clang: note: diagnostic msg: 

********************

-- 
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/20150720/d8c2b495/attachment.html>


More information about the llvm-bugs mailing list