From mboxrd@z Thu Jan 1 00:00:00 1970 From: Aljosha Papsch Subject: bug#21720: Building gcc fails at target s-attrtab Date: Sun, 25 Oct 2015 13:35:22 +0100 Message-ID: <562CCC8A.80407@rpapsch.de> References: <1445361729.24180.0@ara.uberspace.de> <874mhkb2iu.fsf@gnu.org> <56296B65.8000407@rpapsch.de> <562A9EE4.3090702@rpapsch.de> <20151024233554.244e404b@debian-netbook> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52437) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZqOvo-0002Mh-9w for bug-guix@gnu.org; Sun, 25 Oct 2015 13:18:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZqOvj-0008HB-CK for bug-guix@gnu.org; Sun, 25 Oct 2015 13:18:08 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:47428) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZqOvj-0008H7-8z for bug-guix@gnu.org; Sun, 25 Oct 2015 13:18:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZqOvi-00080C-VZ for bug-guix@gnu.org; Sun, 25 Oct 2015 13:18:03 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <20151024233554.244e404b@debian-netbook> 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: Efraim Flashner Cc: 21720@debbugs.gnu.org On 24.10.2015 22:35, Efraim Flashner wrote: > the error message is near the end of the log: > ../../gcc-4.9.3/gcc/tree-ssa-ccp.c:2751:1: fatal error: error writing > to /tmp/nix-build-gcc-4.9.3.drv-0/cc5mntgw.s: No space left on device > } I assume /tmp is part of / on your system. How much free space do > you have there? That's where the building is done. That was the nudge in the right direction. I didn't think of /tmp being mounted as tmpfs, which lead to wrong assumption that guix had 85GB space left. /tmp is mounted with default options, which means size is half the RAM (2GB). To increase tmpfs size, I remounted /tmp with options "size=20G". These 20GB are backed by 50GB swap, which I increased by reusing an old partition of another system as swap. Now building zile suceeds and guix installed it successfully. I guess the bug can be closed now as it appears to be a sole issue of memory resources on this machine. Utilizing gnuplot again, the peak of RAM usage is at approx. 1.8GB, while swap usage is at approx. 1.3GB. The 20GB tmpfs and 50GB swap is a bit much and I'll reduce it to 3GB tmpfs and 6GB swap. I will see if this is sufficient in daily guix usage. Aljosha