<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 --- - llvm+clang bootstrap failure on Linux/ia32"
   href="http://llvm.org/bugs/show_bug.cgi?id=22080">22080</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>llvm+clang bootstrap failure on Linux/ia32
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>new-bugs
          </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>new bugs
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>hjl.tools@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>chandlerc@gmail.com, llvmbugs@cs.uiuc.edu
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>On Linux/ia32, llvm revision 225065 + clang revision 225060 gave me:

clang: /export/gnu/import/git/llvm/include/llvm/Support/Casting.h:237: typename
llvm::cast_retty<X, Y*>::ret_type llvm::cast(Y*) [with X = llvm::Instruction; Y
= llvm::Value; typename llvm::cast_retty<X, Y*>::ret_type =
llvm::Instruction*]: Assertion `isa<X>(Val) && "cast<Ty>() argument of
incompatible type!"' failed.
0  clang     0x0a81a90c llvm::sys::PrintStackTrace(_IO_FILE*) + 44
1  clang     0x0a81ab5f
2  clang     0x0a8188f0
3            0x55557cb0 __kernel_sigreturn + 0
4            0x55557ce0 __kernel_vsyscall + 16
5  libc.so.6 0x4763b8b7 gsignal + 71
6  libc.so.6 0x4763d0f3 abort + 323
7  libc.so.6 0x47634947
8  libc.so.6 0x476349f7
9  clang     0x08510eee
10 clang     0x0a2c8cba
11 clang     0x0a2cd197
12 clang     0x0a2cf956
13 clang     0x0a79008f llvm::FPPassManager::runOnFunction(llvm::Function&) +
639
14 clang     0x0a42db6e
15 clang     0x0a7908b9 llvm::legacy::PassManagerImpl::run(llvm::Module&) + 841
16 clang     0x0a790b86 llvm::legacy::PassManager::run(llvm::Module&) + 38
17 clang     0x08792cc5 clang::EmitBackendOutput(clang::DiagnosticsEngine&,
clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions
const&, llvm::StringRef, llvm::Module*, clang::BackendAction,
llvm::raw_ostream*) + 2165
18 clang     0x08783fed
19 clang     0x08979a03 clang::ParseAST(clang::Sema&, bool, bool) + 595
20 clang     0x085b16fd clang::ASTFrontendAction::ExecuteAction() + 109
21 clang     0x08784b4d clang::CodeGenAction::ExecuteAction() + 61
22 clang     0x085b2378 clang::FrontendAction::Execute() + 136
23 clang     0x08589e45
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 341
24 clang     0x0857003d
clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 2045
25 clang     0x08567c1e cc1_main(llvm::ArrayRef<char const*>, char const*,
void*) + 1486
26 clang     0x08543f59 main + 5401
27 libc.so.6 0x47626b43 __libc_start_main + 243
28 clang     0x08566788
Stack dump:
0.    Program arguments:
/export/build/gnu/llvm-clang-x86-bootstrap/stage1/build-i686-linux/Release+Asserts/bin/clang
-cc1 -triple i386-pc-linux-gnu -emit-obj -disable-free -main-file-name
Unicode.cpp -mrelocation-model pic -pic-level 2 -mthread-model posix
-fmath-errno -masm-verbose -mconstructor-aliases -fuse-init-array -target-cpu
pentium4 -target-linker-version 2.25.51.0.2.20141229 -momit-leaf-frame-pointer
-dwarf-column-info -ffunction-sections -fdata-sections -coverage-file
/export/build/gnu/llvm-clang-x86-bootstrap/stage2/build-i686-linux/lib/Support/Release+Asserts/Unicode.o
-resource-dir
/export/build/gnu/llvm-clang-x86-bootstrap/stage1/build-i686-linux/Release+Asserts/bin/../lib/clang/3.6.0
-dependency-file
/export/build/gnu/llvm-clang-x86-bootstrap/stage2/build-i686-linux/lib/Support/Release+Asserts/Unicode.d.tmp
-MP -MT
/export/build/gnu/llvm-clang-x86-bootstrap/stage2/build-i686-linux/lib/Support/Release+Asserts/Unicode.o
-MT
/export/build/gnu/llvm-clang-x86-bootstrap/stage2/build-i686-linux/lib/Support/Release+Asserts/Unicode.d
-D _DEBUG -D _GNU_SOURCE -D __STDC_CONSTANT_MACROS -D __STDC_FORMAT_MACROS -D
__STDC_LIMIT_MACROS -I
/export/build/gnu/llvm-clang-x86-bootstrap/stage2/build-i686-linux/include -I
/export/build/gnu/llvm-clang-x86-bootstrap/stage2/build-i686-linux/lib/Support
-I /export/gnu/import/git/llvm/include -I
/export/gnu/import/git/llvm/lib/Support -internal-isystem
/usr/lib/gcc/x86_64-redhat-linux/4.8.3/../../../../include/c++/4.8.3
-internal-isystem
/usr/lib/gcc/x86_64-redhat-linux/4.8.3/../../../../include/c++/4.8.3/x86_64-redhat-linux/32
-internal-isystem
/usr/lib/gcc/x86_64-redhat-linux/4.8.3/../../../../include/c++/4.8.3/backward
-internal-isystem /usr/local/include -internal-isystem
/export/build/gnu/llvm-clang-x86-bootstrap/stage1/build-i686-linux/Release+Asserts/bin/../lib/clang/3.6.0/include
-internal-externc-isystem /include -internal-externc-isystem /usr/include -O3
-Wcast-qual -Wall -W -Wno-unused-parameter -Wwrite-strings
-Wcovered-switch-default -Wno-uninitialized -Wno-missing-field-initializers
-Wno-comment -std=c++11 -fdeprecated-macro -fdebug-compilation-dir
/export/build/gnu/llvm-clang-x86-bootstrap/stage2/build-i686-linux/lib/Support
-ferror-limit 19 -fmessage-length 0 -fvisibility-inlines-hidden -mstackrealign
-fno-rtti -fobjc-runtime=gcc -fdiagnostics-show-option -vectorize-loops
-vectorize-slp -o
/export/build/gnu/llvm-clang-x86-bootstrap/stage2/build-i686-linux/lib/Support/Release+Asserts/Unicode.o
-x c++ /export/gnu/import/git/llvm/lib/Support/Unicode.cpp 
1.    <eof> parser at end of file
2.    Per-module optimization passes
3.    Running pass 'CallGraph Pass Manager' on module
'/export/gnu/import/git/llvm/lib/Support/Unicode.cpp'.
4.    Running pass 'SROA' on function '@_ZN4llvm3sys7unicode11isPrintableEi'
clang: error: unable to execute command: Aborted (core dumped)
clang: error: clang frontend command failed due to signal (use -v to see
invocation)</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>