<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: error: unable to execute command: Segmentation fault"
href="http://llvm.org/bugs/show_bug.cgi?id=16076">16076</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>clang: error: unable to execute command: Segmentation fault
</td>
</tr>
<tr>
<th>Product</th>
<td>clang
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</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>LLVM Codegen
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedclangbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>tim@mr-dog.net
</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=10548" name="attach_10548" title="Preprocessed source(s)">attachment 10548</a> <a href="attachment.cgi?id=10548&action=edit" title="Preprocessed source(s)">[details]</a></span>
Preprocessed source(s)
Whilst building trunk r182306 with svn:externals set to:
tools/clang <a href="http://llvm.org/svn/llvm-project/cfe/trunk">http://llvm.org/svn/llvm-project/cfe/trunk</a>
tools/clang/tools/extra
<a href="http://llvm.org/svn/llvm-project/clang-tools-extra/trunk">http://llvm.org/svn/llvm-project/clang-tools-extra/trunk</a>
projects/compiler-rt <a href="http://llvm.org/svn/llvm-project/compiler-rt/trunk">http://llvm.org/svn/llvm-project/compiler-rt/trunk</a>
I got this:
make[5]: Entering directory `/mnt.ssd/apps/src/llvm.svn/projects/compiler-rt'
COMPILE: clang_linux/full-i386/i386:
/mnt.ssd/apps/src/llvm.svn/projects/compiler-rt/lib/adddf3.c
0 clang 0x0000000001e1fcf2 llvm::sys::PrintStackTrace(_IO_FILE*) +
34
1 clang 0x0000000001e1f949
2 libpthread.so.0 0x00002aaaaacdfbd0
3 clang 0x0000000001b19467
4 clang 0x0000000001dd60e7
5 clang 0x0000000001dd6e44
6 clang 0x0000000001db43af
llvm::FPPassManager::runOnFunction(llvm::Function&) + 639
7 clang 0x0000000001db43fb
llvm::FPPassManager::runOnModule(llvm::Module&) + 43
8 clang 0x0000000001db404f
llvm::MPPassManager::runOnModule(llvm::Module&) + 655
9 clang 0x0000000001db537f llvm::PassManagerImpl::run(llvm::Module&)
+ 223
10 clang 0x00000000007f5c94
clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::CodeGenOptions
const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::Module*,
clang::BackendAction, llvm::raw_ostream*) + 3604
11 clang 0x00000000007f381f
12 clang 0x0000000000973c72 clang::ParseAST(clang::Sema&, bool, bool)
+ 514
13 clang 0x00000000007f2691 clang::CodeGenAction::ExecuteAction() +
97
14 clang 0x0000000000662679 clang::FrontendAction::Execute() + 265
15 clang 0x0000000000642e45
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 357
16 clang 0x000000000062a242
clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 1858
17 clang 0x0000000000621c18 cc1_main(char const**, char const**, char
const*, void*) + 920
18 clang 0x000000000062947e main + 4974
19 libc.so.6 0x00002aaaab930ea5 __libc_start_main + 245
20 clang 0x0000000000620b89
Stack dump:
0. Program arguments: /mnt.ssd/apps/src/llvm.svn/Release+Asserts/bin/clang
-cc1 -triple i386-unknown-linux-gnu -emit-obj -disable-free -main-file-name
adddf3.c -mrelocation-model pic -pic-level 2 -fmath-errno -masm-verbose
-mconstructor-aliases -fuse-init-array -target-cpu pentium4
-target-linker-version 2.23.2 -momit-leaf-frame-pointer -coverage-file
/mnt.ssd/apps/src/llvm.svn/tools/clang/runtime/compiler-rt/clang_linux/full-i386/i386/SubDir.lib/adddf3.o
-resource-dir /mnt.ssd/apps/src/llvm.svn/Release+Asserts/bin/../lib/clang/3.4
-isysroot /mnt.ssd/apps/src/llvm.svn/projects/compiler-rt/SDKs/linux
-internal-isystem
/mnt.ssd/apps/src/llvm.svn/projects/compiler-rt/SDKs/linux/usr/local/include
-internal-isystem
/mnt.ssd/apps/src/llvm.svn/Release+Asserts/bin/../lib/clang/3.4/include
-internal-externc-isystem
/mnt.ssd/apps/src/llvm.svn/projects/compiler-rt/SDKs/linux/include
-internal-externc-isystem
/mnt.ssd/apps/src/llvm.svn/projects/compiler-rt/SDKs/linux/usr/include -O3
-Wall -Werror -fdebug-compilation-dir
/mnt.ssd/apps/src/llvm.svn/projects/compiler-rt -ferror-limit 19
-fmessage-length 162 -mstackrealign -fobjc-runtime=gcc
-fobjc-default-synthesize-properties -fdiagnostics-show-option
-fcolor-diagnostics -backend-option -vectorize-loops -o
/mnt.ssd/apps/src/llvm.svn/tools/clang/runtime/compiler-rt/clang_linux/full-i386/i386/SubDir.lib/adddf3.o
-x c /mnt.ssd/apps/src/llvm.svn/projects/compiler-rt/lib/adddf3.c
1. <eof> parser at end of file
2. Code generation
3. Running pass 'Function Pass Manager' on module
'/mnt.ssd/apps/src/llvm.svn/projects/compiler-rt/lib/adddf3.c'.
4. Running pass 'Module Verifier' on function '@__adddf3'
clang: error: unable to execute command: Segmentation fault (core dumped)
clang: error: clang frontend command failed due to signal (use -v to see
invocation)
clang version 3.4 (trunk 182306)
Target: i386-unknown-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/adddf3-4Xwlzi.c
clang: note: diagnostic msg: /tmp/adddf3-4Xwlzi.sh
clang: note: diagnostic msg:
********************
make[5]: ***
[/mnt.ssd/apps/src/llvm.svn/tools/clang/runtime/compiler-rt/clang_linux/full-i386/i386/SubDir.lib/adddf3.o]
Error 254
make[5]: Leaving directory `/mnt.ssd/apps/src/llvm.svn/projects/compiler-rt'
make[4]: *** [BuildRuntimeLibraries] Error 2
make[4]: Leaving directory
`/mnt.ssd/apps/src/llvm.svn/tools/clang/runtime/compiler-rt'
make[3]: *** [compiler-rt/.makeall] Error 2
make[3]: Leaving directory `/mnt.ssd/apps/src/llvm.svn/tools/clang/runtime'
make[2]: *** [all] Error 1
make[2]: Leaving directory `/mnt.ssd/apps/src/llvm.svn/tools/clang'
make[1]: *** [clang/.makeall] Error 2
make[1]: Leaving directory `/mnt.ssd/apps/src/llvm.svn/tools'</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>