[llvm-bugs] [Bug 24849] New: Parse error for boost thread with debug and femit-all-decls flags
via llvm-bugs
llvm-bugs at lists.llvm.org
Wed Sep 16 13:24:07 PDT 2015
https://llvm.org/bugs/show_bug.cgi?id=24849
Bug ID: 24849
Summary: Parse error for boost thread with debug and
femit-all-decls flags
Product: clang
Version: 3.5
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: C++
Assignee: unassignedclangbugs at nondot.org
Reporter: drago.krznaric at gmail.com
CC: dgregor at apple.com, llvm-bugs at lists.llvm.org
Classification: Unclassified
clang++-3.5 -c test.cpp -femit-all-decls -g
outputs
0 libLLVM-3.5.so.1 0x00007fd3464b3cd2 llvm::sys::PrintStackTrace(_IO_FILE*) +
34
1 libLLVM-3.5.so.1 0x00007fd3464b3ac4
2 libpthread.so.0 0x00007fd34517d340
3 libLLVM-3.5.so.1 0x00007fd345de9862 llvm::ValueHandleBase::AddToUseList() +
34
4 libLLVM-3.5.so.1 0x00007fd345dd173b llvm::MDNode::MDNode(llvm::LLVMContext&,
llvm::ArrayRef<llvm::Value*>, bool) + 171
5 libLLVM-3.5.so.1 0x00007fd345dd18d8
llvm::MDNode::getMDNode(llvm::LLVMContext&, llvm::ArrayRef<llvm::Value*>,
llvm::MDNode::FunctionLocalness, bool) + 312
6 libLLVM-3.5.so.1 0x00007fd345d237cd
llvm::DIBuilder::getOrCreateArray(llvm::ArrayRef<llvm::Value*>) + 13
7 libLLVM-3.5.so.1 0x00007fd345d23bb9 llvm::DIBuilder::finalize() + 985
8 clang 0x0000000000840984 clang::CodeGen::CGDebugInfo::finalize()
+ 612
9 clang 0x0000000000887671 clang::CodeGen::CodeGenModule::Release()
+ 417
10 clang 0x000000000082e3c1
11 clang 0x00000000009a95e3 clang::ParseAST(clang::Sema&, bool,
bool) + 483
12 clang 0x000000000082e842 clang::CodeGenAction::ExecuteAction() +
50
13 clang 0x00000000006c2d06 clang::FrontendAction::Execute() + 118
14 clang 0x00000000006a2e70
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 256
15 clang 0x000000000068dfa4
clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 1892
16 clang 0x0000000000689118 cc1_main(char const**, char const**,
char const*, void*) + 1288
17 clang 0x0000000000687a5f main + 8527
18 libc.so.6 0x00007fd3448afec5 __libc_start_main + 245
19 clang 0x0000000000687fc4
Stack dump:
0. Program arguments: /usr/lib/llvm-3.5/bin/clang -cc1 -triple
x86_64-pc-linux-gnu -emit-obj -mrelax-all -disable-free -disable-llvm-verifier
-main-file-name test.cpp -mrelocation-model static -mdisable-fp-elim
-fmath-errno -masm-verbose -mconstructor-aliases -munwind-tables
-fuse-init-array -target-cpu x86-64 -target-linker-version 2.24 -g
-dwarf-column-info -coverage-file /home/sigdkc/test.o -resource-dir
/usr/lib/llvm-3.5/bin/../lib/clang/3.5.0 -internal-isystem
/usr/bin/../lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8
-internal-isystem
/usr/bin/../lib/gcc/x86_64-linux-gnu/4.8/../../../../include/x86_64-linux-gnu/c++/4.8
-internal-isystem
/usr/bin/../lib/gcc/x86_64-linux-gnu/4.8/../../../../include/x86_64-linux-gnu/c++/4.8
-internal-isystem
/usr/bin/../lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/backward
-internal-isystem /usr/local/include -internal-isystem
/usr/lib/llvm-3.5/bin/../lib/clang/3.5.0/include -internal-externc-isystem
/usr/bin/../lib/gcc/x86_64-linux-gnu/4.8/include -internal-externc-isystem
/usr/include/x86_64-linux-gnu -internal-externc-isystem /include
-internal-externc-isystem /usr/include -fdeprecated-macro
-fdebug-compilation-dir /home/sigdkc -ferror-limit 19 -fmessage-length 124
-femit-all-decls -mstackrealign -fobjc-runtime=gcc -fcxx-exceptions
-fexceptions -fdiagnostics-show-option -fcolor-diagnostics -o test.o -x c++
test.cpp
1. <eof> parser at end of file
2. Per-file LLVM IR generation
clang: error: unable to execute command: Segmentation fault
clang: error: clang frontend command failed due to signal (use -v to see
invocation)
Ubuntu clang version 3.5.0-4ubuntu2~trusty2 (tags/RELEASE_350/final) (based on
LLVM 3.5.0)
Target: x86_64-pc-linux-gnu
Thread model: posix
clang: note: diagnostic msg: PLEASE submit a bug report to
http://bugs.debian.org/ 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: /tmp/test-62957c.cpp
clang: note: diagnostic msg: /tmp/test-62957c.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/20150916/d2ff3746/attachment.html>
More information about the llvm-bugs
mailing list