[LLVMbugs] [Bug 21181] New: Crash when building LLVM/CLANG from latest

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Oct 6 23:40:36 PDT 2014


http://llvm.org/bugs/show_bug.cgi?id=21181

            Bug ID: 21181
           Summary: Crash when building LLVM/CLANG from latest
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: joolzg at btinternet.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 13153
  --> http://llvm.org/bugs/attachment.cgi?id=13153&action=edit
preprocessed source

Did an update and build of llvm and crashes on InstCombineComapare.cpp

clang:
/home/encoder/llvm/llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp:2446:
bool llvm::InstCombiner::dominatesAllUses(const llvm::Instruction *, const
llvm::Instruction *, const llvm::BasicBlock *) const: Assertion `DI && UI &&
DI->getParent() == UI->getParent() && "definition and use must be in the same
block"' failed.
0  clang           0x00000000028582e5 llvm::sys::PrintStackTrace(_IO_FILE*) +
37
1  clang           0x0000000002858c5b
2  libpthread.so.0 0x00002acd168e6340
3  libc.so.6       0x00002acd17777bb9 gsignal + 57
4  libc.so.6       0x00002acd1777afc8 abort + 328
5  libc.so.6       0x00002acd17770a76
6  libc.so.6       0x00002acd17770b22
7  clang           0x0000000002442664
8  clang           0x00000000024427d0
9  clang           0x0000000002446064
10 clang           0x00000000024058db
11 clang           0x0000000002406610
12 clang           0x00000000027e8b3b
llvm::FPPassManager::runOnFunction(llvm::Function&) + 539
13 clang           0x00000000024f0949
14 clang           0x00000000027e9327
llvm::legacy::PassManagerImpl::run(llvm::Module&) + 967
15 clang           0x0000000000904c93
clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::CodeGenOptions
const&, clang::TargetOptions const&, clang::LangOptions const&,
llvm::StringRef, llvm::Module*, clang::BackendAction, llvm::raw_ostream*) +
7155
16 clang           0x00000000008f9c34
17 clang           0x0000000000af6393 clang::ParseAST(clang::Sema&, bool, bool)
+ 483
18 clang           0x000000000071471e clang::FrontendAction::Execute() + 62
19 clang           0x00000000006e87fc
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 892
20 clang           0x00000000006cab8a
clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 3082
21 clang           0x00000000006c1bbb cc1_main(llvm::ArrayRef<char const*>,
char const*, void*) + 667
22 clang           0x00000000006c91a5 main + 11909
23 libc.so.6       0x00002acd17762ec5 __libc_start_main + 245
24 clang           0x00000000006c185d
Stack dump:
0.    Program arguments: /usr/local/bin/clang -cc1 -triple
x86_64-unknown-linux-gnu -emit-obj -disable-free -main-file-name
AArch64ISelLowering.cpp -mrelocation-model pic -pic-level 2 -fmath-errno
-masm-verbose -mconstructor-aliases -munwind-tables -fuse-init-array
-target-cpu x86-64 -target-linker-version 2.24 -momit-leaf-frame-pointer
-dwarf-column-info -ffunction-sections -fdata-sections -coverage-file
/home/encoder/llvm/build/lib/Target/AArch64/Release+Asserts/AArch64ISelLowering.o
-resource-dir /usr/local/bin/../lib/clang/3.6.0 -dependency-file
/home/encoder/llvm/build/lib/Target/AArch64/Release+Asserts/AArch64ISelLowering.d.tmp
-MP -MT
/home/encoder/llvm/build/lib/Target/AArch64/Release+Asserts/AArch64ISelLowering.o
-MT
/home/encoder/llvm/build/lib/Target/AArch64/Release+Asserts/AArch64ISelLowering.d
-D _DEBUG -D _GNU_SOURCE -D __STDC_CONSTANT_MACROS -D __STDC_FORMAT_MACROS -D
__STDC_LIMIT_MACROS -I /home/encoder/llvm/build/include -I
/home/encoder/llvm/build/lib/Target/AArch64 -I /home/encoder/llvm/llvm/include
-I /home/encoder/llvm/llvm/lib/Target/AArch64 -internal-isystem
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8 -internal-isystem
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../include/x86_64-linux-gnu/c++/4.8
-internal-isystem
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../include/x86_64-linux-gnu/c++/4.8
-internal-isystem
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/backward
-internal-isystem /usr/local/include -internal-isystem
/usr/local/bin/../lib/clang/3.6.0/include -internal-externc-isystem
/usr/include/x86_64-linux-gnu -internal-externc-isystem /include
-internal-externc-isystem /usr/include -O3 -Wcast-qual -Wno-long-long -Wall -W
-Wno-unused-parameter -Wwrite-strings -Wcovered-switch-default
-Wno-uninitialized -Wno-missing-field-initializers -pedantic -std=c++11
-fdeprecated-macro -fdebug-compilation-dir
/home/encoder/llvm/build/lib/Target/AArch64 -ferror-limit 19 -fmessage-length
168 -fvisibility-inlines-hidden -mstackrealign -fno-rtti -fobjc-runtime=gcc
-fdiagnostics-show-option -fcolor-diagnostics -vectorize-loops -vectorize-slp
-o
/home/encoder/llvm/build/lib/Target/AArch64/Release+Asserts/AArch64ISelLowering.o
-x c++ /home/encoder/llvm/llvm/lib/Target/AArch64/AArch64ISelLowering.cpp 
1.    <eof> parser at end of file
2.    Per-module optimization passes
3.    Running pass 'CallGraph Pass Manager' on module
'/home/encoder/llvm/llvm/lib/Target/AArch64/AArch64ISelLowering.cpp'.
4.    Running pass 'Combine redundant instructions' on function
'@_ZL26performNEONPostLDSTCombinePN4llvm6SDNodeERNS_14TargetLowering15DAGCombinerInfoERNS_12SelectionDAGE'
llvm[3]: Compiling MipsConstantIslandPass.cpp for Release+Asserts build
llvm[3]: Compiling ARMInstrInfo.cpp for Release+Asserts build
clang: error: unable to execute command: Aborted (core dumped)
clang: error: clang frontend command failed due to signal (use -v to see
invocation)
clang version 3.6.0 (trunk 218748)
Target: x86_64-unknown-linux-gnu
Thread model: posix

-- 
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/20141007/ab7b82d6/attachment.html>


More information about the llvm-bugs mailing list