<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=19097">19097</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>clang: error: unable to execute command: Segmentation fault
</td>
</tr>
<tr>
<th>Product</th>
<td>compiler-rt
</td>
</tr>
<tr>
<th>Version</th>
<td>3.4
</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>compiler-rt
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>albert.saa@uab.cat
</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=12207" name="attach_12207" title="preprocessed source">attachment 12207</a> <a href="attachment.cgi?id=12207&action=edit" title="preprocessed source">[details]</a></span>
preprocessed source
make[4]: Entering directory `/home/asaa/build/tools/clang/runtime/compiler-rt'
warning: clang_darwin.mk: dropping arch 'i386' from lib 'eprintf' (clang does
not support it)
warning: clang_darwin.mk: dropping arch 'i386' from lib '10.4' (clang does not
support it)
warning: clang_darwin.mk: dropping arch 'x86_64' from lib '10.4' (clang does
not support it)
warning: clang_darwin.mk: dropping arch 'i386' from lib 'ios' (clang does not
support it)
warning: clang_darwin.mk: dropping arch 'x86_64' from lib 'ios' (clang does not
support it)
warning: clang_darwin.mk: dropping arch 'x86_64h' from lib 'ios' (clang does
not support it)
warning: clang_darwin.mk: dropping arch 'armv7' from lib 'ios' (clang does not
support it)
warning: clang_darwin.mk: dropping arch 'i386' from lib 'osx' (clang does not
support it)
warning: clang_darwin.mk: dropping arch 'x86_64' from lib 'osx' (clang does not
support it)
warning: clang_darwin.mk: dropping arch 'x86_64h' from lib 'osx' (clang does
not support it)
warning: clang_darwin.mk: dropping arch 'armv7' from lib 'cc_kext' (clang does
not support it)
warning: clang_darwin.mk: dropping arch 'i386' from lib 'cc_kext' (clang does
not support it)
warning: clang_darwin.mk: dropping arch 'x86_64' from lib 'cc_kext' (clang does
not support it)
warning: clang_darwin.mk: dropping arch 'x86_64h' from lib 'cc_kext' (clang
does not support it)
warning: clang_darwin.mk: dropping arch 'x86_64' from lib 'cc_kext_ios5' (clang
does not support it)
warning: clang_darwin.mk: dropping arch 'x86_64h' from lib 'cc_kext_ios5'
(clang does not support it)
warning: clang_darwin.mk: dropping arch 'armv7' from lib 'cc_kext_ios5' (clang
does not support it)
warning: clang_darwin.mk: dropping arch 'i386' from lib 'profile_osx' (clang
does not support it)
warning: clang_darwin.mk: dropping arch 'x86_64' from lib 'profile_osx' (clang
does not support it)
warning: clang_darwin.mk: dropping arch 'x86_64h' from lib 'profile_osx' (clang
does not support it)
warning: clang_darwin.mk: dropping arch 'i386' from lib 'profile_ios' (clang
does not support it)
warning: clang_darwin.mk: dropping arch 'x86_64' from lib 'profile_ios' (clang
does not support it)
warning: clang_darwin.mk: dropping arch 'x86_64h' from lib 'profile_ios' (clang
does not support it)
warning: clang_darwin.mk: dropping arch 'armv7' from lib 'profile_ios' (clang
does not support it)
warning: clang_darwin.mk: dropping arch 'i386' from lib 'asan_osx_dynamic'
(clang does not support it)
warning: clang_darwin.mk: dropping arch 'x86_64' from lib 'asan_osx_dynamic'
(clang does not support it)
warning: clang_darwin.mk: dropping arch 'x86_64h' from lib 'asan_osx_dynamic'
(clang does not support it)
warning: clang_darwin.mk: dropping arch 'i386' from lib 'ubsan_osx' (clang does
not support it)
warning: clang_darwin.mk: dropping arch 'x86_64' from lib 'ubsan_osx' (clang
does not support it)
warning: clang_darwin.mk: dropping arch 'x86_64h' from lib 'ubsan_osx' (clang
does not support it)
make[5]: Entering directory `/home/asaa/llvm/projects/compiler-rt'
COMPILE: clang_linux/full-x86_64/x86_64:
/home/asaa/llvm/projects/compiler-rt/lib/builtins/absvdi2.c
0 clang 0x000000000370ef5c llvm::sys::PrintStackTrace(_IO_FILE*) +
38
1 clang 0x000000000370f1e3
2 clang 0x000000000370eb6c
3 libpthread.so.0 0x00002b89169c3cb0
4 clang 0x0000000002238056
clang::Decl::getAvailability(std::string*) const + 154
5 clang 0x000000000154515c
6 clang 0x0000000001545c6f
clang::Sema::DiagnoseUseOfDecl(clang::NamedDecl*, clang::SourceLocation,
clang::ObjCInterfaceDecl const*) + 879
7 clang 0x0000000001420e44
clang::Sema::getTypeName(clang::IdentifierInfo const&, clang::SourceLocation,
clang::Scope*, clang::CXXScopeSpec*, bool, bool,
clang::OpaquePtr<clang::QualType>, bool, bool, clang::IdentifierInfo**) + 3004
8 clang 0x00000000012f83ac
clang::Parser::ParseDeclarationSpecifiers(clang::DeclSpec&,
clang::Parser::ParsedTemplateInfo const&, clang::AccessSpecifier,
clang::Parser::DeclSpecContext, clang::Parser::LateParsedAttrList*) + 3922
9 clang 0x00000000012f381b
clang::Parser::ParseSimpleDeclaration(llvm::SmallVector<clang::Stmt*, 32u>&,
unsigned int, clang::SourceLocation&,
clang::Parser::ParsedAttributesWithRange&, bool, clang::Parser::ForRangeInit*)
+ 199
10 clang 0x00000000012f370c
clang::Parser::ParseDeclaration(llvm::SmallVector<clang::Stmt*, 32u>&, unsigned
int, clang::SourceLocation&, clang::Parser::ParsedAttributesWithRange&) + 668
11 clang 0x00000000012e17cb
clang::Parser::ParseExternalDeclaration(clang::Parser::ParsedAttributesWithRange&,
clang::ParsingDeclSpec*) + 1751
12 clang 0x00000000012e10aa
clang::Parser::ParseTopLevelDecl(clang::OpaquePtr<clang::DeclGroupRef>&) + 538
13 clang 0x00000000012dab66 clang::ParseAST(clang::Sema&, bool, bool)
+ 606
14 clang 0x0000000000e2eab9 clang::ASTFrontendAction::ExecuteAction()
+ 321
15 clang 0x00000000010b744e clang::CodeGenAction::ExecuteAction() +
1570
16 clang 0x0000000000e2e5e8 clang::FrontendAction::Execute() + 200
17 clang 0x0000000000dffec6
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 720
18 clang 0x0000000000dc993e
clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 1012
19 clang 0x0000000000dbad65 cc1_main(char const**, char const**, char
const*, void*) + 717
20 clang 0x0000000000dc5311 main + 813
21 libc.so.6 0x00002b891760e76d __libc_start_main + 237
22 clang 0x0000000000db93c9
Stack dump:
0. Program arguments: /home/asaa/build/Debug+Asserts/bin/clang -cc1 -triple
x86_64-unknown-linux-gnu -emit-obj -disable-free -main-file-name absvdi2.c
-mrelocation-model pic -pic-level 2 -fmath-errno -masm-verbose
-mconstructor-aliases -munwind-tables -target-cpu x86-64 -target-linker-version
2.22 -momit-leaf-frame-pointer -coverage-file
/home/asaa/build/tools/clang/runtime/compiler-rt/clang_linux/full-x86_64/x86_64/SubDir.lib__builtins/absvdi2.o
-resource-dir /home/asaa/build/Debug+Asserts/bin/../lib/clang/3.5.0 -I
/home/asaa/llvm/projects/compiler-rt/lib -I
/home/asaa/llvm/projects/compiler-rt/include -isysroot
/home/asaa/llvm/projects/compiler-rt/SDKs/linux -internal-isystem
/home/asaa/llvm/projects/compiler-rt/SDKs/linux/usr/local/include
-internal-isystem /home/asaa/build/Debug+Asserts/bin/../lib/clang/3.5.0/include
-internal-externc-isystem
/home/asaa/llvm/projects/compiler-rt/SDKs/linux/include
-internal-externc-isystem
/home/asaa/llvm/projects/compiler-rt/SDKs/linux/usr/include -O3 -Wall -Werror
-fdebug-compilation-dir /home/asaa/llvm/projects/compiler-rt -ferror-limit 19
-fmessage-length 80 -mstackrealign -fobjc-runtime=gcc -fdiagnostics-show-option
-vectorize-loops -vectorize-slp -o
/home/asaa/build/tools/clang/runtime/compiler-rt/clang_linux/full-x86_64/x86_64/SubDir.lib__builtins/absvdi2.o
-x c /home/asaa/llvm/projects/compiler-rt/lib/builtins/absvdi2.c
1.
/home/asaa/build/Debug+Asserts/bin/../lib/clang/3.5.0/include/stdint.h:121:9
<Spelling=/home/asaa/build/Debug+Asserts/bin/../lib/clang/3.5.0/include/stdint.h:110:26>:
current parser token 'int64_t'
clang: error: unable to execute command: Segmentation fault
clang: error: clang frontend command failed due to signal (use -v to see
invocation)
clang version 3.5.0 (trunk 203236)
Target: x86_64-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/absvdi2-7f262e.c
clang: note: diagnostic msg: /tmp/absvdi2-7f262e.sh
clang: note: diagnostic msg:
********************
make[5]: ***
[/home/asaa/build/tools/clang/runtime/compiler-rt/clang_linux/full-x86_64/x86_64/SubDir.lib__builtins/absvdi2.o]
Error 254
make[5]: Leaving directory `/home/asaa/llvm/projects/compiler-rt'
make[4]: *** [BuildRuntimeLibraries] Error 2
make[4]: Leaving directory `/home/asaa/build/tools/clang/runtime/compiler-rt'
make[3]: *** [compiler-rt/.makeall] Error 2
make[3]: Leaving directory `/home/asaa/build/tools/clang/runtime'
make[2]: *** [all] Error 1
make[2]: Leaving directory `/home/asaa/build/tools/clang'
make[1]: *** [clang/.makeall] Error 2
make[1]: Leaving directory `/home/asaa/build/tools'
make: *** [all] Error 1</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>