From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id sFgcK7yXAWIkQAAAgWs5BA (envelope-from ) for ; Mon, 07 Feb 2022 23:05:48 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id aAvDI7yXAWKMBwEAG6o9tA (envelope-from ) for ; Mon, 07 Feb 2022 23:05:48 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 378DB29011 for ; Mon, 7 Feb 2022 23:05:48 +0100 (CET) Received: from localhost ([::1]:45828 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nHC8n-0006eL-Pc for larch@yhetil.org; Mon, 07 Feb 2022 17:05:47 -0500 Received: from eggs.gnu.org ([209.51.188.92]:53580) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nHC4E-0004Os-Ji for bug-guix@gnu.org; Mon, 07 Feb 2022 17:01:06 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:50126) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nHC4E-0008JP-4U for bug-guix@gnu.org; Mon, 07 Feb 2022 17:01:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nHC4E-000565-42 for bug-guix@gnu.org; Mon, 07 Feb 2022 17:01:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#53506: guix-packages-base.drv leads to segfault on i686-linux Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 07 Feb 2022 22:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53506 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 53506@debbugs.gnu.org Received: via spool by 53506-submit@debbugs.gnu.org id=B53506.164427123819557 (code B ref 53506); Mon, 07 Feb 2022 22:01:02 +0000 Received: (at 53506) by debbugs.gnu.org; 7 Feb 2022 22:00:38 +0000 Received: from localhost ([127.0.0.1]:44023 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nHC3p-00055N-Tw for submit@debbugs.gnu.org; Mon, 07 Feb 2022 17:00:38 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:47828) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nHC3o-000555-AR for 53506@debbugs.gnu.org; Mon, 07 Feb 2022 17:00:37 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 5FF1435A for <53506@debbugs.gnu.org>; Mon, 7 Feb 2022 23:00:29 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id e2oK26mGu6Vb for <53506@debbugs.gnu.org>; Mon, 7 Feb 2022 23:00:28 +0100 (CET) Received: from ribbon (91-160-117-201.subs.proxad.net [91.160.117.201]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 0B7C7203 for <53506@debbugs.gnu.org>; Mon, 7 Feb 2022 23:00:27 +0100 (CET) From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87o841qdh4.fsf@inria.fr> <87czkhqcma.fsf@gnu.org> Date: Mon, 07 Feb 2022 23:00:27 +0100 In-Reply-To: <87czkhqcma.fsf@gnu.org> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Mon, 24 Jan 2022 18:15:09 +0100") Message-ID: <8735kue3r8.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spamd-Bar: / X-Rspamd-Server: hera X-Rspamd-Queue-Id: 5FF1435A X-Spamd-Result: default: False [-0.10 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[53506@debbugs.gnu.org]; RCPT_COUNT_ONE(0.00)[1]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1644271548; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=ZsRKtWkMXmYM/Sb5aO1hgiyIwXiuQpfMW8Ob1LGW52M=; b=CLyATW+iPLcmlqrOxAp308ji35OpQpsKa49jCjfFMSsEDFRz5PyYRna2dKwXW6JWboFkCw qX6oJfPJkmwQlY0u5Dxd3Xv5WQU6PX7tVDdB0bOmL0BgoRaLKEGEgLDXk2AEJjeyY4R7GT 7xJ0fuDlDTWd4fBMwaCANWbPJ56vPWGAmsxSIYIaisxTksRcp2qPOqtLuuwTd06a86R3fg JT12OieD0ZL7bf0qeeUxe5OYrnDuxoCDevQ54M8gtSKo5CRdQFi+dJZLniMlKheYXJ81T5 zaSC30zvtg1D2Q8CDaqwdeU6OsixcUwXWjQwsp1A72NwHJuLkz2Vc2r2IJvigQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1644271548; a=rsa-sha256; cv=none; b=N3dD/K2CDrt+AdW9CaIRTUkxIeB/z8yrcqU/qHGMXy1rbtPVpFg6Nkty3adBSXqGB+T/pl wCQwiGbjSxfmBPxVIOTNGIV6ei/tsxZY43AEUIc9X6Q81RtcL0ugI+A2uWqqBqyZpIyxtK 0lVxutMQ8CfYAMyEe34rBMo2PG/X7uvrAPAnOKbXu1TppqKOv7wTvWJvRl0pGLMQNM1SC4 gTH1K4Ui0w/2xyc4EVcxoKbE0RNr/EW5UAmVUDXmnT25sYtDTPYRM7z81nab2P14x/UC6y EZR1HiQ/kKhpkFmQDIGaf3oNDEfxOCpMVTEsCJxZWCNUwdlJlE/58rDFlnnGoQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.63 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 378DB29011 X-Spam-Score: -3.63 X-Migadu-Scanner: scn1.migadu.com X-TUID: jU5+NMo3S5sV Hi! Ludovic Court=C3=A8s skribis: > Ludovic Court=C3=A8s skribis: > >> =E2=80=98guix-packages-base.drv=E2=80=99 fails to build due to a Guile s= egfault (!): >> >> [653/656] compiling... 99.1% of 328 files[654/656] compiling... 99.4% = of 328 files[655/656] compiling... 99.7% of 328 filesGC Warning: Failed to= expand heap by 8388608 bytes >> GC Warning: Failed to expand heap by 8388608 bytes >> GC Warning: Failed to expand heap by 8388608 bytes >> >> [...] >> >> GC Warning: Failed to expand heap by 8388608 bytes >> GC Warning: Failed to expand heap by 8388608 bytes >> builder for `/gnu/store/cnrmdbcyy8r9bs2gl2kgpnyplivrzf5c-guix-packages-b= ase.drv' failed due to signal 11 (Segmentation fault) >> @ build-failed /gnu/store/cnrmdbcyy8r9bs2gl2kgpnyplivrzf5c-guix-packages= -base.drv - 1 builder for `/gnu/store/cnrmdbcyy8r9bs2gl2kgpnyplivrzf5c-guix= -packages-base.drv' failed due to signal 11 (Segmentation fault) > > On closer inspection, this is caused by OOM, with Guile peaking at 2.8G > resident (!) at that point, more than on x86_64. An update: with changes made in Guile =E2=80=9Cmain=E2=80=9D over the last = couple of weeks, memory consumption is 20% lower and compilation is 20% faster compared to 3.0.7 (on x86_64): --8<---------------cut here---------------start------------->8--- $ ./pre-inst-env time -f '%U seconds\n%M KiB' guile -c '(use-modules (syste= m base compile)) (compile-file "gnu/packages/crates-io.scm" #:optimization-= level 1)' 53.84 seconds 795972 KiB $ ./pre-inst-env time -f '%U seconds\n%M KiB' /data/src/guile-3.0/meta/guil= e -c '(use-modules (system base compile)) (compile-file "gnu/packages/crate= s-io.scm" #:optimization-level 1 #:opts (list #:inlinable-exports? #f #:res= olve-free-vars? #f))' 43.00 seconds 618724 KiB $ $ guile --version guile (GNU Guile) 3.0.7 Copyright (C) 2021 Free Software Foundation, Inc. License LGPLv3+: GNU LGPL 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. $ (cd /data/src/guile-3.0; git log | head -1) commit 2aed3c117c2d667ecca1e38a016f2cb4b524ab50 --8<---------------cut here---------------end--------------->8--- To be continued=E2=80=A6 Ludo=E2=80=99.