[LLVMdev] Build problem with gcc-4.3.2

Chris Lattner clattner at apple.com
Thu Sep 10 09:25:12 PDT 2009


On Sep 10, 2009, at 3:45 AM, Niels Möller wrote:

> Hi,
>
> on http://llvm.org/docs/GettingStarted.html#requirements you say you
> want to know about problems compiling llvm with gcc.
>
> I just tried compiling llvm and clang, using ./configure; make, and I
> got the following error,
>
>  llvm[2]: Compiling StrongPHIElimination.cpp for Debug build
>  StrongPHIElimination.cpp:1051: internal compiler error: in  
> value_format, at dwarf2out.c:7218
>  Please submit a full bug report,
>  with preprocessed source if appropriate.
>  See <http://gcc.gnu.org/bugs.html> for instructions.
>  /bin/rm: cannot remove `/home/nisse/hack/llvm/lib/CodeGen/Debug/ 
> StrongPHIElimination.d.tmp': No such file or directory
>  make[2]: *** [/home/nisse/hack/llvm/lib/CodeGen/Debug/ 
> StrongPHIElimination.o] Error 1
>  make[2]: Leaving directory `/home/nisse/hack/llvm/lib/CodeGen'
>  make[1]: *** [CodeGen/.makeall] Error 2
>  make[1]: Leaving directory `/home/nisse/hack/llvm/lib'
>  make: *** [all] Error 1
>
> This is on a debian gnu/linux x86 box, using gcc-4.3.2 which (as far
> as I remember) was compiled with default options. I checked out
> revision 81438 from http://llvm.org/svn/llvm-project/llvm/trunk.

Thanks, I added it to the wall of shame :)

-Chris



More information about the llvm-dev mailing list