https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81818
--- Comment #8 from Andrew Roberts <andrewm.roberts at sky dot com> --- I've tried building gcc-8-20170806 and gcc-8-20170813 with --enable-gather-detailed-mem-stats This fails on x86-64, arm and aarch64 with the same error. The recently released 7.2.0 build ok on x86-64 at least, still testing the rest. Shall I file a separate bug report for gcc-8? The error is: /home/aroberts/gcc/gcc-build/./gcc/xgcc -B/home/aroberts/gcc/gcc-build/./gcc/ -xc -nostdinc /dev/null -S -o /dev/null -fself-test=../../gcc-8.0.0/gcc/testsuite/selftests xgcc: internal compiler error: Segmentation fault (program cc1) Please submit a full bug report, with preprocessed source if appropriate. See <https://gcc.gnu.org/bugs/> for instructions. make[2]: *** [Makefile:1952: s-selftest-c] Error 4 rm fsf-funding.pod gcov.pod gpl.pod cpp.pod gfdl.pod gcc.pod gcov-dump.pod gfortran.pod gcov-tool.pod make[2]: Leaving directory '/home/aroberts/gcc/gcc-build/gcc' make[1]: *** [Makefile:4305: all-gcc] Error 2 make[1]: Leaving directory '/home/aroberts/gcc/gcc-build' make: *** [Makefile:918: all] Error 2