GNU bug report logs - #21720
Building gcc fails at target s-attrtab

Previous Next

Package: guix;

Reported by: Aljosha Papsch <lists <at> rpapsch.de>

Date: Tue, 20 Oct 2015 17:33:01 UTC

Severity: normal

Tags: notabug

Done: ludo <at> gnu.org (Ludovic Courtès)

Bug is archived. No further changes may be made.

Full log


Message #32 received at 21720 <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Aljosha Papsch <lists <at> rpapsch.de>
Cc: 21720 <at> debbugs.gnu.org
Subject: Re: bug#21720: Building gcc fails at target s-attrtab
Date: Sun, 25 Oct 2015 22:05:07 +0100
Aljosha Papsch <lists <at> rpapsch.de> skribis:

> On 21.10.2015 18:38, Ludovic Courtès 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=0x280da, order=0, oom_score_adj=0

Indeed, ‘genattrtab’ is a program in GCC used when building it.  It’s a
problem that it needs so much memory.  I would suggest reporting it if
nobody did that already.

Thanks,
Ludo’.




This bug report was last modified 9 years and 212 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.