[LLVMdev] between r241513 and r241594, clang 3.7.0svn now crashes building clang-tools-extra
Renato Golin
renato.golin at linaro.org
Tue Jul 7 10:27:01 PDT 2015
We caught that on tape :)
http://lab.llvm.org:8011/builders/clang-cmake-thumbv7-a15-full-sh/builds/1601
http://lab.llvm.org:8011/builders/clang-native-aarch64-full/builds/1818
I'm bisecting, it fails with 241570, works with 241566.
cheers,
--renato
On 7 July 2015 at 17:35, Jack Howarth <howarth.mailing.lists at gmail.com> wrote:
> Since we are only a week away from branching for 3.7.0, this new
> breakage in the stage2 bootstrap of
> llvm/clang/compiler-rt/clang-tools-extra should get triaged. At
> r241513, a three stage bootstrap with comparision of stage2/stage3
> files completed fine. However at r241594 we now have the new
> regression reported in https://llvm.org/bugs/show_bug.cgi?id=24054...
>
> 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:
> 0. Program arguments:
> /sw/src/fink.build/llvm37-3.7.0-1/build/stage1/bin/clang-3.7 -cc1
> -triple x86_64-apple-macosx10.10.0 -emit-obj -disable-free
> -main-file-name ARMISelLowering.cpp -mrelocation-model pic -pic-level
> 2 -mthread-model posix -mdisable-fp-elim -masm-verbose -munwind-tables
> -target-cpu core2 -target-linker-version 242.2 -dwarf-column-info
> -coverage-file /sw/src/fink.build/llvm37-3.7.0-1/build/stage2/lib/Target/ARM/CMakeFiles/LLVMARMCodeGen.dir/ARMISelLowering.cpp.o
> -resource-dir /sw/src/fink.build/llvm37-3.7.0-1/build/stage1/bin/../lib/clang/3.7.0
> -cxx-isystem /sw/src/fink.build/llvm37-3.7.0-1/llvm-3.7.0.src/../libcxx-3.7.0.src/include
> -D GTEST_HAS_RTTI=0 -D __STDC_CONSTANT_MACROS -D __STDC_FORMAT_MACROS
> -D __STDC_LIMIT_MACROS -D NDEBUG -I
> /sw/src/fink.build/llvm37-3.7.0-1/build/stage2/lib/Target/ARM -I
> /sw/src/fink.build/llvm37-3.7.0-1/llvm-3.7.0.src/lib/Target/ARM -I
> /sw/src/fink.build/llvm37-3.7.0-1/build/stage2/include -I
> /sw/src/fink.build/llvm37-3.7.0-1/llvm-3.7.0.src/include
> -stdlib=libc++ -O3 -Wall -W -Wno-unused-parameter -Wwrite-strings
> -Wcast-qual -Wmissing-field-initializers -Wno-long-long
> -Wnon-virtual-dtor -pedantic -std=c++11 -fdeprecated-macro
> -fdebug-compilation-dir
> /sw/src/fink.build/llvm37-3.7.0-1/build/stage2/lib/Target/ARM
> -ferror-limit 19 -fmessage-length 141 -fvisibility-inlines-hidden
> -stack-protector 1 -mstackrealign -fblocks -fno-rtti
> -fobjc-runtime=macosx-10.10.0 -fencode-extended-block-signature
> -fmax-type-align=16 -fdiagnostics-show-option -fcolor-diagnostics
> -vectorize-loops -vectorize-slp -o
> CMakeFiles/LLVMARMCodeGen.dir/ARMISelLowering.cpp.o -x c++
> /sw/src/fink.build/llvm37-3.7.0-1/llvm-3.7.0.src/lib/Target/ARM/ARMISelLowering.cpp
> 1. <eof> parser at end of file
> 2. Per-module optimization passes
> 3. 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:
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
More information about the llvm-dev
mailing list