In MSYS environment I try to build m68k cross compiler. Both gcc-3.4.5 and gcc-4.4.0 were used
The command /opt/gcc-build/./gcc/xgcc -B/opt/gcc-build/./gcc/ -B/usr/local/m68k-elf/bin/ -B/usr/local/m68k-elf/lib/ -isystem /usr/local/m68k-elf/include -isystem /usr/local/m68k-elf/sys-include -g -O2 -mcpu=51qe -Wa,-mno-mac -O2 -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wcast-qual -Wold-style-definition -isystem ./include -g -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I. -I../../.././gcc -I../../../../gcc_4_4_2_release/libgcc -I../../../../gcc_4_4_2_release/libgcc/. -I../../../../gcc_4_4_2_release/libgcc/../gcc -I../../../../gcc_4_4_2_release/libgcc/../include -DHAVE_CC_TLS -o _popcountdi2.o -MT _popcountdi2.o -MD -MP -MF _popcountdi2.dep -DL_popcountdi2 -c ../../../../gcc_4_4_2_release/libgcc/../gcc/libgcc2.c -save-temps caused ../../../../gcc_4_4_2_release/libgcc/../gcc/libgcc2.c: In function '__popcountdi2': ../../../../gcc_4_4_2_release/libgcc/../gcc/libgcc2.c:809: internal compiler error: Segmentation fault -- Summary: libgcc fails to compile with segmentation fault Product: gcc Version: 4.4.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: onlite at gmail dot com GCC build triplet: i686-pc-mingw32 GCC host triplet: i686-pc-mingw32 GCC target triplet: m68k-unknown-elf http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42759