[cfe-dev] Compiling clang with gcc 4.3.1 causes internal compiler error?

Chris Lattner clattner at apple.com
Fri Jun 13 18:02:09 PDT 2008


On Jun 13, 2008, at 3:38 AM, Török Edwin wrote:

> Compiling SVN r52248 with gcc 4.3.1 I get a crash in g++, does anybody
> else see this?

That is unfortunate.  Please file a bug against GCC (http:// 
gcc.gnu.org/).  IF there is some way to workaround this in the clang  
sources, and if it isn't too horrible, we should do it.

-Chris

>
>
> make[1]: Entering directory
> `/home/edwin/llvm-svn/llvm/tools/clang/lib/Basic'
> llvm[1]: Compiling IdentifierTable.cpp for Release build
> In file included from IdentifierTable.cpp:161:
> /home/edwin/llvm-svn/llvm/tools/clang/lib/Basic/../../include/clang/ 
> Basic/TokenKinds.def:272:
> internal compiler error: Segmentation fault
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <file:///usr/share/doc/gcc-4.3/README.Bugs> for instructions.
> /bin/rm: cannot remove
> `/home/edwin/llvm-svn/llvm/tools/clang/lib/Basic/Release/ 
> IdentifierTable.d.tmp':
> No such file or directory
> make[1]: ***
> [/home/edwin/llvm-svn/llvm/tools/clang/lib/Basic/Release/ 
> IdentifierTable.o]
> Error 1
> make[1]: Leaving directory `/home/edwin/llvm-svn/llvm/tools/clang/ 
> lib/Basic'
> make: *** [Basic/.makeall] Error 2
>
> I got a somewhat reduced IndentifierTable.cpp, and TokenDefs.def that
> still reproduce the bug, however I am unable to create a package of
> files that still reproduce the bug, since moving the include files  
> to a
> different folder makes the bug go away.
>
> Any ideas?
>
> GCC bugzilla entry: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36524
>
> Best regards,
> --Edwin
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev





More information about the cfe-dev mailing list