[llvm-bugs] [Bug 27350] New: [ppc64] bootstrap build get crashed when building clangAnalysis

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Apr 14 06:09:31 PDT 2016


https://llvm.org/bugs/show_bug.cgi?id=27350

            Bug ID: 27350
           Summary: [ppc64] bootstrap build get crashed when building
                    clangAnalysis
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Backend: PowerPC
          Assignee: unassignedbugs at nondot.org
          Reporter: cycheng at multicorewareinc.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

Test version:
llvm/clang: r266285/r266280

Error Messages:

Building CXX object
tools/clang/lib/Analysis/CMakeFiles/clangAnalysis.dir/CFG.cpp.o
clang-3.8: /home/cycheng/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp:6343:
void llvm::SelectionDAG::ReplaceAllUsesWith(llvm::SDNode*, llvm::SDNode*):
Assertion `(!From->hasAnyUseOfValue(i) || From->getValueType(i) ==
To->getValueType(i)) && "Cannot use this version of ReplaceAllUsesWith!"'
failed.
0  clang-3.8 0x0000000012050b80 llvm::sys::PrintStackTrace(llvm::raw_ostream&)
+ 128
1  clang-3.8 0x0000000012051010
..

Reproduce step:

1. Build clang with -DLLVM_ENABLE_ASSERTIONS=ON
2. Use that clang to build self again.

I also test on x86 with same version and same step, but x86 works fine.

-- 
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/20160414/1eed71ee/attachment.html>


More information about the llvm-bugs mailing list