From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#21720: Building gcc fails at target s-attrtab Date: Sun, 25 Oct 2015 22:05:07 +0100 Message-ID: <87io5umzgc.fsf@gnu.org> References: <1445361729.24180.0@ara.uberspace.de> <874mhkb2iu.fsf@gnu.org> <56296B65.8000407@rpapsch.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43007) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZqSUR-0001CU-1K for bug-guix@gnu.org; Sun, 25 Oct 2015 17:06:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZqSUM-0004of-TZ for bug-guix@gnu.org; Sun, 25 Oct 2015 17:06:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:47538) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZqSUM-0004ob-Pk for bug-guix@gnu.org; Sun, 25 Oct 2015 17:06:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZqSUM-0004vd-GX for bug-guix@gnu.org; Sun, 25 Oct 2015 17:06:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <56296B65.8000407@rpapsch.de> (Aljosha Papsch's message of "Fri, 23 Oct 2015 01:04:05 +0200") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: Aljosha Papsch Cc: 21720@debbugs.gnu.org Aljosha Papsch skribis: > On 21.10.2015 18:38, Ludovic Court=C3=A8s wrote: [...] >> How much memory does this machine have? > It got 4GB of RAM but none of swap. dmesg really shows something, > please see attachment. I'll try hooking up some swap and see how it > goes. > > I'm curious: How did you compile gcc in the past, where resources were > even more scarce? Did you always have a good load of swap for it to > succeed? I remember the rule "swap is 2 times ram", though in recent > years some are convinced that it worn off given the ever bigger RAM. I regularly build it on my laptop, which has 8G of RAM and little swap. The build machines behind hydra.gnu.org all have more than 4G of RAM, I think. > [ 2779.152334] genattrtab invoked oom-killer: gfp_mask=3D0x280da, order= =3D0, oom_score_adj=3D0 Indeed, =E2=80=98genattrtab=E2=80=99 is a program in GCC used when building= it. It=E2=80=99s a problem that it needs so much memory. I would suggest reporting it if nobody did that already. Thanks, Ludo=E2=80=99.