<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 fails with exit status 254"
   href="http://llvm.org/bugs/show_bug.cgi?id=18071">18071</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>clang fails with exit status 254
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>clang
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>3.2
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Macintosh
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>MacOS X
          </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>-New Bugs
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedclangbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>tim.j.stewart@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=11619" name="attach_11619" title="compressed tar containing files the error message asked me to include">attachment 11619</a> <a href="attachment.cgi?id=11619&action=edit" title="compressed tar containing files the error message asked me to include">[details]</a></span>
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*> >
<span class="quote">>::_M_erase(std::_Rb_tree_node<std::pair<int const, llvm::PseudoSourceValue</span >
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*>
<span class="quote">>::_M_fill_insert(__gnu_cxx::__normal_iterator<llvm::MachineBasicBlock**,</span >
std::vector<llvm::MachineBasicBlock*, std::allocator<llvm::MachineBasicBlock*>
<span class="quote">> >, unsigned long, llvm::MachineBasicBlock* const&) + 1714</span >

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*>
<span class="quote">>::_M_insert_aux(__gnu_cxx::__normal_iterator<clang::serialization::ModuleFile**,</span >
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*>
<span class="quote">>::_M_insert_aux(__gnu_cxx::__normal_iterator<clang::CXXRecordDecl const**,</span >
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*>
<span class="quote">>::_M_insert_aux(__gnu_cxx::__normal_iterator<clang::CompilerInstance**,</span >
std::vector<clang::CompilerInstance*, std::allocator<clang::CompilerInstance*>
<span class="quote">> >, clang::CompilerInstance* const&) + 10794</span >

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>
<span class="quote">>::_M_insert_aux(__gnu_cxx::__normal_iterator<llvm::SourceMgr::SrcBuffer*,</span >
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
<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:
/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...</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>