Hello, there seems to be a gcc problem with the target 'sh-elf':
/home/mstein/sim/sh-elf/build/./gcc/xgcc -B/home/mstein/sim/sh-elf/build/./gcc/ -nostdinc -B/home/mstein/sim/sh-elf/build/sh-elf/newlib/ -isystem /home/mstein/sim/sh-elf/build/sh-elf/newlib/targ-include -isystem /n/07/mstein/combined-trunk/newlib/libc/include -B/n/07/mstein/cross-local/sh-elf-new/sh-elf/bin/ -B/n/07/mstein/cross-local/sh-elf-new/sh-elf/lib/ -isystem /n/07/mstein/cross-local/sh-elf-new/sh-elf/include -isystem /n/07/mstein/cross-local/sh-elf-new/sh-elf/sys-include -L/home/mstein/sim/sh-elf/build/./ld -O2 -g -O2 -m2a -O2 -O2 -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -g -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I. -I../../.././gcc -I/n/07/mstein/combined-trunk/libgcc -I/n/07/mstein/combined-trunk/libgcc/. -I/n/07/mstein/combined-trunk/libgcc/../gcc -I/n/07/mstein/combined-trunk/libgcc/../include -I/n/07/mstein/combined-trunk/libgcc/../libdecnumber -I../../../libdecnumber -o _divdi3.o -MT _divdi3.o -MD -MP -MF _divdi3.dep -DL_divdi3 -c /n/07/mstein/combined-trunk/libgcc/../gcc/libgcc2.c \ -fexceptions -fnon-call-exceptions /n/07/mstein/combined-trunk/libgcc/../gcc/libgcc2.c: In function '__divdi3': /n/07/mstein/combined-trunk/libgcc/../gcc/libgcc2.c:1102: internal compiler error: in create_pre_exit, at mode-switching.c:352 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions. make[4]: *** [_divdi3.o] Error 1 make[4]: Leaving directory `/home/mstein/sim/sh-elf/build/sh-elf/m2a/libgcc' The SVN revision was 122728. -- Summary: Problem while compiling gcc for sh-elf Product: gcc Version: 4.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: mstein at phenix dot rootshell dot be GCC build triplet: i686-pc-linux-gnu GCC host triplet: i686-pc-linux-gnu GCC target triplet: sh-elf http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31111