GNU bug report logs -
#40908
[PATCH core-updates 0/5] Use Guile 3.0 in the initrd
Previous Next
Reported by: Marius Bakke <mbakke <at> fastmail.com>
Date: Mon, 27 Apr 2020 18:21:01 UTC
Severity: normal
Tags: patch
Done: Marius Bakke <mbakke <at> fastmail.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your bug report
#40908: [PATCH core-updates 0/5] Use Guile 3.0 in the initrd
which was filed against the guix-patches package, has been closed.
The explanation is attached below, along with your original report.
If you require more details, please reply to 40908 <at> debbugs.gnu.org.
--
40908: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=40908
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
[Message part 3 (text/plain, inline)]
Ludovic Courtès <ludo <at> gnu.org> writes:
> Hi,
>
> Marius Bakke <mbakke <at> fastmail.com> skribis:
>
>> * gnu/packages/make-bootstrap.scm (%guile-static-stripped): Remove export.
>> ---
>> gnu/packages/make-bootstrap.scm | 4 +---
>> 1 file changed, 1 insertion(+), 3 deletions(-)
>>
>> diff --git a/gnu/packages/make-bootstrap.scm b/gnu/packages/make-bootstrap.scm
>> index 443e778824..981c7aa24e 100644
>> --- a/gnu/packages/make-bootstrap.scm
>> +++ b/gnu/packages/make-bootstrap.scm
>> @@ -56,9 +56,7 @@
>> %guile-bootstrap-tarball
>> %mescc-tools-bootstrap-tarball
>> %mes-bootstrap-tarball
>> - %bootstrap-tarballs
>> -
>> - %guile-static-stripped))
>
> Are you sure it’s unused?
>
> Actually, what about simply adding ‘%guile-3.0-static-stripped’ right in
> this file? I think it would work, right? And we could also keep
> ‘make-guile-static’ private.
Right, that is better. Done!
> Apart from this, the patch series LGTM! Pretty exciting to have a JIT
> in the initrd. ;-)
Heh, my main motivation for these patches was to remove scary warnings
about incompatible bytecode during boot, but we also boot faster as a
side effect! :-)
Patches pushed!
I think we are pretty close to actually merging this branch now..!
[signature.asc (application/pgp-signature, inline)]
[Message part 5 (message/rfc822, inline)]
Guix,
These patches changes the initrd to use Guile 3.0. By default it uses
%GUILE-STATIC-STRIPPED from (gnu packages make-bootstrap), which on the
core-updates branch refers to Guile 2.0.
It is suboptimal to define this new static Guile variant straight in
(gnu system linux-initrd), but adding it to (gnu packages guile) would
cause a cyclic module reference with (gnu packages make-bootstrap).
WDYT?
Marius Bakke (5):
gnu: %guile-static: Rewrite in terms of 'make-guile-static'.
gnu: %guile-static-stripped: Rewrite in terms of
'make-guile-static-stripped'.
gnu: make-bootstrap: Export MAKE-GUILE-STATIC and
MAKE-GUILE-STATIC-STRIPPED.
linux-initrd: Use Guile 3.0.
gnu: make-bootstrap: Do not export %GUILE-STATIC-STRIPPED.
gnu/local.mk | 7 +-
gnu/packages/make-bootstrap.scm | 161 ++++----
.../patches/guile-2.2-default-utf8.patch | 82 ++++
.../patches/guile-3.0-linux-syscalls.patch | 353 ++++++++++++++++++
.../patches/guile-3.0-relocatable.patch | 79 ++++
gnu/system/linux-initrd.scm | 10 +-
6 files changed, 611 insertions(+), 81 deletions(-)
create mode 100644 gnu/packages/patches/guile-2.2-default-utf8.patch
create mode 100644 gnu/packages/patches/guile-3.0-linux-syscalls.patch
create mode 100644 gnu/packages/patches/guile-3.0-relocatable.patch
--
2.26.2
This bug report was last modified 5 years and 80 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.