From mboxrd@z Thu Jan  1 00:00:00 1970
From: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@gnu.org>
Subject: bug#34427: guile-bootstrap@2.2 segfault?
Date: Tue, 12 Feb 2019 15:27:37 +0100
Message-ID: <87y36ljd46.fsf@gnu.org>
References: <20190211091136.GA3284@macbook41>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Return-path: <bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org>
Received: from eggs.gnu.org ([209.51.188.92]:59426)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1gtZ2Z-0001ss-WD
	for bug-guix@gnu.org; Tue, 12 Feb 2019 09:28:04 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1gtZ2Z-0004OS-55
	for bug-guix@gnu.org; Tue, 12 Feb 2019 09:28:03 -0500
Received: from debbugs.gnu.org ([209.51.188.43]:45241)
	by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
	(Exim 4.71) (envelope-from <Debian-debbugs@debbugs.gnu.org>)
	id 1gtZ2Y-0004Nx-P2
	for bug-guix@gnu.org; Tue, 12 Feb 2019 09:28:03 -0500
Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
	(envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1gtZ2Y-0002sz-JO
	for bug-guix@gnu.org; Tue, 12 Feb 2019 09:28:02 -0500
Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
Resent-Message-ID: <handler.34427.B34427.154998166611062@debbugs.gnu.org>
In-Reply-To: <20190211091136.GA3284@macbook41> (Efraim Flashner's message of
	"Mon, 11 Feb 2019 11:11:36 +0200")
List-Id: Bug reports for GNU Guix <bug-guix.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-guix>,
	<mailto:bug-guix-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-guix/>
List-Post: <mailto:bug-guix@gnu.org>
List-Help: <mailto:bug-guix-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-guix>,
	<mailto:bug-guix-request@gnu.org?subject=subscribe>
Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org
Sender: "bug-Guix" <bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org>
To: Efraim Flashner <efraim@flashner.co.il>
Cc: 34427@debbugs.gnu.org

Hello Efraim,

Efraim Flashner <efraim@flashner.co.il> skribis:

> I'm testing %bootstrap-guile from bootstrap.scm and I'm getting a
> segfault when runing guile --version. I've attached an strace of the
> process.

To be clear, I believe this is for a *cross-compiled* Guile, right?

The natively-built binary on x86_64-linux works fine:

--8<---------------cut here---------------start------------->8---
$ unshare -mrf chroot $(guix build guile-static-stripped) ./bin/guile --ver=
sion
guile: warning: failed to install locale
GC Warning: pthread_getattr_np or pthread_attr_getstack failed for main thr=
ead
GC Warning: Couldn't read /proc/stat
guile (GNU Guile) 2.2.4
Copyright (C) 2018 Free Software Foundation, Inc.

License LGPLv3+: GNU LGPL 3 or later <http://gnu.org/licenses/lgpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
$ guix describe
Generacio 61	Feb 12 2019 11:14:38	(nuna)
  guix c86b5f1
    repository URL: https://git.savannah.gnu.org/git/guix.git
    branch: master
    commit: c86b5f1b9bdfdd478ba15804f9343feb8d9c019b
$ uname -m
x86_64
--8<---------------cut here---------------end--------------->8---

Since I saw a build failure similar to the one you mention when
cross-building for GNU/Hurd, I=E2=80=99m tempted to think this has to do wi=
th
cross-compilation.

Thanks,
Ludo=E2=80=99.