unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Dariqq <dariqq@posteo.net>
To: 72325@debbugs.gnu.org
Cc: Dariqq <dariqq@posteo.net>,
	Guillaume Le Vaillant <glv@posteo.net>,
	Katherine Cox-Buday <cox.katherine.e+guix@gmail.com>,
	Munyoki Kilyungi <me@bonfacemunyoki.com>,
	Sharlatan Hellseher <sharlatanus@gmail.com>,
	jgart <jgart@dismail.de>
Subject: [bug#72325] [PATCH] gnu: sbcl: Fix startup error on i686-linux.
Date: Sat, 27 Jul 2024 18:58:05 +0000	[thread overview]
Message-ID: <bc7a69bf61485bf3000a30ff8bb646b708346c8c.1722106685.git.dariqq@posteo.net> (raw)

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





             reply	other threads:[~2024-07-27 19:09 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-27 18:58 Dariqq [this message]
2024-08-22  8:02 ` bug#72325: [PATCH] gnu: sbcl: Fix startup error on i686-linux Guillaume Le Vaillant

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bc7a69bf61485bf3000a30ff8bb646b708346c8c.1722106685.git.dariqq@posteo.net \
    --to=dariqq@posteo.net \
    --cc=72325@debbugs.gnu.org \
    --cc=cox.katherine.e+guix@gmail.com \
    --cc=glv@posteo.net \
    --cc=jgart@dismail.de \
    --cc=me@bonfacemunyoki.com \
    --cc=sharlatanus@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).