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

Török Edwin edwintorok at gmail.com
Fri Jun 13 03:38:53 PDT 2008

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

make[1]: Entering directory
llvm[1]: Compiling IdentifierTable.cpp for Release build
In file included from IdentifierTable.cpp:161:
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
No such file or directory
make[1]: ***
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,

More information about the cfe-dev mailing list