--- Begin Message ---
Subject: |
[PATCH 2/2] gnu: %guile-static-3.0: New variable. |
Date: |
Wed, 14 Dec 2022 15:12:56 -0500 |
* gnu/packages/make-bootstrap.scm (%guile-static-3.0): New variable.
(%guile-static-stripped): Use it.
---
gnu/packages/make-bootstrap.scm | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/gnu/packages/make-bootstrap.scm b/gnu/packages/make-bootstrap.scm
index 24855f6b28..a0999cb477 100644
--- a/gnu/packages/make-bootstrap.scm
+++ b/gnu/packages/make-bootstrap.scm
@@ -748,6 +748,12 @@ (define %guile-static
"guile-default-utf8.patch"
"guile-linux-syscalls.patch")))
+(define %guile-static-3.0
+ (make-guile-static guile-3.0-latest
+ '("guile-2.2-default-utf8.patch"
+ "guile-3.0-linux-syscalls.patch"
+ "guile-3.0-relocatable.patch")))
+
(define* (make-guile-static-stripped static-guile)
(package
(inherit static-guile)
@@ -796,11 +802,7 @@ (define* (make-guile-static-stripped static-guile)
(define %guile-static-stripped
;; A stripped static Guile 3.0 binary, for use in initrds
;; and during bootstrap.
- (make-guile-static-stripped
- (make-guile-static guile-3.0-latest
- '("guile-2.2-default-utf8.patch"
- "guile-3.0-linux-syscalls.patch"
- "guile-3.0-relocatable.patch"))))
+ (make-guile-static-stripped %guile-static-3.0))
(define (tarball-package pkg)
"Return a package containing a tarball of PKG."
--
2.38.1
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#60072: [PATCH 2/2] gnu: %guile-static-3.0: New variable. |
Date: |
Tue, 03 Jan 2023 16:20:10 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) |
Hello,
Maxim Cournoyer <maxim.cournoyer@gmail.com> writes:
> * gnu/packages/make-bootstrap.scm (%guile-static-stripped): Use
> guile-3.0-latest, currently at 3.0.8. This resolves a segfault in the Guix
> System Linux initrd when running Guile 3.0.7 on a Cortex A9 CPU (NXP i.MX6
> Quad).
Applied, closing.
--
Thanks,
Maxim
--- End Message ---