http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58238
Bug ID: 58238 Summary: cc1 crashes when built for ms-dos cross-compiling Product: gcc Version: 4.7.3 Status: UNCONFIRMED Severity: normal Priority: P3 Component: other Assignee: unassigned at gcc dot gnu.org Reporter: mikulas at artax dot karlin.mff.cuni.cz Host: x86_64-unknown-linux-gnu Target: i586-pc-msdosdjgpp Build: x86_64-unknown-linux-gnu Configure gcc-4.7.3 with these options: ../gcc-4.7.3/configure \ --prefix=/usr/local/gcc-4.7.3/ \ --enable-languages=c \ --target=i586-pc-msdosdjgpp Run make. You get a gcc/cc1 executable that always crashes. If you look at i586-pc-msdosdjgpp/libgcc/config.log, there is: configure:3584: /usr/src/gcc-4.7.3-build/./gcc/xgcc -B/usr/src/gcc-4.7.3-build/. /gcc/ -B/usr/local/gcc-4.7.3/i586-pc-msdosdjgpp/bin/ -B/usr/local/gcc-4.7.3/i586 -pc-msdosdjgpp/lib/ -isystem /usr/local/gcc-4.7.3/i586-pc-msdosdjgpp/include -is ystem /usr/local/gcc-4.7.3/i586-pc-msdosdjgpp/sys-include -c -g -O2 conftest .c >&5 <built-in>:0:0: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. configure:3588: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "GNU C Runtime Library" | #define PACKAGE_TARNAME "libgcc" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "GNU C Runtime Library 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "http://www.gnu.org/software/libgcc/" | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | }