[LLVMbugs] [Bug 21889] New: stage1 compiler crashes while building ItaniumMangle.cpp
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Fri Dec 12 01:45:28 PST 2014
http://llvm.org/bugs/show_bug.cgi?id=21889
Bug ID: 21889
Summary: stage1 compiler crashes while building
ItaniumMangle.cpp
Product: clang
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: -New Bugs
Assignee: unassignedclangbugs at nondot.org
Reporter: ismail at donmez.ws
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
>From the openSUSE x86-64 buildbot:
FAILED: /home/abuild/rpmbuild/BUILD/llvm/stage1/bin/clang++
-DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER
-DCLANG_ENABLE_STATIC_ANALYZER -D_DEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS
-D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -stdlib=libc++ -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 -Werror=date-time -std=c++11
-fcolor-diagnostics -ffunction-sections -fdata-sections -fno-common
-Woverloaded-virtual -fno-strict-aliasing -Wno-nested-anon-types -O2 -g -fPIC
-Itools/clang/lib/AST -I../tools/clang/lib/AST -I../tools/clang/include
-Itools/clang/include -Iinclude -I../include -UNDEBUG -fno-exceptions -MMD
-MT tools/clang/lib/AST/CMakeFiles/clangAST.dir/ItaniumMangle.cpp.o -MF
tools/clang/lib/AST/CMakeFiles/clangAST.dir/ItaniumMangle.cpp.o.d -o
tools/clang/lib/AST/CMakeFiles/clangAST.dir/ItaniumMangle.cpp.o -c
../tools/clang/lib/AST/ItaniumMangle.cpp
0 clang-3.6 0x0000000000d26458 llvm::sys::PrintStackTrace(_IO_FILE*) +
40
1 clang-3.6 0x0000000000d2788b
2 libpthread.so.0 0x00007f63c4ca9050
3 clang-3.6 0x0000000000ab3954 llvm::MetadataTracking::track(void*,
llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>) +
4
4 clang-3.6 0x0000000000aaa934
llvm::ReplaceableMetadataImpl::replaceAllUsesWith(llvm::Metadata*) + 564
5 clang-3.6 0x0000000000aab64e
llvm::ValueAsMetadata::handleDeletion(llvm::Value*) + 174
6 clang-3.6 0x0000000000ac0d40 llvm::Value::~Value() + 48
7 clang-3.6 0x0000000000a97839
8 clang-3.6 0x0000000000d29893 llvm::DeleteDeadBlock(llvm::BasicBlock*)
+ 211
9 clang-3.6 0x0000000000d3610c
llvm::CloneAndPruneFunctionInto(llvm::Function*, llvm::Function const*,
llvm::ValueMap<llvm::Value const*, llvm::WeakVH,
llvm::ValueMapConfig<llvm::Value const*, llvm::sys::SmartMutex<false> > >&,
bool, llvm::SmallVectorImpl<llvm::ReturnInst*>&, char const*,
llvm::ClonedCodeInfo*, llvm::DataLayout const*, llvm::Instruction*) + 6348
10 clang-3.6 0x0000000000d3d0ca llvm::InlineFunction(llvm::CallSite,
llvm::InlineFunctionInfo&, bool) + 3130
11 clang-3.6 0x0000000000aff2ab
llvm::Inliner::runOnSCC(llvm::CallGraphSCC&) + 2187
12 clang-3.6 0x000000000133b6fe
13 clang-3.6 0x0000000000aa254e
llvm::legacy::PassManagerImpl::run(llvm::Module&) + 942
14 clang-3.6 0x00000000010e5253
clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::CodeGenOptions
const&, clang::TargetOptions const&, clang::LangOptions const&,
llvm::StringRef, llvm::Module*, clang::BackendAction, llvm::raw_ostream*) +
6739
15 clang-3.6 0x00000000010d9d8d
16 clang-3.6 0x000000000138a493 clang::ParseAST(clang::Sema&, bool,
bool) + 483
17 clang-3.6 0x0000000000ea4ab9 clang::FrontendAction::Execute() + 57
18 clang-3.6 0x0000000000e7af93
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 803
19 clang-3.6 0x0000000000f1678a
clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 3242
20 clang-3.6 0x000000000066310b cc1_main(llvm::ArrayRef<char const*>,
char const*, void*) + 555
21 clang-3.6 0x000000000065f8f1 main + 1633
22 libc.so.6 0x00007f63c3efbb45 __libc_start_main + 245
23 clang-3.6 0x000000000065f17b
Stack dump:
0. Program arguments: /home/abuild/rpmbuild/BUILD/llvm/stage1/bin/clang-3.6
-cc1 -triple x86_64-suse-linux -emit-obj -disable-free -disable-llvm-verifier
-main-file-name ItaniumMangle.cpp -mrelocation-model pic -pic-level 2
-mthread-model posix -relaxed-aliasing -fmath-errno -masm-verbose
-mconstructor-aliases -munwind-tables -fuse-init-array -target-cpu x86-64
-momit-leaf-frame-pointer -g -dwarf-column-info -ffunction-sections
-fdata-sections -coverage-file
/home/abuild/rpmbuild/BUILD/llvm/stage2/tools/clang/lib/AST/CMakeFiles/clangAST.dir/ItaniumMangle.cpp.o
-resource-dir /home/abuild/rpmbuild/BUILD/llvm/stage1/bin/../lib64/clang/3.6.0
-dependency-file
tools/clang/lib/AST/CMakeFiles/clangAST.dir/ItaniumMangle.cpp.o.d -MT
tools/clang/lib/AST/CMakeFiles/clangAST.dir/ItaniumMangle.cpp.o -D
CLANG_ENABLE_ARCMT -D CLANG_ENABLE_OBJC_REWRITER -D
CLANG_ENABLE_STATIC_ANALYZER -D _DEBUG -D _GNU_SOURCE -D __STDC_CONSTANT_MACROS
-D __STDC_FORMAT_MACROS -D __STDC_LIMIT_MACROS -U NDEBUG -I tools/clang/lib/AST
-I ../tools/clang/lib/AST -I ../tools/clang/include -I tools/clang/include -I
include -I ../include -internal-isystem
/home/abuild/rpmbuild/BUILD/llvm/stage1/bin/../include/c++/v1 -internal-isystem
/usr/local/include -internal-isystem
/home/abuild/rpmbuild/BUILD/llvm/stage1/bin/../lib64/clang/3.6.0/include
-internal-externc-isystem /include -internal-externc-isystem /usr/include -O2
-Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual
-Wmissing-field-initializers -Wno-long-long -Wcovered-switch-default
-Wnon-virtual-dtor -Werror=date-time -Woverloaded-virtual
-Wno-nested-anon-types -pedantic -std=c++11 -fdeprecated-macro
-fdebug-compilation-dir /home/abuild/rpmbuild/BUILD/llvm/stage2 -ferror-limit
19 -fmessage-length 0 -fvisibility-inlines-hidden -mstackrealign
-fobjc-runtime=gcc -fno-common -fdiagnostics-show-option -fcolor-diagnostics
-vectorize-loops -vectorize-slp -o
tools/clang/lib/AST/CMakeFiles/clangAST.dir/ItaniumMangle.cpp.o -x c++
../tools/clang/lib/AST/ItaniumMangle.cpp
1. <eof> parser at end of file
2. Per-module optimization passes
3. Running pass 'CallGraph Pass Manager' on module
'../tools/clang/lib/AST/ItaniumMangle.cpp'.
clang-3.6: error: unable to execute command: Segmentation fault
clang-3.6: error: clang frontend command failed due to signal (use -v to see
invocation)
clang version 3.6.0 (trunk 224102)
Target: x86_64-suse-linux
Thread model: posix
clang-3.6: 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.6: 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.6: note: diagnostic msg: /tmp/ItaniumMangle-ae912b.cpp
clang-3.6: note: diagnostic msg: /tmp/ItaniumMangle-ae912b.sh
clang-3.6: 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/20141212/02c3f18f/attachment.html>
More information about the llvm-bugs
mailing list