<html>
<head>
<base href="http://llvm.org/bugs/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Clang crash when compiling a simple C++ program"
href="http://llvm.org/bugs/show_bug.cgi?id=15682">15682</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Clang crash when compiling a simple C++ program
</td>
</tr>
<tr>
<th>Product</th>
<td>libraries
</td>
</tr>
<tr>
<th>Version</th>
<td>3.2
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>Common Code Generator Code
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>kan.liu.229@gmail.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvmbugs@cs.uiuc.edu
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=10296" name="attach_10296" title="diagnostic msg">attachment 10296</a> <a href="attachment.cgi?id=10296&action=edit" title="diagnostic msg">[details]</a></span>
diagnostic msg
****************************The source code*******************************
#include <cstdio>
void merge(int* array, int* tmparray, int left, int center, int right) {
int pos, lpos = left, rpos=center + 1;
for (pos = left; pos < right; pos++) {
if (lpos <= center && (rpos > right || array[lpos] < array[rpos])) {
tmparray[pos] = array[lpos++];
} else {
tmparray[pos] = array[rpos++];
}
}
for (int i = left; i <= right; i++) {
array[i] = tmparray[i];
}
}
void m_sort(int* array, int* tmparray, int left, int right) {
if (left < right) {
int center = (right - left) / 2 + left;
m_sort(array, tmparray, left, center);
m_sort(array, tmparray, center + 1, right);
merge(array, tmparray, left, center, right);
}
}
void merge_sort(int* array, size_t size) {
if (size <= 1)
return ;
int *tmparray = new int[size];
m_sort(array, tmparray, 0, size - 1);
delete[] tmparray;
}
int main() {
int tt[] = {1, 10, 4, 2, 6, 6, 10, 0};
merge_sort(tt, sizeof(tt));
for (int i = 0; i < sizeof(tt); i++)
printf("%d ", tt[i]);
return 0;
}
**************************** Result *******************************
lk@lk-laptop:~$ clang++ test.cpp
0 libLLVM-3.2.so.1 0x00007f08d59ae00f
1 libLLVM-3.2.so.1 0x00007f08d59ae5d1
2 libpthread.so.0 0x00007f08d49ffcb0
3 libLLVM-3.2.so.1 0x00007f08d58182f9
llvm::FastISel::getRegForValue(llvm::Value const*) + 41
4 libLLVM-3.2.so.1 0x00007f08d5a9a976
5 libLLVM-3.2.so.1 0x00007f08d581c1a8
llvm::FastISel::SelectInstruction(llvm::Instruction const*) + 216
6 libLLVM-3.2.so.1 0x00007f08d5938cac
llvm::SelectionDAGISel::SelectAllBasicBlocks(llvm::Function const&) + 1196
7 libLLVM-3.2.so.1 0x00007f08d5939ee8
llvm::SelectionDAGISel::runOnMachineFunction(llvm::MachineFunction&) + 680
8 libLLVM-3.2.so.1 0x00007f08d53d72f5
llvm::FPPassManager::runOnFunction(llvm::Function&) + 501
9 libLLVM-3.2.so.1 0x00007f08d53d7393
llvm::FPPassManager::runOnModule(llvm::Module&) + 51
10 libLLVM-3.2.so.1 0x00007f08d53d6fa9
llvm::MPPassManager::runOnModule(llvm::Module&) + 457
11 libLLVM-3.2.so.1 0x00007f08d53d70bf
llvm::PassManagerImpl::run(llvm::Module&) + 111
12 clang 0x000000000071312a
clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::CodeGenOptions
const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::Module*,
clang::BackendAction, llvm::raw_ostream*) + 4618
13 clang 0x0000000000710ab0
14 clang 0x000000000085221e clang::ParseAST(clang::Sema&, bool,
bool) + 382
15 clang 0x00000000005e3501 clang::FrontendAction::Execute() + 97
16 clang 0x00000000005c593d
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 285
17 clang 0x00000000005ae49a
clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 1338
18 clang 0x00000000005a7fb0 cc1_main(char const**, char const**,
char const*, void*) + 1168
19 clang 0x00000000005a69c0 main + 672
20 libc.so.6 0x00007f08d413c76d __libc_start_main + 237
21 clang 0x00000000005a79d9
Stack dump:
0. Program arguments: /usr/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 -target-cpu x86-64 -target-linker-version
2.22 -momit-leaf-frame-pointer -resource-dir /usr/bin/../lib/clang/3.2
-fmodule-cache-path /var/tmp/clang-module-cache -internal-isystem
/usr/bin/../lib/gcc/x86_64-linux-gnu/4.6/../../../../include/c++/4.6
-internal-isystem
/usr/bin/../lib/gcc/x86_64-linux-gnu/4.6/../../../../include/c++/4.6/x86_64-linux-gnu
-internal-isystem
/usr/bin/../lib/gcc/x86_64-linux-gnu/4.6/../../../../include/c++/4.6/backward
-internal-isystem
/usr/bin/../lib/gcc/x86_64-linux-gnu/4.6/../../../../include/c++
-internal-isystem
/usr/bin/../lib/gcc/x86_64-linux-gnu/4.6/../../../../include/c++/x86_64-linux-gnu
-internal-isystem
/usr/bin/../lib/gcc/x86_64-linux-gnu/4.6/../../../../include/c++/backward
-internal-isystem /usr/local/include -internal-isystem
/usr/bin/../lib/clang/3.2/include -internal-isystem
/usr/include/clang/3.2/include/ -internal-externc-isystem
/usr/include/x86_64-linux-gnu -internal-externc-isystem
/usr/include/x86_64-linux-gnu -internal-externc-isystem /usr/include
-fdeprecated-macro -fdebug-compilation-dir /home/lk -ferror-limit 19
-fmessage-length 80 -mstackrealign -fobjc-runtime=gcc -fcxx-exceptions
-fexceptions -fdiagnostics-show-option -fcolor-diagnostics -o
/tmp/test-BtMMsu.o -x c++ test.cpp
1. <eof> parser at end of file
2. Code generation
3. Running pass 'Function Pass Manager' on module 'test.cpp'.
4. Running pass 'X86 DAG->DAG Instruction Selection' on function
'@_Z10merge_sortPim'
clang: error: unable to execute command: Segmentation fault (core dumped)
clang: error: clang frontend command failed due to signal (use -v to see
invocation)
Ubuntu clang version 3.2-1~exp5ubuntu1~precise1 (tags/RELEASE_32/final) (based
on LLVM 3.2)
Target: x86_64-pc-linux-gnu
Thread model: posix
clang: note: diagnostic msg: PLEASE submit a bug report to
<a href="http://llvm.org/bugs/">http://llvm.org/bugs/</a> 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-L9gloJ.cpp
clang: note: diagnostic msg: /tmp/test-L9gloJ.sh
clang: note: diagnostic msg:
********************
lk@lk-laptop:~$ clang tes
tesseract-android-tools/ test.cpp
lk@lk-laptop:~$ clang test.cpp
0 libLLVM-3.2.so.1 0x00007f483550b00f
1 libLLVM-3.2.so.1 0x00007f483550b5d1
2 libpthread.so.0 0x00007f483455ccb0
3 libLLVM-3.2.so.1 0x00007f48353752f9
llvm::FastISel::getRegForValue(llvm::Value const*) + 41
4 libLLVM-3.2.so.1 0x00007f48355f7976
5 libLLVM-3.2.so.1 0x00007f48353791a8
llvm::FastISel::SelectInstruction(llvm::Instruction const*) + 216
6 libLLVM-3.2.so.1 0x00007f4835495cac
llvm::SelectionDAGISel::SelectAllBasicBlocks(llvm::Function const&) + 1196
7 libLLVM-3.2.so.1 0x00007f4835496ee8
llvm::SelectionDAGISel::runOnMachineFunction(llvm::MachineFunction&) + 680
8 libLLVM-3.2.so.1 0x00007f4834f342f5
llvm::FPPassManager::runOnFunction(llvm::Function&) + 501
9 libLLVM-3.2.so.1 0x00007f4834f34393
llvm::FPPassManager::runOnModule(llvm::Module&) + 51
10 libLLVM-3.2.so.1 0x00007f4834f33fa9
llvm::MPPassManager::runOnModule(llvm::Module&) + 457
11 libLLVM-3.2.so.1 0x00007f4834f340bf
llvm::PassManagerImpl::run(llvm::Module&) + 111
12 clang 0x000000000071312a
clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::CodeGenOptions
const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::Module*,
clang::BackendAction, llvm::raw_ostream*) + 4618
13 clang 0x0000000000710ab0
14 clang 0x000000000085221e clang::ParseAST(clang::Sema&, bool,
bool) + 382
15 clang 0x00000000005e3501 clang::FrontendAction::Execute() + 97
16 clang 0x00000000005c593d
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 285
17 clang 0x00000000005ae49a
clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 1338
18 clang 0x00000000005a7fb0 cc1_main(char const**, char const**,
char const*, void*) + 1168
19 clang 0x00000000005a69c0 main + 672
20 libc.so.6 0x00007f4833c9976d __libc_start_main + 237
21 clang 0x00000000005a79d9
Stack dump:
0. Program arguments: /usr/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 -target-cpu x86-64 -target-linker-version
2.22 -momit-leaf-frame-pointer -resource-dir /usr/bin/../lib/clang/3.2
-fmodule-cache-path /var/tmp/clang-module-cache -internal-isystem
/usr/bin/../lib/gcc/x86_64-linux-gnu/4.6/../../../../include/c++/4.6
-internal-isystem
/usr/bin/../lib/gcc/x86_64-linux-gnu/4.6/../../../../include/c++/4.6/x86_64-linux-gnu
-internal-isystem
/usr/bin/../lib/gcc/x86_64-linux-gnu/4.6/../../../../include/c++/4.6/backward
-internal-isystem
/usr/bin/../lib/gcc/x86_64-linux-gnu/4.6/../../../../include/c++
-internal-isystem
/usr/bin/../lib/gcc/x86_64-linux-gnu/4.6/../../../../include/c++/x86_64-linux-gnu
-internal-isystem
/usr/bin/../lib/gcc/x86_64-linux-gnu/4.6/../../../../include/c++/backward
-internal-isystem /usr/local/include -internal-isystem
/usr/bin/../lib/clang/3.2/include -internal-isystem
/usr/include/clang/3.2/include/ -internal-externc-isystem
/usr/include/x86_64-linux-gnu -internal-externc-isystem
/usr/include/x86_64-linux-gnu -internal-externc-isystem /usr/include
-fdeprecated-macro -fdebug-compilation-dir /home/lk -ferror-limit 19
-fmessage-length 80 -mstackrealign -fobjc-runtime=gcc -fcxx-exceptions
-fexceptions -fdiagnostics-show-option -fcolor-diagnostics -o
/tmp/test-2X7dZs.o -x c++ test.cpp
1. <eof> parser at end of file
2. Code generation
3. Running pass 'Function Pass Manager' on module 'test.cpp'.
4. Running pass 'X86 DAG->DAG Instruction Selection' on function
'@_Z10merge_sortPim'
clang: error: unable to execute command: Segmentation fault (core dumped)
clang: error: clang frontend command failed due to signal (use -v to see
invocation)
Ubuntu clang version 3.2-1~exp5ubuntu1~precise1 (tags/RELEASE_32/final) (based
on LLVM 3.2)
Target: x86_64-pc-linux-gnu
Thread model: posix
clang: note: diagnostic msg: PLEASE submit a bug report to
<a href="http://llvm.org/bugs/">http://llvm.org/bugs/</a> 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-IlGsSE.cpp
clang: note: diagnostic msg: /tmp/test-IlGsSE.sh
clang: note: diagnostic msg:
********************
lk@lk-laptop:~$ ls
20080408145541789.jpg miniSQL
98ATautocomplete node
addyosmani-backbonejs-gallery-a3f51f7 node_modules
android nodepad
android-ndk-r8b NVIDIA_CUDA-5.0_Samples
android-sdk-linux output4.jpeg
ants output5.jpeg
AntsGame output6.jpeg
%APPDATA% patpat
Bespin Transparent Blur.bespin python
builddir Qt5.0.1
cc racket
cloudcity setup
cmpt379 square.cu
cmpt470 Sublime Text 2
cpp tesseract-android-tools
cs344 test.cpp
cuda-5.0 thawte.pem
cuda_5.0.35_linux_64_ubuntu11.10-1.run tmp
eclipse vim_works
fixit reader vuforia-sdk-android-2-0-31
glass.despin wps-office_8.1.0.3718~b1_x86
hs_err_pid7048.log 下载
images.jpg 公共的
jpeg-encoder 图片
Jpeg_essential 文档
Jpeg_essential_build 桌面
Jpeg_essential_release 模板
js 视频
koala-contactlist 音乐
mezzofanti_java
lk@lk-laptop:~$ cd miniSQL/
lk@lk-laptop:~/miniSQL$ ls
bplustree.cpp logger.cpp nfa.cpp README.md scanner.hpp test
bplustree.hpp logger.hpp nfa.hpp scanner.cpp tags token.hpp
lk@lk-laptop:~/miniSQL$ clang++ logger.
clang: error: no such file or directory: 'logger.'
clang: error: no input files
lk@lk-laptop:~/miniSQL$ clang++ logger.cpp
logger.cpp:9:3: warning: 'auto' type specifier is a C++11 extension
[-Wc++11-extensions]
auto it = loggers.find(name);
^
logger.cpp:33:8: warning: 'auto' type specifier is a C++11 extension
[-Wc++11-extensions]
for (auto i = loggers.begin(); i != loggers.end(); i++)
^
2 warnings generated.
/usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info):
relocation 0 has invalid symbol index 10
/usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info):
relocation 1 has invalid symbol index 11
/usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info):
relocation 2 has invalid symbol index 2
/usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info):
relocation 3 has invalid symbol index 2
/usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info):
relocation 4 has invalid symbol index 10
/usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info):
relocation 5 has invalid symbol index 12
/usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info):
relocation 6 has invalid symbol index 12
/usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info):
relocation 7 has invalid symbol index 12
/usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info):
relocation 8 has invalid symbol index 2
/usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info):
relocation 9 has invalid symbol index 2
/usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info):
relocation 10 has invalid symbol index 11
/usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info):
relocation 11 has invalid symbol index 12
/usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info):
relocation 12 has invalid symbol index 12
/usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info):
relocation 13 has invalid symbol index 12
/usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info):
relocation 14 has invalid symbol index 12
/usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info):
relocation 15 has invalid symbol index 12
/usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info):
relocation 16 has invalid symbol index 12
/usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info):
relocation 17 has invalid symbol index 12
/usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info):
relocation 18 has invalid symbol index 12
/usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info):
relocation 19 has invalid symbol index 12
/usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info):
relocation 20 has invalid symbol index 19
/usr/bin/../lib/gcc/x86_64-linux-gnu/4.6/../../../x86_64-linux-gnu/crt1.o: In
function `_start':
(.text+0x20): undefined reference to `main'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
lk@lk-laptop:~/miniSQL$ cd ..
lk@lk-laptop:~$ clang++ test.cpp
0 libLLVM-3.2.so.1 0x00007fe971ca500f
1 libLLVM-3.2.so.1 0x00007fe971ca55d1
2 libpthread.so.0 0x00007fe970cf6cb0
3 libLLVM-3.2.so.1 0x00007fe971b0f2f9
llvm::FastISel::getRegForValue(llvm::Value const*) + 41
4 libLLVM-3.2.so.1 0x00007fe971d91976
5 libLLVM-3.2.so.1 0x00007fe971b131a8
llvm::FastISel::SelectInstruction(llvm::Instruction const*) + 216
6 libLLVM-3.2.so.1 0x00007fe971c2fcac
llvm::SelectionDAGISel::SelectAllBasicBlocks(llvm::Function const&) + 1196
7 libLLVM-3.2.so.1 0x00007fe971c30ee8
llvm::SelectionDAGISel::runOnMachineFunction(llvm::MachineFunction&) + 680
8 libLLVM-3.2.so.1 0x00007fe9716ce2f5
llvm::FPPassManager::runOnFunction(llvm::Function&) + 501
9 libLLVM-3.2.so.1 0x00007fe9716ce393
llvm::FPPassManager::runOnModule(llvm::Module&) + 51
10 libLLVM-3.2.so.1 0x00007fe9716cdfa9
llvm::MPPassManager::runOnModule(llvm::Module&) + 457
11 libLLVM-3.2.so.1 0x00007fe9716ce0bf
llvm::PassManagerImpl::run(llvm::Module&) + 111
12 clang 0x000000000071312a
clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::CodeGenOptions
const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::Module*,
clang::BackendAction, llvm::raw_ostream*) + 4618
13 clang 0x0000000000710ab0
14 clang 0x000000000085221e clang::ParseAST(clang::Sema&, bool,
bool) + 382
15 clang 0x00000000005e3501 clang::FrontendAction::Execute() + 97
16 clang 0x00000000005c593d
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 285
17 clang 0x00000000005ae49a
clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 1338
18 clang 0x00000000005a7fb0 cc1_main(char const**, char const**,
char const*, void*) + 1168
19 clang 0x00000000005a69c0 main + 672
20 libc.so.6 0x00007fe97043376d __libc_start_main + 237
21 clang 0x00000000005a79d9
Stack dump:
0. Program arguments: /usr/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 -target-cpu x86-64 -target-linker-version
2.22 -momit-leaf-frame-pointer -resource-dir /usr/bin/../lib/clang/3.2
-fmodule-cache-path /var/tmp/clang-module-cache -internal-isystem
/usr/bin/../lib/gcc/x86_64-linux-gnu/4.6/../../../../include/c++/4.6
-internal-isystem
/usr/bin/../lib/gcc/x86_64-linux-gnu/4.6/../../../../include/c++/4.6/x86_64-linux-gnu
-internal-isystem
/usr/bin/../lib/gcc/x86_64-linux-gnu/4.6/../../../../include/c++/4.6/backward
-internal-isystem
/usr/bin/../lib/gcc/x86_64-linux-gnu/4.6/../../../../include/c++
-internal-isystem
/usr/bin/../lib/gcc/x86_64-linux-gnu/4.6/../../../../include/c++/x86_64-linux-gnu
-internal-isystem
/usr/bin/../lib/gcc/x86_64-linux-gnu/4.6/../../../../include/c++/backward
-internal-isystem /usr/local/include -internal-isystem
/usr/bin/../lib/clang/3.2/include -internal-isystem
/usr/include/clang/3.2/include/ -internal-externc-isystem
/usr/include/x86_64-linux-gnu -internal-externc-isystem
/usr/include/x86_64-linux-gnu -internal-externc-isystem /usr/include
-fdeprecated-macro -fdebug-compilation-dir /home/lk -ferror-limit 19
-fmessage-length 80 -mstackrealign -fobjc-runtime=gcc -fcxx-exceptions
-fexceptions -fdiagnostics-show-option -fcolor-diagnostics -o
/tmp/test-jGN2uR.o -x c++ test.cpp
1. <eof> parser at end of file
2. Code generation
3. Running pass 'Function Pass Manager' on module 'test.cpp'.
4. Running pass 'X86 DAG->DAG Instruction Selection' on function
'@_Z10merge_sortPim'
clang: error: unable to execute command: Segmentation fault (core dumped)
clang: error: clang frontend command failed due to signal (use -v to see
invocation)
Ubuntu clang version 3.2-1~exp5ubuntu1~precise1 (tags/RELEASE_32/final) (based
on LLVM 3.2)
Target: x86_64-pc-linux-gnu
Thread model: posix
clang: note: diagnostic msg: PLEASE submit a bug report to
<a href="http://llvm.org/bugs/">http://llvm.org/bugs/</a> 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-UD9iFl.cpp
clang: note: diagnostic msg: /tmp/test-UD9iFl.sh
clang: note: diagnostic msg:
********************</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>