From patchwork Sat Jul 27 18:58:05 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dariqq X-Patchwork-Id: 66530 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 29CEA27BBEA; Sat, 27 Jul 2024 20:09:07 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_VALIDITY_CERTIFIED, RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE,SPF_HELO_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 7A7DA27BBE2 for ; Sat, 27 Jul 2024 20:09:06 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sXmmn-0006Zc-4w; Sat, 27 Jul 2024 15:08:57 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sXmmj-0006ZD-T9 for guix-patches@gnu.org; Sat, 27 Jul 2024 15:08:54 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sXmmj-0001NC-Jn for guix-patches@gnu.org; Sat, 27 Jul 2024 15:08:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:Subject; bh=g3yAMM0EE7Cu6WXdWrQ2l58iUqdUM/+BeU/qYIJ8gvQ=; b=k3VoqY3y965jJ/VUuHqdr8GJL6g68QaRZylptrGwOOtDepGodIr963jdR8UQBf6Ejod9FF/QUjDsE2lulMbZ+ZsfsywNP4IBncWyUO7oVLXREC6IE20D665O9da3GpkQgMX4/EbZLQi/0CWCOcM54Qf/mqYLqXXFpxUmwgFdiKxBw4mavCXFhN+IHgAqKBGGke7gv4DkF1V7FqRcHY/JG6uGLhUSF+BlDyR3PLRNLQMIF/rhFDNmalmghCwnHskx1STlyVcNK46NYq1msVmeRf3DnrFovBCcNiqjbdU1QSqE+tY09wz7byiR6l/215tOIaukciGypt5p0vNJuFuLNw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sXmms-0004za-It; Sat, 27 Jul 2024 15:09:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72325] [PATCH] gnu: sbcl: Fix startup error on i686-linux. Resent-From: Dariqq Original-Sender: "Debbugs-submit" Resent-CC: glv@posteo.net, cox.katherine.e+guix@gmail.com, me@bonfacemunyoki.com, sharlatanus@gmail.com, jgart@dismail.de, guix-patches@gnu.org Resent-Date: Sat, 27 Jul 2024 19:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 72325 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 72325@debbugs.gnu.org Cc: Dariqq , Guillaume Le Vaillant , Katherine Cox-Buday , Munyoki Kilyungi , Sharlatan Hellseher , jgart X-Debbugs-Original-To: guix-patches@gnu.org X-Debbugs-Original-Xcc: Guillaume Le Vaillant , Katherine Cox-Buday , Munyoki Kilyungi , Sharlatan Hellseher , jgart Received: via spool by submit@debbugs.gnu.org id=B.172210732119141 (code B ref -1); Sat, 27 Jul 2024 19:09:02 +0000 Received: (at submit) by debbugs.gnu.org; 27 Jul 2024 19:08:41 +0000 Received: from localhost ([127.0.0.1]:42418 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sXmmX-0004ye-1b for submit@debbugs.gnu.org; Sat, 27 Jul 2024 15:08:41 -0400 Received: from lists.gnu.org ([209.51.188.17]:44966) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sXmmU-0004yT-FD for submit@debbugs.gnu.org; Sat, 27 Jul 2024 15:08:39 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sXmmJ-0006CI-Oi for guix-patches@gnu.org; Sat, 27 Jul 2024 15:08:27 -0400 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sXmmH-0001HI-Qm for guix-patches@gnu.org; Sat, 27 Jul 2024 15:08:27 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id E27D4240101 for ; Sat, 27 Jul 2024 21:08:20 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1722107300; bh=I8Fgr3E+pah81W+KiYqSH9+qGqIdAXXy+fo08K9739Q=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=DfqHvNIxB/4trL30wRLeccdYuswwok/hFCfi6VGLqR4bGLu0cfle4l1TMWEV+ewuR u2jHN1dOq19redBMYX7SiIotPxb34HtXtvrR2h4Plds4Km3wTaipJZ+8DCXQRU7SEo 3yEnm6dW8E9YCkU13uk43AG0M8NfvrTnh6nmi1s28NA/aER3xwH1/o4NYYSJmulBmB NfYuxpEBgYy2mG4N80Ml0u0GxOjf1xPAF71d4tV2BKi3+CMYk+IkfnOvredhxJJpQQ 9Kz74Ita8laq1DRc42sZ9mKldFA8dHbvAHejQuoV61m2UiBV74mEn7iE9WWMoea0Su NAuVV1fFlWDuA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4WWZ042587z9rxF; Sat, 27 Jul 2024 21:08:20 +0200 (CEST) From: Dariqq Date: Sat, 27 Jul 2024 18:58:05 +0000 Message-ID: MIME-Version: 1.0 Received-SPF: pass client-ip=185.67.36.66; envelope-from=dariqq@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches Fixes https://issues.guix.gnu.org/69106. * gnu/packages/lisp.scm (sbcl) [#phases]: Invoke make.sh with smaller dynamic-space-size when building for x86-32. Change-Id: I08e8d2304d883973ab9a1b6a900ea9ee1679fac5 --- Played around with a 32 bit machine today and encountered this issue which has already been reported. As the check for the target happens inside a gexp this only causes rebuilds for i686-linux and not all architectures. gnu/packages/lisp.scm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) base-commit: c6ff1d6ff761af0bd9bac5403fd834f04a14a192 diff --git a/gnu/packages/lisp.scm b/gnu/packages/lisp.scm index 97f7dd357b..16ce1f25b6 100644 --- a/gnu/packages/lisp.scm +++ b/gnu/packages/lisp.scm @@ -1425,8 +1425,9 @@ (define-public sbcl `("clisp"))) (string-append "--prefix=" (assoc-ref outputs "out")) - ,@(if (target-ppc32?) - ;; 3072 is too much for this architecture. + ,@(if (or (target-ppc32?) + (target-x86-32?)) + ;; 3072 is too much for these architecture. `("--dynamic-space-size=2048") `("--dynamic-space-size=3072")) "--with-sb-core-compression"