From mboxrd@z Thu Jan 1 00:00:00 1970 From: Diego Nicola Barbato Subject: bug#34484: GCL: segfault on invocation on x86_64 and i686 Date: Mon, 11 Mar 2019 23:50:06 +0100 Message-ID: <87a7i1hvq9.fsf@GlaDOS.home> References: <877ee1ihec.fsf@GlaDOS.home> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([209.51.188.92]:46114) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h3TuG-0000xi-8X for bug-guix@gnu.org; Mon, 11 Mar 2019 19:00:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h3Tl8-0001xW-OM for bug-guix@gnu.org; Mon, 11 Mar 2019 18:51:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:54279) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1h3Tl7-0001vZ-VA for bug-guix@gnu.org; Mon, 11 Mar 2019 18:51:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1h3Tl7-0007Vw-MB for bug-guix@gnu.org; Mon, 11 Mar 2019 18:51:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <877ee1ihec.fsf@GlaDOS.home> (Diego Nicola Barbato's message of "Fri, 15 Feb 2019 09:29:31 +0100") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: 34484@debbugs.gnu.org Diego Nicola Barbato 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/kljywjw5a3wpcqk67p1isrrgy5yxgp2= 1-gcl-2.6.12-2.d3335e2.drv' may not be deterministic: output `/gnu/store/5z= zfw856c1acrmalsdznm1093mkvnwls-gcl-2.6.12-2.d3335e2' differs from =E2=80=98= /gnu/store/5zzfw856c1acrmalsdznm1093mkvnwls-gcl-2.6.12-2.d3335e2-check=E2= =80=99 > 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/p7r9c9kqf4gafik0a3q9fl0ry8hks99= f-gcl-2.6.12-2.d3335e2.drv' may not be deterministic: output `/gnu/store/cb= w0k4apa6qiqfm7g9j0lzfbzfk6mxj2-gcl-2.6.12-2.d3335e2' differs from =E2=80=98= /gnu/store/cbw0k4apa6qiqfm7g9j0lzfbzfk6mxj2-gcl-2.6.12-2.d3335e2-check=E2= =80=99 > 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 =E2=80=98--system=3Di686-linux=E2=80=99 to the build commands): --8<---------------cut here---------------start------------->8--- diego@GLaDOS ~$ guix gc --delete $(guix gc --list-dead |grep gcl-2)=20 [...] diego@GLaDOS ~$ $(guix build --substitute-urls=3Dhttps://mirror.hydra.gnu.o= rg 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.d3335= e2 =E2=80=A6 Lade von https://mirror.hydra.gnu.org/guix/nar/gzip/5zzfw856c1acrmalsdznm10= 93mkvnwls-gcl-2.6.12-2.d3335e2 herunter =E2=80=A6 gcl-2.6.12-2.d3335e2 6.8MiB 2.7MiB/s 00:03 [##################] 1= 00.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)=20 [...] diego@GLaDOS ~$ $(guix build --substitute-urls=3Dhttps://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.d3335= e2 =E2=80=A6 Lade von https://berlin.guixsd.org/nar/gzip/5zzfw856c1acrmalsdznm1093mkvnwl= s-gcl-2.6.12-2.d3335e2 herunter =E2=80=A6 gcl-2.6.12-2.d3335e2 6.7MiB 2.4MiB/s 00:03 [##################] 1= 00.0% Speicherzugriffsfehler --8<---------------cut here---------------end--------------->8--- --8<---------------cut here---------------start------------->8--- diego@GLaDOS ~$ guix gc --delete $(guix gc --list-dead |grep gcl-2)=20 [...] 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/5zzf= w856c1acrmalsdznm1093mkvnwls-gcl-2.6.12-2.d3335e2' differs from =E2=80=98/g= nu/store/5zzfw856c1acrmalsdznm1093mkvnwls-gcl-2.6.12-2.d3335e2-check=E2=80= =99 diego@GLaDOS ~$ /gnu/store/5zzfw856c1acrmalsdznm1093mkvnwls-gcl-2.6.12-2.d3= 335e2-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