Seems to be a known issue and probably fixed in gcc-7.4.0: https://bugs.gentoo.org/662208 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83317
This error is also used in the Gentoo gcc internal compiler error reporting wiki page: https://wiki.gentoo.org/wiki/Gcc-ICE-reporting-guide Am Mo., 20. Aug. 2018 um 08:23 Uhr schrieb Adam Carter < adamcart...@gmail.com>: > I just tried with MAKEOPTS="-j1" and got the same failure output at >> the same place. I normally run with the number equal to the number of >> cores. On this notebook MAKEOPTS="-j2". Are there any other >> memory-conserving tweaks available? >> > > I guess you've stopped all the non-essential services and programs. > > Does top or free -m confirm that you're running out of space? If so, you > could create a temporary swap file on an existing filesystem ( > https://www.cyberciti.biz/faq/linux-add-a-swap-file-howto/) or make a USB > drive into some temporary swap get you through the build > >