[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
`/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



More information about the cfe-dev mailing list