On 13/10/20 07:48, J. Roeleveld wrote: > On Tuesday, October 13, 2020 8:28:01 AM CEST Andreas Fink wrote: >> On Tue, 13 Oct 2020 02:10:04 -0400 >> >> Jude DaShiell <jdash...@panix.com> wrote: >>> x86_64-pc-linux-gnu-g++: fatal error: Killed signal terminated >>> program cc1plus compilation terminated. >> >> These two lines stongly suggest that you ran out of memory while >> compilation. You could try to build it with only one job (-j1), >> currently you are using -j2. >> Another option would be to buy more RAM ;) >> And last but not least, you could increase your swap memory, but be >> prepared that your system becomes unresponsive and compilation will >> probably take forever. > > One more suggestion, your PORTAGE_TMPDIR is set to "/var/tmp". > By default, this is a tmpfs, which means it's all kept in RAM.
If that's true then somebody has ****ed up! /tmp is specified as "files may disappear at any time" /var/tmp is specified as "temporary storage that should survive a reboot" Okay, that's not the exact wording, but that is the effect. > > If your system is that low on RAM, you might want to change that to a > different location that is backed by a real disk. > The other thing about default tmpfs, is it defaults to half of ram. So it could actually be quite small. I explicitly set mine to be big, because I configure oodles of swap. Cheers, Wol