GNU bug report logs - #72325
[PATCH] gnu: sbcl: Fix startup error on i686-linux.

Previous Next

Package: guix-patches;

Reported by: Dariqq <dariqq <at> posteo.net>

Date: Sat, 27 Jul 2024 19:09:02 UTC

Severity: normal

Tags: patch

Done: Guillaume Le Vaillant <glv <at> posteo.net>

Bug is archived. No further changes may be made.

Full log


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

From: Dariqq <dariqq <at> posteo.net>
To: guix-patches <at> gnu.org
Cc: Dariqq <dariqq <at> posteo.net>
Subject: [PATCH] gnu: sbcl: Fix startup error on i686-linux.
Date: Sat, 27 Jul 2024 18:58:05 +0000
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(-)

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"

base-commit: c6ff1d6ff761af0bd9bac5403fd834f04a14a192
-- 
2.45.2





This bug report was last modified 274 days ago.

Previous Next


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