From: Diego Nicola Barbato <dnbarbato@posteo.de>
To: 34484@debbugs.gnu.org
Subject: bug#34484: GCL: segfault on invocation on x86_64 and i686
Date: Mon, 11 Mar 2019 23:50:06 +0100 [thread overview]
Message-ID: <87a7i1hvq9.fsf@GlaDOS.home> (raw)
In-Reply-To: <877ee1ihec.fsf@GlaDOS.home> (Diego Nicola Barbato's message of "Fri, 15 Feb 2019 09:29:31 +0100")
Diego Nicola Barbato <dnbarbato@posteo.de> writes:
> Hello Guix,
>
> GCL segfaults upon execution on x86_64 and i686. This is most likely
> the reason why Maxima fails to build on those architectures [0] [1].
>
> This is what I tried:
>
>
> diego@GLaDOS ~$ guix build gcl
> /gnu/store/5zzfw856c1acrmalsdznm1093mkvnwls-gcl-2.6.12-2.d3335e2
> diego@GLaDOS ~$ /gnu/store/5zzfw856c1acrmalsdznm1093mkvnwls-gcl-2.6.12-2.d3335e2/bin/gcl
> Speicherzugriffsfehler
> diego@GLaDOS ~$ guix build -s i686-linux gcl
> /gnu/store/cbw0k4apa6qiqfm7g9j0lzfbzfk6mxj2-gcl-2.6.12-2.d3335e2
> diego@GLaDOS ~$ /gnu/store/cbw0k4apa6qiqfm7g9j0lzfbzfk6mxj2-gcl-2.6.12-2.d3335e2/bin/gcl
> Speicherzugriffsfehler
>
>
> I also tried building GCL locally to check if this was something
> non-deterministic with the same result:
>
>
> diego@GLaDOS ~$ guix build gcl --check --keep-failed
>
> [...]
>
> phase `compress-documentation' succeeded after 0.1 seconds
> note: keeping build directory `/tmp/guix-build-gcl-2.6.12-2.d3335e2.drv-4'
> guix build: error: derivation `/gnu/store/kljywjw5a3wpcqk67p1isrrgy5yxgp21-gcl-2.6.12-2.d3335e2.drv' may not be deterministic: output `/gnu/store/5zzfw856c1acrmalsdznm1093mkvnwls-gcl-2.6.12-2.d3335e2' differs from ‘/gnu/store/5zzfw856c1acrmalsdznm1093mkvnwls-gcl-2.6.12-2.d3335e2-check’
> diego@GLaDOS ~$ /gnu/store/5zzfw856c1acrmalsdznm1093mkvnwls-gcl-2.6.12-2.d3335e2-check/bin/gcl
> Speicherzugriffsfehler
> diego@GLaDOS ~$ guix build gcl -s i686-linux --check --keep-failed
>
> [...]
>
> phase `compress-documentation' succeeded after 0.1 seconds
> note: keeping build directory `/tmp/guix-build-gcl-2.6.12-2.d3335e2.drv-3'
> guix build: error: derivation `/gnu/store/p7r9c9kqf4gafik0a3q9fl0ry8hks99f-gcl-2.6.12-2.d3335e2.drv' may not be deterministic: output `/gnu/store/cbw0k4apa6qiqfm7g9j0lzfbzfk6mxj2-gcl-2.6.12-2.d3335e2' differs from ‘/gnu/store/cbw0k4apa6qiqfm7g9j0lzfbzfk6mxj2-gcl-2.6.12-2.d3335e2-check’
> diego@GLaDOS ~$ /gnu/store/cbw0k4apa6qiqfm7g9j0lzfbzfk6mxj2-gcl-2.6.12-2.d3335e2-check/bin/gcl
> Speicherzugriffsfehler
>
> GCL works fine on armhf (I did not try it on aarch64).
>
> I run Guix System (commit: 571a01d) on x86_64.
>
> Regards,
>
> Diego
>
>
> [0]: https://berlin.guixsd.org/build/943168 (x86_64)
> [1]: https://berlin.guixsd.org/build/943189 (i686)
Some additional information:
GCL does not segfault if I get the substitute from hydra (where Maxima
builds successfully). It does segfault (on the aforementioned
architectures) if I get the substitute from berlin (where Maxima fails
to build) and if I build it locally.
Here is what I have tried (I get the same results when passing
‘--system=i686-linux’ to the build commands):
--8<---------------cut here---------------start------------->8---
diego@GLaDOS ~$ guix gc --delete $(guix gc --list-dead |grep gcl-2)
[...]
diego@GLaDOS ~$ $(guix build --substitute-urls=https://mirror.hydra.gnu.org gcl)/bin/gcl
7.1 MB werden heruntergeladen:
/gnu/store/5zzfw856c1acrmalsdznm1093mkvnwls-gcl-2.6.12-2.d3335e2
Substituiere /gnu/store/5zzfw856c1acrmalsdznm1093mkvnwls-gcl-2.6.12-2.d3335e2 …
Lade von https://mirror.hydra.gnu.org/guix/nar/gzip/5zzfw856c1acrmalsdznm1093mkvnwls-gcl-2.6.12-2.d3335e2 herunter …
gcl-2.6.12-2.d3335e2 6.8MiB 2.7MiB/s 00:03 [##################] 100.0%
GCL (GNU Common Lisp) 2.6.12 ANSI Fri Apr 22 15:51:11 UTC 2016
Source License: LGPL(gcl,gmp), GPL(unexec,bfd,xgcl)
Binary License: GPL due to GPL'ed components: (READLINE UNEXEC)
Modifications of this banner must retain notice of a compatible license
Dedicated to the memory of W. Schelter
Use (help) to get some basic information on how to use GCL.
Temporary directory for compiler files:
/tmp/
>
--8<---------------cut here---------------end--------------->8---
--8<---------------cut here---------------start------------->8---
diego@GLaDOS ~$ guix gc --delete $(guix gc --list-dead |grep gcl-2)
[...]
diego@GLaDOS ~$ $(guix build --substitute-urls=https://berlin.guixsd.org gcl)/bin/gcl
7.1 MB werden heruntergeladen:
/gnu/store/5zzfw856c1acrmalsdznm1093mkvnwls-gcl-2.6.12-2.d3335e2
Substituiere /gnu/store/5zzfw856c1acrmalsdznm1093mkvnwls-gcl-2.6.12-2.d3335e2 …
Lade von https://berlin.guixsd.org/nar/gzip/5zzfw856c1acrmalsdznm1093mkvnwls-gcl-2.6.12-2.d3335e2 herunter …
gcl-2.6.12-2.d3335e2 6.7MiB 2.4MiB/s 00:03 [##################] 100.0%
Speicherzugriffsfehler
--8<---------------cut here---------------end--------------->8---
--8<---------------cut here---------------start------------->8---
diego@GLaDOS ~$ guix gc --delete $(guix gc --list-dead |grep gcl-2)
[...]
diego@GLaDOS ~$ guix build --check --keep-failed gcl
[...]
guix build: error: derivation `/gnu/store/k5ygbl35phqr31bbnmkhsay4akw7l9ja-gcl-2.6.12-2.d3335e2.drv' may not be deterministic: output `/gnu/store/5zzfw856c1acrmalsdznm1093mkvnwls-gcl-2.6.12-2.d3335e2' differs from ‘/gnu/store/5zzfw856c1acrmalsdznm1093mkvnwls-gcl-2.6.12-2.d3335e2-check’
diego@GLaDOS ~$ /gnu/store/5zzfw856c1acrmalsdznm1093mkvnwls-gcl-2.6.12-2.d3335e2-check/bin/gcl
Speicherzugriffsfehler
--8<---------------cut here---------------end--------------->8---
I have built GCL locally a couple of times and it always segfaults.
My Guix is currently on commit 0bd1498.
Regards,
Diego
next prev parent reply other threads:[~2019-03-11 23:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-02-15 8:29 bug#34484: GCL: segfault on invocation on x86_64 and i686 Diego Nicola Barbato
2019-03-11 22:50 ` Diego Nicola Barbato [this message]
2019-09-27 7:00 ` Diego Nicola Barbato
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=87a7i1hvq9.fsf@GlaDOS.home \
--to=dnbarbato@posteo.de \
--cc=34484@debbugs.gnu.org \
/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).