[LLVMdev] Compiler crashed while building LLVM

John Criswell criswell at illinois.edu
Wed Apr 3 11:13:39 PDT 2013


On 4/3/13 12:55 PM, Andre Tampubolon wrote:
> I tried to build the stable LLVM 3.2, and the latest from svn.
> Both failed, unfortunately.

It looks like you're compiling LLVM with a previously installed version 
of clang instead of GCC.  Check Makefile.config's CC environment 
variable to see if that is the case.  If so, re-run configure with 
CC=gcc and CXX=g++ and see if that fixes it.

-- John T.

>
> 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 
> <http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xC6492E7D01AA96CF>
>
>
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130403/87446134/attachment.html>


More information about the llvm-dev mailing list