[LLVMdev] Compiler crashed while building LLVM

Andre Tampubolon andre at lc.vlsm.org
Wed Apr 3 10:55:44 PDT 2013


I tried to build the stable LLVM 3.2, and the latest from svn.
Both failed, unfortunately.

During compilation process, I saw this:
llvm[1]: Compiling BranchProbability.cpp for Release build
0  clang           0x00000000010b23bf
1  clang           0x00000000010b2a0d
2  libpthread.so.0 0x00002b3c53ed2ff0
3  clang           0x00000000005f7200
4  clang           0x0000000000627c05
5  clang           0x000000000074c567
6  clang           0x000000000074bf35
7  clang           0x000000000074c9e1
8  clang           0x000000000074bf35
9  clang           0x00000000005ea69a
10 clang           0x00000000008e897d
11 clang           0x00000000005e7e3b
12 clang           0x0000000000415089
13 clang           0x00000000004094f6
14 clang           0x000000000040bed3 main + 1731
15 libc.so.6       0x00002b3c54cb8c8d __libc_start_main + 253
16 clang           0x0000000000407099
Stack dump:

I attached the longer log, hopefully it could shed some light.
FYI, I'm using GCC 4.4.5, on 64-bit Debian 6.

Maybe using a more recent GCC would solve this problem?

-- 
*Andre Tampubolon*
GPG public key:pgp.mit.edu:11371/pks/lookup?op=get&search=0xC6492E7D01AA96CF
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130404/f83ed238/attachment.html>
-------------- next part --------------
config.status: creating Makefile.common
config.status: creating Makefile.llvm.config
config.status: executing setup commands
config.status: executing Makefile commands
config.status: executing lib/Makefile commands
config.status: executing lib/sample/Makefile commands
config.status: executing tools/Makefile commands
config.status: executing tools/sample/Makefile commands
root at server1:/home/llvm# make -j5
llvm[0]: Constructing LLVMBuild project information.
make[1]: Entering directory `/home/llvm/lib/Support'
llvm[1]: Compiling APFloat.cpp for Release build
llvm[1]: Compiling APInt.cpp for Release build
llvm[1]: Compiling APSInt.cpp for Release build
llvm[1]: Compiling Allocator.cpp for Release build
llvm[1]: Compiling Atomic.cpp for Release build
llvm[1]: Compiling BlockFrequency.cpp for Release build
llvm[1]: Compiling BranchProbability.cpp for Release build
0  clang           0x00000000010b23bf
1  clang           0x00000000010b2a0d
2  libpthread.so.0 0x00002b3c53ed2ff0
3  clang           0x00000000005f7200
4  clang           0x0000000000627c05
5  clang           0x000000000074c567
6  clang           0x000000000074bf35
7  clang           0x000000000074c9e1
8  clang           0x000000000074bf35
9  clang           0x00000000005ea69a
10 clang           0x00000000008e897d
11 clang           0x00000000005e7e3b
12 clang           0x0000000000415089
13 clang           0x00000000004094f6
14 clang           0x000000000040bed3 main + 1731
15 libc.so.6       0x00002b3c54cb8c8d __libc_start_main + 253
16 clang           0x0000000000407099
Stack dump:
0.      Program arguments: /usr/bin/clang -cc1 -triple x86_64-pc-linux-gnu -S -disable-free -disable-llvm-verifier -main-file-name APInt.cpp -pic-level 2 -mconstructor-aliases -munwind-tables -target-cpu x86-64 -resource-dir /usr/lib/clang/1.1 -dependency-file /home/llvm/lib/Support/Release/APInt.d.tmp -MP -MT /home/llvm/lib/Support/Release/APInt.o -MT /home/llvm/lib/Support/Release/APInt.d -DNDEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/llvm/include -I/home/llvm/lib/Support -O3 -Woverloaded-virtual -Wcast-qual -Wall -W -Wno-unused-parameter -Wwrite-strings -Wno-uninitialized -Wno-missing-field-initializers -fmessage-length 191 -fno-rtti -fgnu-runtime -fdiagnostics-show-option -fcolor-diagnostics -o /tmp/cc-Odd6XP.s -x c++ APInt.cpp 
1.      <eof> parser at end of file
2.      /home/llvm/include/llvm/ADT/Hashing.h:487:11: instantiating function definition 'llvm::hash_combine_range'
3.      /home/llvm/include/llvm/ADT/Hashing.h:455:1: instantiating function definition 'llvm::hashing::detail::hash_combine_range_impl'
clang: error: compiler command failed due to signal 11 (use -v to see invocation)
make[1]: *** [/home/llvm/lib/Support/Release/APInt.o] Error 1
make[1]: *** Waiting for unfinished jobs....
0  clang           0x00000000010b23bf
1  clang           0x00000000010b2a0d
2  libpthread.so.0 0x00002ba7ac478ff0
3  clang           0x00000000005f7200
4  clang           0x0000000000627c05
5  clang           0x000000000074c567
6  clang           0x000000000074bf35
7  clang           0x000000000074c9e1
8  clang           0x000000000074bf35
9  clang           0x00000000005ea69a
10 clang           0x00000000008e897d
11 clang           0x00000000005e7e3b
12 clang           0x0000000000415089
13 clang           0x00000000004094f6
14 clang           0x000000000040bed3 main + 1731
15 libc.so.6       0x00002ba7ad25ec8d __libc_start_main + 253
16 clang           0x0000000000407099
Stack dump:
0.      Program arguments: /usr/bin/clang -cc1 -triple x86_64-pc-linux-gnu -S -disable-free -disable-llvm-verifier -main-file-name APFloat.cpp -pic-level 2 -mconstructor-aliases -munwind-tables -target-cpu x86-64 -resource-dir /usr/lib/clang/1.1 -dependency-file /home/llvm/lib/Support/Release/APFloat.d.tmp -MP -MT /home/llvm/lib/Support/Release/APFloat.o -MT /home/llvm/lib/Support/Release/APFloat.d -DNDEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/llvm/include -I/home/llvm/lib/Support -O3 -Woverloaded-virtual -Wcast-qual -Wall -W -Wno-unused-parameter -Wwrite-strings -Wno-uninitialized -Wno-missing-field-initializers -fmessage-length 191 -fno-rtti -fgnu-runtime -fdiagnostics-show-option -fcolor-diagnostics -o /tmp/cc-AA48qQ.s -x c++ APFloat.cpp 
1.      <eof> parser at end of file
2.      /home/llvm/include/llvm/ADT/Hashing.h:487:11: instantiating function definition 'llvm::hash_combine_range'
3.      /home/llvm/include/llvm/ADT/Hashing.h:455:1: instantiating function definition 'llvm::hashing::detail::hash_combine_range_impl'
clang: error: compiler command failed due to signal 11 (use -v to see invocation)
make[1]: *** [/home/llvm/lib/Support/Release/APFloat.o] Error 1
make[1]: Leaving directory `/home/llvm/lib/Support'
make: *** [all] Error 1



More information about the llvm-dev mailing list