https://llvm.org/bugs/show_bug.cgi?id=26505
Bug ID: 26505 Summary: Segmentation fault when compiling clang Product: new-bugs Version: 3.7 Hardware: PC OS: Linux Status: NEW Severity: normal Priority: P Component: new bugs Assignee: unassignedb...@nondot.org Reporter: dam...@grassart.com CC: llvm-bugs@lists.llvm.org Classification: Unclassified FAILED: /usr/bin/clang++ -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 -Itools/clang/lib/Sema -I../tools/clang/lib/Sema -I../tools/clang/include -Itools/clang/include -Iinclude -I../include -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wcovered-switch-default -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -std=c++11 -fcolor-diagnostics -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -Wno-nested-anon-types -fno-exceptions -fno-rtti -MMD -MT tools/clang/lib/Sema/CMakeFiles/clangSema.dir/SemaOpenMP.cpp.o -MF tools/clang/lib/Sema/CMakeFiles/clangSema.dir/SemaOpenMP.cpp.o.d -o tools/clang/lib/Sema/CMakeFiles/clangSema.dir/SemaOpenMP.cpp.o -c ../tools/clang/lib/Sema/SemaOpenMP.cpp #0 0x7ff1547aeb30 llvm::sys::PrintStackTrace(llvm::raw_ostream&) (/usr/bin/../lib/libLLVM.so.3.7+0x568b30) #1 0x7ff1547ad911 (/usr/bin/../lib/libLLVM.so.3.7+0x567911) #2 0x7ff154039d60 __restore_rt (/usr/bin/../lib/libpthread.so.0+0x10d60) #3 0x701da7 (/usr/bin/clang-3.7+0x701da7) #4 0x73c6c2 clang::CodeGen::CodeGenFunction::GetAddressOfDirectBaseInCompleteClass(llvm::Value*, clang::CXXRecordDecl const*, clang::CXXRecordDecl const*, bool) (/usr/bin/clang-3.7+0x73c6c2) #5 0x740a35 (/usr/bin/clang-3.7+0x740a35) #6 0x741604 (/usr/bin/clang-3.7+0x741604) #7 0x74196c clang::CodeGen::CodeGenFunction::EmitConstructorBody(clang::CodeGen::FunctionArgList&) (/usr/bin/clang-3.7+0x74196c) #8 0x83d01b clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) (/usr/bin/clang-3.7+0x83d01b) #9 0x72039c clang::CodeGen::CodeGenModule::codegenCXXStructor(clang::CXXMethodDecl const*, clang::CodeGen::StructorType) (/usr/bin/clang-3.7+0x72039c) #10 0x6ddcb3 (/usr/bin/clang-3.7+0x6ddcb3) #11 0x6a82d2 clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/usr/bin/clang-3.7+0x6a82d2) #12 0x6a83be clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/bin/clang-3.7+0x6a83be) #13 0x6a83da clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/bin/clang-3.7+0x6a83da) #14 0x6a83da clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/bin/clang-3.7+0x6a83da) #15 0x6a83da clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/bin/clang-3.7+0x6a83da) #16 0x6a83da clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/bin/clang-3.7+0x6a83da) #17 0x6a83da clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/bin/clang-3.7+0x6a83da) #18 0x6a83da clang::CodeGen::CodeGenModule::EmitDeferred() (/usr/bin/clang-3.7+0x6a83da) #19 0x6a8499 clang::CodeGen::CodeGenModule::Release() (/usr/bin/clang-3.7+0x6a8499) #20 0x98cc05 (/usr/bin/clang-3.7+0x98cc05) #21 0xac21d2 clang::ParseAST(clang::Sema&, bool, bool) (/usr/bin/clang-3.7+0xac21d2) #22 0x9161a6 clang::FrontendAction::Execute() (/usr/bin/clang-3.7+0x9161a6) #23 0x8ec829 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/bin/clang-3.7+0x8ec829) #24 0x98bcb3 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/bin/clang-3.7+0x98bcb3) #25 0x6572e8 cc1_main(llvm::ArrayRef<char const*>, char const*, void*) (/usr/bin/clang-3.7+0x6572e8) #26 0x65273e main (/usr/bin/clang-3.7+0x65273e) #27 0x7ff15370d610 __libc_start_main (/usr/bin/../lib/libc.so.6+0x20610) #28 0x655359 _start (/usr/bin/clang-3.7+0x655359) Stack dump: 0. Program arguments: /usr/bin/clang-3.7 -cc1 -triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all -disable-free -disable-llvm-verifier -main-file-name SemaOpenMP.cpp -mrelocation-model pic -pic-level 2 -mthread-model posix -mdisable-fp-elim -fmath-errno -masm-verbose -mconstructor-aliases -munwind-tables -fuse-init-array -target-cpu x86-64 -dwarf-column-info -ffunction-sections -fdata-sections -coverage-file /home/damien/projects/llvm/build/tools/clang/lib/Sema/CMakeFiles/clangSema.dir/SemaOpenMP.cpp.o -resource-dir /usr/bin/../lib/clang/3.7.1 -dependency-file tools/clang/lib/Sema/CMakeFiles/clangSema.dir/SemaOpenMP.cpp.o.d -MT tools/clang/lib/Sema/CMakeFiles/clangSema.dir/SemaOpenMP.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 -I tools/clang/lib/Sema -I ../tools/clang/lib/Sema -I ../tools/clang/include -I tools/clang/include -I include -I ../include -internal-isystem /usr/bin/../lib64/gcc/x86_64-unknown-linux-gnu/5.3.0/../../../../include/c++/5.3.0 -internal-isystem /usr/bin/../lib64/gcc/x86_64-unknown-linux-gnu/5.3.0/../../../../include/c++/5.3.0/x86_64-unknown-linux-gnu -internal-isystem /usr/bin/../lib64/gcc/x86_64-unknown-linux-gnu/5.3.0/../../../../include/c++/5.3.0/backward -internal-isystem /usr/local/include -internal-isystem /usr/bin/../lib/clang/3.7.1/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wno-long-long -Wcovered-switch-default -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Woverloaded-virtual -Wno-nested-anon-types -pedantic -std=c++11 -fdeprecated-macro -fdebug-compilation-dir /home/damien/projects/llvm/build -ferror-limit 19 -fmessage-length 0 -fvisibility-inlines-hidden -mstackrealign -fno-rtti -fobjc-runtime=gcc -fno-common -fdiagnostics-show-option -fcolor-diagnostics -o tools/clang/lib/Sema/CMakeFiles/clangSema.dir/SemaOpenMP.cpp.o -x c++ ../tools/clang/lib/Sema/SemaOpenMP.cpp 1. <eof> parser at end of file 2. Per-file LLVM IR generation 3. ../tools/clang/include/clang/Sema/ScopeInfo.h:637:7: Generating code for declaration 'clang::sema::LambdaScopeInfo::LambdaScopeInfo' clang-3.7: error: unable to execute command: Segmentation fault (core dumped) clang-3.7: error: clang frontend command failed due to signal (use -v to see invocation) clang version 3.7.1 (tags/RELEASE_371/final) Target: x86_64-unknown-linux-gnu Thread model: posix clang-3.7: note: diagnostic msg: PLEASE submit a bug report to http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and associated run script. clang-3.7: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-3.7: note: diagnostic msg: /tmp/SemaOpenMP-e5ac2d.cpp clang-3.7: note: diagnostic msg: /tmp/SemaOpenMP-e5ac2d.sh clang-3.7: note: diagnostic msg: ******************** -- You are receiving this mail because: You are on the CC list for the bug.
_______________________________________________ llvm-bugs mailing list llvm-bugs@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs