From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id MBwiIzakVWKi3gAAgWs5BA (envelope-from ) for ; Tue, 12 Apr 2022 18:09:26 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 4I3CHzakVWLNKgAAauVa8A (envelope-from ) for ; Tue, 12 Apr 2022 18:09:26 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 80A27A857 for ; Tue, 12 Apr 2022 18:09:25 +0200 (CEST) Received: from localhost ([::1]:42318 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1neJ52-0005aA-MH for larch@yhetil.org; Tue, 12 Apr 2022 12:09:24 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47760) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1neIxu-00062p-Gg for bug-guix@gnu.org; Tue, 12 Apr 2022 12:02:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:55571) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1neIxu-0001lW-37 for bug-guix@gnu.org; Tue, 12 Apr 2022 12:02:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1neIxt-0005nR-Q4 for bug-guix@gnu.org; Tue, 12 Apr 2022 12:02:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#34427: guile-bootstrap@2.2 segfault? Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 12 Apr 2022 16:02:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34427 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Efraim Flashner Received: via spool by 34427-submit@debbugs.gnu.org id=B34427.164977931022262 (code B ref 34427); Tue, 12 Apr 2022 16:02:01 +0000 Received: (at 34427) by debbugs.gnu.org; 12 Apr 2022 16:01:50 +0000 Received: from localhost ([127.0.0.1]:49468 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1neIxi-0005n0-64 for submit@debbugs.gnu.org; Tue, 12 Apr 2022 12:01:50 -0400 Received: from eggs.gnu.org ([209.51.188.92]:54382) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1neIxh-0005mj-6e for 34427@debbugs.gnu.org; Tue, 12 Apr 2022 12:01:49 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:41002) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1neIxa-0001jA-Bx; Tue, 12 Apr 2022 12:01:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=ZkeOsykqS9YahV6ZijV0iPrKpPf4O7f1HKdgsWuqPFw=; b=W9bFbDOOOX6ZP7HhTaxy Vmn2D7QxXbODGwtwqICOUqZ0s0YgFm6drq8g5KdfGmUU6CVzTtVbJOhieB/ZbqgqfIQUtrK1VbaHT NocaRbC6VAUAAu2OCk4TZduzQcALSVyWGCYZ0GjelJh5lfuIKstWXQ0+VmBhUR5p/27q7ElcfLczm n7CQiepn1VHHQjQcAWaRDVSAtNSR17Impn5iw4VOw/hhno8MZztkBScGxibD6VdiO9IyaZ/lUscSZ F1Rw/zmiCD/eK0liR9Jj9xDP3U6uoFBl/rZ/+S3S9+4v/EQEOe56MT2yXzKZqJMgTuyPFvek4YyGX UzpZzdJ9eOsw5Q==; Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=48912 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1neIxZ-0004nx-2A; Tue, 12 Apr 2022 12:01:42 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <20190211091136.GA3284@macbook41> <87y36ljd46.fsf@gnu.org> <20190212154434.GD3284@macbook41> Date: Tue, 12 Apr 2022 18:01:39 +0200 In-Reply-To: <20190212154434.GD3284@macbook41> (Efraim Flashner's message of "Tue, 12 Feb 2019 17:44:34 +0200") Message-ID: <87sfqicmu4.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 34427@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1649779765; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=ZkeOsykqS9YahV6ZijV0iPrKpPf4O7f1HKdgsWuqPFw=; b=nglja/1FobI7y5b+48hCU/UfRQsjxwqKxaU8iUwRtFdUlOx9xL4I5V+RfpOEdT2GRW3kRx vDP/cAOcY/hx3ZrSf71ooW5TH8dM1ksIrZJGxA8QUBGjuRGwb639pxRy//hPBgU1D+aCTk agPDaqv6YGqXeX5jD9arnmTR2GwFKu+kxX0gQ4xXGUNBRA/nf5mn9pURJ3JRRuUROOiHtq isA1oG71rdNFHti1lrq+nAArWJu1xphyPjUcY594/WCXTQca0EDO5ltFAC3r8myfJfmj34 L+CKg619BVDN/Uuy5k4ogYlKHLr9qttqg8f204FNJmBWmMwhGL9DB2+hmKaA2g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1649779765; a=rsa-sha256; cv=none; b=V1DT2r6Sok6JNtFwFOfDn7sYcus1akjVMqD1ZhuHQEgk7lU0YEJP20+8ejyWHrGTyHn1ga 3PZFWTfcpmisTgAMqiU/pJz+cPxca9EH6oNhLQHTSr/jYqAd1A4UhXvHYriXgsQ832C9Cv e3OODinjtfrsfbWT4guc3eaEsV/R96UVRjvtY2j48vK7stq+5cxSW+my9iFSZeFjkWg/Lp U+s0PKqXAh/vPP/iu0WeQbaWYEwpeHMex+fkbgPoJx7wpmkjD4HlmuDNq+Cdgb8EtrgoUq 8JKxD56SlGHTB/quLjLKd5OEmu3LIOaptvQXQkwFWcqhw3aN+w5Z6HE7h10X6Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=W9bFbDOO; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -2.96 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=W9bFbDOO; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 80A27A857 X-Spam-Score: -2.96 X-Migadu-Scanner: scn1.migadu.com X-TUID: Mv14/lYKHgkJ Hi, Efraim Flashner skribis: > On Tue, Feb 12, 2019 at 03:27:37PM +0100, Ludovic Court=C3=A8s wrote: >> Hello Efraim, >>=20 >> Efraim Flashner skribis: >>=20 >> > 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. >>=20 >> To be clear, I believe this is for a *cross-compiled* Guile, right? > > That's right, %bootstrap-guile is extracted from $(guix build > --target=3Dpowerpc-linux-gnu bootstrap-tarballs) Cross-compilation to aarch64-linux-gnu works fine: --8<---------------cut here---------------start------------->8--- $ unshare -mrf chroot $(guix build guile-static-stripped --target=3Daarch64= -linux-gnu) /bin/guile 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 warning: failed to install locale: Invalid argument GNU Guile 3.0.7 Copyright (C) 1995-2021 Free Software Foundation, Inc. Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'. This program is free software, and you are welcome to redistribute it under certain conditions; type `,show c' for details. Enter `,help' for help. scheme@(guile-user)> %host-type $1 =3D "aarch64-unknown-linux-gnu" scheme@(guile-user)> ,q $ guix describe Generation 210 Apr 11 2022 09:34:10 (current) guix 7da907f repository URL: https://git.savannah.gnu.org/git/guix.git branch: master commit: 7da907f90e74a4edf96d76ee457ff958265ef8d4 --8<---------------cut here---------------end--------------->8--- The problem has to do specifically with powerpc-linux-gnu (this is with transparent emulation via QEMU+binfmt_misc): --8<---------------cut here---------------start------------->8--- $ unshare -mrf chroot $(guix build guile-static-stripped --target=3Dpowerpc= -linux-gnu) /bin/guile 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 Pre-boot error; key: wrong-type-arg, args: (#f "Wrong type to apply: ~S" (#= f) (#f))qemu: uncaught target signal 6 (Aborted) - core dumped Aborted --8<---------------cut here---------------end--------------->8--- Unfortunately I fail to get a backtrace from that core dump. Efraim, could you get a backtrace on the bare metal? Besides, if PPC32 is the only platform that has a problem, I think this bug should not be a blocker. WDYT? Ludo=E2=80=99.