On x86_64-apple-darwin14 at r241513, the clang compiler from a stage1 build successfully built clang-tools-extra as expected. At r241594, a regression is now present where the stage 1 clang 3.7.0svn compiler now crashes in the build of clang-tools-extra as follows...
Running pass 'Interprocedural Sparse Conditional Constant Propagation' on module '/sw/src/fink.build/llvm37-3.7.0-1/llvm-3.7.0.src/lib/Target/ARM/ARMISelLowering.cpp'.
clang-3.7: error: unable to execute command: Illegal instruction: 4
clang-3.7: error: clang frontend command failed due to signal (use -v to see invocation)
clang version 3.7.0 (trunk)
Target: x86_64-apple-darwin14.4.0
Thread model: posix
clang-3.7: 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-3.7: note: diagnostic msg:
PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang-3.7: note: diagnostic msg: /var/folders/nm/5lklm6011cz5jb2ms9b_ynl00000ks/T/ARMISelLowering-ab6090.cpp
clang-3.7: note: diagnostic msg: /var/folders/nm/5lklm6011cz5jb2ms9b_ynl00000ks/T/ARMISelLowering-ab6090.sh
clang-3.7: note: diagnostic msg:
Extended Description
On x86_64-apple-darwin14 at r241513, the clang compiler from a stage1 build successfully built clang-tools-extra as expected. At r241594, a regression is now present where the stage 1 clang 3.7.0svn compiler now crashes in the build of clang-tools-extra as follows...
Assertion failed: (Val && "isa<> used on a null pointer"), function doit, file /sw/src/fink.build/llvm37-3.7.0-1/llvm-3.7.0.src/include/llvm/Support/Casting.h, line 95. 0 libLLVMSupport.3.7.0.dylib 0x00000001087e9e09 llvm::sys::PrintStackTrace(llvm::raw_ostream&) + 57 1 libLLVMSupport.3.7.0.dylib 0x00000001087ea9fb SignalHandler(int) + 875 2 libsystem_platform.dylib 0x00007fff97427f1a _sigtramp + 26 3 libsystem_platform.dylib 0x00007fff58cdc578 _sigtramp + 3247130232 4 libLLVMSupport.3.7.0.dylib 0x00000001087ea5e6 abort + 22 5 libLLVMSupport.3.7.0.dylib 0x00000001087ea5c1 __assert_rtn + 81 6 libLLVMTransformUtils.3.7.0.dylib 0x0000000108870236 llvm::ConstantFoldTerminator(llvm::BasicBlock, bool, llvm::TargetLibraryInfo const) + 3782 7 libLLVMScalarOpts.3.7.0.dylib 0x000000010867905b (anonymous namespace)::IPSCCP::runOnModule(llvm::Module&) + 6043 8 libLLVMCore.3.7.0.dylib 0x0000000108131aa3 llvm::legacy::PassManagerImpl::run(llvm::Module&) + 1123 9 libclangCodeGen.3.7.0.dylib 0x0000000109ea94da clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module, clang::BackendAction, llvm::raw_pwrite_stream) + 7866 10 libclangCodeGen.3.7.0.dylib 0x000000010a0347f2 clang::BackendConsumer::HandleTranslationUnit(clang::ASTContext&) + 514 11 libclangParse.3.7.0.dylib 0x0000000109568ed4 clang::ParseAST(clang::Sema&, bool, bool) + 468 12 libclangFrontend.3.7.0.dylib 0x0000000108c76aab clang::FrontendAction::Execute() + 75 13 libclangFrontend.3.7.0.dylib 0x0000000108c408ac clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 956 14 libclangFrontendTool.3.7.0.dylib 0x0000000108d1136c clang::ExecuteCompilerInvocation(clang::CompilerInstance) + 4140 15 clang-3.7 0x0000000106f2d338 cc1_main(llvm::ArrayRef<char const>, char const, void) + 936 16 clang-3.7 0x0000000106f2bde0 main + 11488 17 libdyld.dylib 0x00007fff901a45c9 start + 1 18 libdyld.dylib 0x0000000000000053 start + 1877326475 Stack dump:
PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-3.7: note: diagnostic msg: /var/folders/nm/5lklm6011cz5jb2ms9b_ynl00000ks/T/ARMISelLowering-ab6090.cpp clang-3.7: note: diagnostic msg: /var/folders/nm/5lklm6011cz5jb2ms9b_ynl00000ks/T/ARMISelLowering-ab6090.sh clang-3.7: note: diagnostic msg: