The current "top-of-tree" i686 native compiler gets an internal error building a mips-elf toolchain, while compiling tree.c. The native compiler identifies itself as:
$ gcc -v Using built-in specs. Target: i686-pc-linux-gnu Configured with: /src/latest/trunk/src/gcc/configure -v --prefix=/opt/local/latest/trunk --enable-languages=c,c++ --disable-werror --cache-file=.././config.cache --srcdir=/src/latest/trunk/src/gcc Thread model: posix gcc version 4.2.0 20060628 (experimental) It can be reproduced with the command: $ ./cc1 -quiet -g -O2 -W -Wwrite-strings bug.i tree.c:7615: internal compiler error: Segmentation fault I will attempt to attach the preprocessed version of tree.c (bug.i) referenced above. -- Summary: ICE building mips-elf cross compiler Product: gcc Version: 4.2.0 Status: UNCONFIRMED Severity: critical Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: fnf at specifixinc dot com GCC build triplet: i686-pc-linux-gnu GCC host triplet: i686-pc-linux-gnu GCC target triplet: i686-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28198