[LLVMbugs] [Bug 18071] New: clang fails with exit status 254
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Tue Nov 26 10:45:24 PST 2013
http://llvm.org/bugs/show_bug.cgi?id=18071
Bug ID: 18071
Summary: clang fails with exit status 254
Product: clang
Version: 3.2
Hardware: Macintosh
OS: MacOS X
Status: NEW
Severity: normal
Priority: P
Component: -New Bugs
Assignee: unassignedclangbugs at nondot.org
Reporter: tim.j.stewart at gmail.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
Created attachment 11619
--> http://llvm.org/bugs/attachment.cgi?id=11619&action=edit
compressed tar containing files the error message asked me to include
I was trying to run 'pip install pycrypto' on my Mac OS X computer and clang
experienced an internal error.
building 'Crypto.PublicKey._fastmath' extension
creating build/temp.macosx-10.7-x86_64-2.7
creating build/temp.macosx-10.7-x86_64-2.7/src
clang -fno-strict-aliasing -fno-common -dynamic -I/usr/local/include
-I/usr/local/opt/sqlite/include -fwrapv -Wall -Wstrict-prototypes -std=c99 -O3
-fomit-frame-pointer -Isrc/ -I/usr/include/
-I/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/include/python2.7
-c src/_fastmath.c -o build/temp.macosx-10.7-x86_64-2.7/src/_fastmath.o
src/_fastmath.c:1545:20: warning: comparison of unsigned expression < 0 is
always false [-Wtautological-compare]
else if (result < 0)
~~~~~~ ^ ~
src/_fastmath.c:1621:20: warning: comparison of unsigned expression < 0 is
always false [-Wtautological-compare]
else if (result < 0)
~~~~~~ ^ ~
Assertion failed: ((!EnterAfter || EnterAfter < LSP) && "Bad interference"),
function splitRegOutBlock, file SplitKit.cpp, line 1385.
0 clang 0x00000001082665e3
llvm::SmallVectorImpl<char>::swap(llvm::SmallVectorImpl<char>&) + 9925
1 clang 0x0000000108266975
llvm::SmallVectorImpl<char>::swap(llvm::SmallVectorImpl<char>&) + 10839
2 libsystem_c.dylib 0x00007fff97943cfa _sigtramp + 26
3 libsystem_c.dylib 000000000000000000 _sigtramp + 18446603337973089056
4 clang 0x00000001082667f8
llvm::SmallVectorImpl<char>::swap(llvm::SmallVectorImpl<char>&) + 10458
5 clang 0x00000001082667c6
llvm::SmallVectorImpl<char>::swap(llvm::SmallVectorImpl<char>&) + 10408
6 clang 0x0000000107fb02e6 llvm::Pass*
llvm::callDefaultCtor<llvm::SpillPlacement>() + 30145
7 clang 0x0000000107f855c5 std::vector<unsigned int,
std::allocator<unsigned int> >::_M_fill_assign(unsigned long, unsigned int
const&) + 17677
8 clang 0x0000000107f81ebd std::vector<unsigned int,
std::allocator<unsigned int> >::_M_fill_assign(unsigned long, unsigned int
const&) + 3589
9 clang 0x0000000107f7c94d std::_Rb_tree<int, std::pair<int const,
llvm::PseudoSourceValue const*>, std::_Select1st<std::pair<int const,
llvm::PseudoSourceValue const*> >, std::less<int>, std::allocator<std::pair<int
const, llvm::PseudoSourceValue const*> >
>::_M_erase(std::_Rb_tree_node<std::pair<int const, llvm::PseudoSourceValue
const*> >*) + 1513
10 clang 0x0000000107f81ac0 std::vector<unsigned int,
std::allocator<unsigned int> >::_M_fill_assign(unsigned long, unsigned int
const&) + 2568
11 clang 0x0000000107f3ebda std::vector<llvm::MachineBasicBlock*,
std::allocator<llvm::MachineBasicBlock*>
>::_M_fill_insert(__gnu_cxx::__normal_iterator<llvm::MachineBasicBlock**,
std::vector<llvm::MachineBasicBlock*, std::allocator<llvm::MachineBasicBlock*>
> >, unsigned long, llvm::MachineBasicBlock* const&) + 1714
12 clang 0x00000001082258b1
llvm::SymbolTableListTraits<llvm::GlobalAlias,
llvm::Module>::transferNodesFromList(llvm::ilist_traits<llvm::GlobalAlias>&,
llvm::ilist_iterator<llvm::GlobalAlias>,
llvm::ilist_iterator<llvm::GlobalAlias>) + 17685
13 clang 0x0000000108225a5c
llvm::SymbolTableListTraits<llvm::GlobalAlias,
llvm::Module>::transferNodesFromList(llvm::ilist_traits<llvm::GlobalAlias>&,
llvm::ilist_iterator<llvm::GlobalAlias>,
llvm::ilist_iterator<llvm::GlobalAlias>) + 18112
14 clang 0x0000000108225b9a
llvm::SymbolTableListTraits<llvm::GlobalAlias,
llvm::Module>::transferNodesFromList(llvm::ilist_traits<llvm::GlobalAlias>&,
llvm::ilist_iterator<llvm::GlobalAlias>,
llvm::ilist_iterator<llvm::GlobalAlias>) + 18430
15 clang 0x0000000108225eee
llvm::SymbolTableListTraits<llvm::GlobalAlias,
llvm::Module>::transferNodesFromList(llvm::ilist_traits<llvm::GlobalAlias>&,
llvm::ilist_iterator<llvm::GlobalAlias>,
llvm::ilist_iterator<llvm::GlobalAlias>) + 19282
16 clang 0x0000000108226007
llvm::SymbolTableListTraits<llvm::GlobalAlias,
llvm::Module>::transferNodesFromList(llvm::ilist_traits<llvm::GlobalAlias>&,
llvm::ilist_iterator<llvm::GlobalAlias>,
llvm::ilist_iterator<llvm::GlobalAlias>) + 19563
17 clang 0x00000001075cc73d
std::vector<clang::serialization::ModuleFile*,
std::allocator<clang::serialization::ModuleFile*>
>::_M_insert_aux(__gnu_cxx::__normal_iterator<clang::serialization::ModuleFile**,
std::vector<clang::serialization::ModuleFile*,
std::allocator<clang::serialization::ModuleFile*> > >,
clang::serialization::ModuleFile* const&) + 6487
18 clang 0x00000001076786c9 llvm::ParseIR(llvm::MemoryBuffer*,
llvm::SMDiagnostic&, llvm::LLVMContext&) + 1575
19 clang 0x00000001076a09a6
clang::operator==(clang::specific_attr_iterator<clang::MBlazeInterruptHandlerAttr,
llvm::SmallVector<clang::Attr*, 2u> >,
clang::specific_attr_iterator<clang::MBlazeInterruptHandlerAttr,
llvm::SmallVector<clang::Attr*, 2u> >) + 832
20 clang 0x0000000107677d7c std::vector<clang::CXXRecordDecl
const*, std::allocator<clang::CXXRecordDecl const*>
>::_M_insert_aux(__gnu_cxx::__normal_iterator<clang::CXXRecordDecl const**,
std::vector<clang::CXXRecordDecl const*, std::allocator<clang::CXXRecordDecl
const*> > >, clang::CXXRecordDecl const* const&) + 6420
21 clang 0x00000001075077f8 llvm::SmallVectorImpl<clang::FileEntry
const*>::operator=(llvm::SmallVectorImpl<clang::FileEntry const*> const&) +
7732
22 clang 0x00000001074ee576 std::vector<clang::CompilerInstance*,
std::allocator<clang::CompilerInstance*>
>::_M_insert_aux(__gnu_cxx::__normal_iterator<clang::CompilerInstance**,
std::vector<clang::CompilerInstance*, std::allocator<clang::CompilerInstance*>
> >, clang::CompilerInstance* const&) + 10794
23 clang 0x00000001074c741c std::_Rb_tree<std::string, std::string,
std::_Identity<std::string>, std::less<std::string>,
std::allocator<std::string> >::_M_insert(std::_Rb_tree_node_base*,
std::_Rb_tree_node_base*, std::string const&) + 3580
24 clang 0x00000001074c0a61
25 clang 0x00000001074c4757 std::vector<llvm::SourceMgr::SrcBuffer,
std::allocator<llvm::SourceMgr::SrcBuffer>
>::_M_insert_aux(__gnu_cxx::__normal_iterator<llvm::SourceMgr::SrcBuffer*,
std::vector<llvm::SourceMgr::SrcBuffer,
std::allocator<llvm::SourceMgr::SrcBuffer> > >, llvm::SourceMgr::SrcBuffer
const&) + 1419
26 clang 0x00000001074c0234
27 clang 0x000000000000003a
Stack dump:
0. Program arguments: /usr/local/Cellar/llvm/HEAD/bin/clang -cc1 -triple
x86_64-apple-macosx10.7.0 -emit-obj -disable-free -main-file-name _fastmath.c
-pic-level 2 -relaxed-aliasing -masm-verbose -munwind-tables -target-cpu core2
-target-linker-version 128.2 -coverage-file
build/temp.macosx-10.7-x86_64-2.7/src/_fastmath.o -resource-dir
/usr/local/Cellar/llvm/HEAD/bin/../lib/clang/3.2 -I /usr/local/include -I
/usr/local/opt/sqlite/include -I src/ -I /usr/include/ -I
/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/include/python2.7
-fmodule-cache-path
/var/folders/z6/gn_stv3d0xv2n1dzcjybm279wsynb7/T/clang-module-cache -O3 -Wall
-Wstrict-prototypes -std=c99 -fdebug-compilation-dir
/Users/tims/src/alarmageddon -ferror-limit 19 -fmessage-length 0 -fwrapv
-stack-protector 1 -mstackrealign -fblocks -fobjc-runtime=macosx-10.7.0
-fobjc-dispatch-method=mixed -fobjc-default-synthesize-properties -fno-common
-fdiagnostics-show-option -o build/temp.macosx-10.7-x86_64-2.7/src/_fastmath.o
-x c src/_fastmath.c
1. <eof> parser at end of file
2. Code generation
3. Running pass 'Function Pass Manager' on module 'src/_fastmath.c'.
4. Running pass 'Greedy Register Allocator' on function '@rsaKey_new'
clang: error: unable to execute command: Illegal instruction: 4
clang: error: clang frontend command failed due to signal (use -v to see
invocation)
clang version 3.2
Target: x86_64-apple-darwin11.4.2
Thread model: posix
clang: 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: 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:
/var/folders/z6/gn_stv3d0xv2n1dzcjybm279wsynb7/T/_fastmath-DR1P5G.c
clang: note: diagnostic msg:
/var/folders/z6/gn_stv3d0xv2n1dzcjybm279wsynb7/T/_fastmath-DR1P5G.sh
clang: note: diagnostic msg:
********************
error: command 'clang' failed with exit status 254
----------------------------------------
Cleaning up...
--
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/20131126/21e49177/attachment.html>
More information about the llvm-bugs
mailing list