https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96492
Bug ID: 96492 Summary: <built-in>: internal compiler error: Segmentation fault Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: townsend at astro dot wisc.edu Target Milestone: --- I'm attempting to build 10.2 from within a Docker container based on Centos 5.11, which ships with glibc 2.5 and gcc 4.1.2. (The reason I'm doing this is I'm building a gcc-based SDK that should be able to run on crusty old systems). I'm configuring with the following options: ../gcc/configure --build=x86_64-pc-linux-gnu --prefix=/home/user/sdk2-tmp/mesasdk --with-mpc=/home/user/sdk2-tmp/mesasdk --with-mpfr=/home/user/sdk2-tmp/mesasdk --with-gmp=/home/user/sdk2-tmp/mesasdk --disable-multilib --disable-nls --disable-libsanitizer --enable-languages=c,c++,fortran During the build (make -j), I get ICEs: /home/user/sdk2-tmp/build/gcc-build/./gcc/xgcc -B/home/user/sdk2-tmp/build/gcc-build/./gcc/ -xc -nostdinc /dev/null -S -o /dev/null -fself-test=../../gcc/gcc/testsuite/selftests <built-in>: internal compiler error: Segmentation fault <built-in>: internal compiler error: Segmentation fault /home/user/sdk2-tmp/build/gcc-build/./gcc/xgcc -B/home/user/sdk2-tmp/build/gcc-build/./gcc/ -xc++ -nostdinc /dev/null -S -o /dev/null -fself-test=../../gcc/gcc/testsuite/selftests <built-in>: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <https://gcc.gnu.org/bugs/> for instructions. make[3]: *** [s-selftest-c] Error 1 make[3]: *** Waiting for unfinished jobs.... Please submit a full bug report, with preprocessed source if appropriate. See <https://gcc.gnu.org/bugs/> for instructions. /bin/sh ../../gcc/gcc/../move-if-change tmp-macro_list macro_list Please submit a full bug report, with preprocessed source if appropriate. See <https://gcc.gnu.org/bugs/> for instructions. make[3]: *** [s-selftest-c++] Error 1 echo timestamp > s-macro_list rm gfortran.pod gcc.pod make[3]: Leaving directory `/home/user/sdk2-tmp/build/gcc-build/gcc' make[2]: *** [all-stage2-gcc] Error 2 make[2]: Leaving directory `/home/user/sdk2-tmp/build/gcc-build' make[1]: *** [stage2-bubble] Error 2 make[1]: Leaving directory `/home/user/sdk2-tmp/build/gcc-build' make: *** [all] Error 2 Full build log is attached. cheers, Rich