[LLVMbugs] [Bug 19137] New: Can't build llvm

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Mar 13 16:54:30 PDT 2014


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

            Bug ID: 19137
           Summary: Can't build llvm
           Product: Build scripts
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Makefiles
          Assignee: unassignedbugs at nondot.org
          Reporter: ya.maxis11 at yandex.ru
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

clang: /home/maxis11/llvm/include/llvm/IR/Instructions.h:2156: void
llvm::PHINode::addIncoming(llvm::Value *, llvm::BasicBlock *): Assertion
`getType() == V->getType() && "All operands to PHI node must be the same type
as the PHI node!"' failed.
0  libLLVM-3.5.0svn.so 0x00002b1ae09fe075 llvm::sys::PrintStackTrace(_IO_FILE*)
+ 37
1  libLLVM-3.5.0svn.so 0x00002b1ae09fe7c3
2  libpthread.so.0     0x00002b1ae1a26330
3  libc.so.6           0x00002b1ae2abff79 gsignal + 57
4  libc.so.6           0x00002b1ae2ac3388 abort + 328
5  libc.so.6           0x00002b1ae2ab8e36
6  libc.so.6           0x00002b1ae2ab8ee2
7  libLLVM-3.5.0svn.so 0x00002b1adfd816f5
8  libLLVM-3.5.0svn.so 0x00002b1ae074dddf
9  libLLVM-3.5.0svn.so 0x00002b1ae02ae1b4
llvm::FPPassManager::runOnFunction(llvm::Function&) + 356
10 libLLVM-3.5.0svn.so 0x00002b1ae042eaf5
11 libLLVM-3.5.0svn.so 0x00002b1ae02ae9b5
llvm::legacy::PassManagerImpl::run(llvm::Module&) + 965
12 clang               0x0000000000730bb3
clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::CodeGenOptions
const&, clang::TargetOptions const&, clang::LangOptions const&,
llvm::StringRef, llvm::Module*, clang::BackendAction, llvm::raw_ostream*) +
6643
13 clang               0x000000000072e57e
14 clang               0x00000000008c1493 clang::ParseAST(clang::Sema&, bool,
bool) + 515
15 clang               0x000000000072d33e clang::CodeGenAction::ExecuteAction()
+ 142
16 clang               0x000000000057fb50 clang::FrontendAction::Execute() +
112
17 clang               0x000000000055a6ed
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 925
18 clang               0x00000000005406df
clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 2959
19 clang               0x000000000053866c cc1_main(char const**, char const**,
char const*, void*) + 700
20 clang               0x000000000053e900 main + 9200
21 libc.so.6           0x00002b1ae2aaaec5 __libc_start_main + 245
22 clang               0x00000000005382e1
Stack dump:
0.    Program arguments: /usr/local/bin/clang -cc1 -triple
x86_64-unknown-linux-gnu -emit-obj -disable-free -main-file-name Path.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 -ffunction-sections
-fdata-sections -coverage-file
/home/maxis11/llvm/build/lib/Support/Release+Asserts/Path.o -resource-dir
/usr/local/bin/../lib/clang/3.5.0 -dependency-file
/home/maxis11/llvm/build/lib/Support/Release+Asserts/Path.d.tmp -MP -MT
/home/maxis11/llvm/build/lib/Support/Release+Asserts/Path.o -MT
/home/maxis11/llvm/build/lib/Support/Release+Asserts/Path.d -D _DEBUG -D
_GNU_SOURCE -D __STDC_CONSTANT_MACROS -D __STDC_FORMAT_MACROS -D
__STDC_LIMIT_MACROS -I /home/maxis11/llvm/build/include -I
/home/maxis11/llvm/build/lib/Support -I /home/maxis11/llvm/include -I
/home/maxis11/llvm/lib/Support -internal-isystem
/usr/lib64/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8
-internal-isystem
/usr/lib64/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/x86_64-linux-gnu
-internal-isystem
/usr/lib64/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/backward
-internal-isystem
/usr/lib64/gcc/x86_64-linux-gnu/4.8/../../../../include/x86_64-linux-gnu/c++/4.8
-internal-isystem /usr/local/include -internal-isystem
/usr/local/bin/../lib/clang/3.5.0/include -internal-externc-isystem
/usr/include/x86_64-linux-gnu -internal-externc-isystem /include
-internal-externc-isystem /usr/include -O3 -Woverloaded-virtual -Wcast-qual
-Wall -W -Wno-unused-parameter -Wwrite-strings -Wcovered-switch-default
-Wno-uninitialized -Wno-missing-field-initializers -std=c++11
-fdeprecated-macro -fdebug-compilation-dir /home/maxis11/llvm/build/lib/Support
-ferror-limit 19 -fmessage-length 80 -fvisibility-inlines-hidden -mstackrealign
-fno-rtti -fobjc-runtime=gcc -fdiagnostics-show-option -fcolor-diagnostics
-vectorize-loops -vectorize-slp -o
/home/maxis11/llvm/build/lib/Support/Release+Asserts/Path.o -x c++
/home/maxis11/llvm/lib/Support/Path.cpp 
1.    <eof> parser at end of file
2.    Per-module optimization passes
3.    Running pass 'CallGraph Pass Manager' on module
'/home/maxis11/llvm/lib/Support/Path.cpp'.
4.    Running pass 'Global Value Numbering' on function
'@_ZN12_GLOBAL__N_112filename_posEN4llvm9StringRefE'
llvm[1]: Compiling Regex.cpp for Release+Asserts build
llvm[1]: Compiling SearchForAddressOfSpecialSymbol.cpp for Release+Asserts
build
llvm[1]: Compiling Signals.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.5.0 (trunk 203564)
Target: x86_64-unknown-linux-gnu
Thread model: posix
clang: 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: note: diagnostic msg: 
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang: note: diagnostic msg: /tmp/Path-a37cf7.cpp
clang: note: diagnostic msg: /tmp/Path-a37cf7.sh
clang: note: diagnostic msg: 

********************
/bin/rm: unable to delete
«/home/maxis11/llvm/build/lib/Support/Release+Asserts/Path.d.tmp»: No such file
or directory

-- 
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/20140313/b5392a12/attachment.html>


More information about the llvm-bugs mailing list