Subject: Re: bug#71211: %guile-static-stripped crashes with a sigsegv (i.e. the guile used in the initrd (?))

From: Ludovic Courtès <[email-masked]>
Date: Mon, 22 Jul 2024 09:20:35 +0200

Hi,

Attila Lendvai <[email-masked]> skribis:

> guix shell -e '(begin (use-modules (gnu packages make-bootstrap)) %guile-static-stripped)'
>
> and then start guile. or alternatively:
>
> guile -c '(use-modules (ice-9 readline))'

Indeed:

--8<---------------cut here---------------start------------->8---
$ guix shell guile-static-stripped -- guile -c '(use-modules (ice-9 readline))'
$ echo $?
139
--8<---------------cut here---------------end--------------->8---

It’s hard to see exactly where it segfaults, but it’s not surprising:
it’s built with a different libc than the ‘guile-readline’ package I’ve
installed, and it’s not capable of dlopening things.  That’s a
restriction we have to be aware of, but that’s ok.

Thanks,
Ludo’.