From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id qIXKBya6dWIV5QAAbAwnHQ (envelope-from ) for ; Sat, 07 May 2022 02:15:34 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id H3/nBia6dWKsrQAAG6o9tA (envelope-from ) for ; Sat, 07 May 2022 02:15:34 +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 F2EE418B23 for ; Sat, 7 May 2022 02:15:32 +0200 (CEST) Received: from localhost ([::1]:60378 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nn86d-0000LX-4C for larch@yhetil.org; Fri, 06 May 2022 20:15:31 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33868) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nn86B-0000LM-Jh for bug-guix@gnu.org; Fri, 06 May 2022 20:15:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:56205) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nn86B-0001ut-7q for bug-guix@gnu.org; Fri, 06 May 2022 20:15:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nn86A-00061s-VC for bug-guix@gnu.org; Fri, 06 May 2022 20:15:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#55283: =?UTF-8?Q?=E2=80=98tests/guix-shell-export-manifest.sh=E2=80=99?= fails on aarch64-linux Resent-From: Vagrant Cascadian Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 07 May 2022 00:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55283 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Maxime Devos , raingloom , Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 55283@debbugs.gnu.org Received: via spool by 55283-submit@debbugs.gnu.org id=B55283.165188249623117 (code B ref 55283); Sat, 07 May 2022 00:15:02 +0000 Received: (at 55283) by debbugs.gnu.org; 7 May 2022 00:14:56 +0000 Received: from localhost ([127.0.0.1]:50102 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nn864-00060m-7B for submit@debbugs.gnu.org; Fri, 06 May 2022 20:14:56 -0400 Received: from cascadia.aikidev.net ([173.255.214.101]:36702) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nn862-00060D-Qe for 55283@debbugs.gnu.org; Fri, 06 May 2022 20:14:55 -0400 Received: from localhost (unknown [IPv6:2600:3c01:e000:21:7:77:0:20]) (Authenticated sender: vagrant@cascadia.debian.net) by cascadia.aikidev.net (Postfix) with ESMTPSA id D0A681ABDB; Fri, 6 May 2022 17:14:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=debian.org; s=1.vagrant.user; t=1651882488; bh=Gm9XgDkRnssSXUPY9DIxF2Gm8aWMYkBrZ0PagzXdIR8=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=lYK/pT861qfrPsiU4ynZz+dScFZmSNk1Ent+MH+OrTq8yNARqeMh/6sSTEPA0c3lq VLnHWT9CVX/3s18PStu2U8C33qHaPA5e3mWtR7cYiM/Y4gBPnvHUijkhVSu/ESYAVJ eRIN3h7fEHKQDEB44ufrZnSvXfAgjyiR40nZUU4KeOnJH+JyJnqdmmDTpMbkRSCJWg ePqR1L+ehTGTAY2I/pMrcIfdBjNypV7G3FtwwMb9PKZZ+HxPzTDVbNhCo93xewehsR 7UuTHefYpLQ3AXCU3/ak0JS0oa7NNQdgAJNeFbB2hSuuy8wH4oOQSAkqmwzSAxgKMc wk/cCN1zSSrYA== From: Vagrant Cascadian In-Reply-To: <871qx68g33.fsf@contorta> References: <87ee1761ci.fsf@inria.fr> <20220506022826.5089eb2c@riseup.net> <5d219586c7a9a5ed2d89b12db73385d9d55adeb9.camel@telenet.be> <871qx68g33.fsf@contorta> Date: Fri, 06 May 2022 17:14:45 -0700 Message-ID: <87wney6vwq.fsf@contorta> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" 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: , 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=1651882533; 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: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=lyl0lrK3QNw4Vz03g0i6R8K/vrP14892uurwTj4U3Q4=; b=k2Meb9Crwj8NJTBiLAH0elJ1ZTcf6Lai8xj6mwtM27Gj9s5qZGbdcalZOFaqtgQWcTvHME QxInEO237T9S4dCfNnD2TPPVUb70+BOee2b8GSsoWxfvhFGHKDO7H0BH9f/YC7XCCz928b OVbNto/hJDf725bpOKBH8TFl0IeLiQluzAnhXpPfg3zOJgnlhJBRIwoMV6bIVug9yPmJUu MIyUNp2XB4R48M4JpehKlLBF2RSNrxTcd59Uvr/5nXxntWXUnMrTA9xtGfxXhVPyoEhVJe SjFMFscbMYOcpNI624FtWj1QYU83dyG4HUT1GeDzIydBg7C83tWb5wC6o6/Ycw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1651882533; a=rsa-sha256; cv=none; b=Q0wKQtUWl6jh+Hi67VAMdYM5XsXj0hpKaUq0X2+DGGxH3pBYpB1W9oUrghcu9nJaSb/CDx lA3Nu8VsoIgWbe3BmdTIFwfMqN7vwXQKTCrPSsg6m03gnqtAcSzTLwNgKdNCqkjBbq7kz7 /wovwymXuDFGJl33fkcwm1dJvNRXPqmNbZ7YjcVl/D3gozIgVuwmUA1d3ejKZQvpA3DKPN 2siGx0Kl3nJ+iU3arUF9DvfYVKGoQmo9K0vGfLOC0NSJdwMtK8iZU6NUWw3NDNir33UMEl qr1ZenIDPYJv+DoeKkK9UecdpSZrYdw6Dxl+XbipPSI27K8cWU38iFpmGf3GeQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debian.org header.s=1.vagrant.user header.b="lYK/pT86"; dmarc=none; 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: -1.60 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debian.org header.s=1.vagrant.user header.b="lYK/pT86"; dmarc=none; 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: F2EE418B23 X-Spam-Score: -1.60 X-Migadu-Scanner: scn0.migadu.com X-TUID: xTcuC1+WFvdS --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 2022-05-06, Vagrant Cascadian wrote: > On 2022-05-06, Maxime Devos wrote: >> raingloom schreef op vr 06-05-2022 om 02:28 [+0200]: >>> > =E2=80=A6)) In guix/cpu.scm: >>> > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 94:2=C2=A0 0 (cpu->gcc-architecture #f) >>>=20 >>> This indicates the same to me. >>> But I don't know the internals of --tune well enough, so it's just a >>> hunch. >> >> Could anyone who encounters the issue on aarch64-linux send their >> /proc/cpuinfo, such that other people can test the body of 'current- >> cpu' on that copy? What is reading from /proc/cpuinfo? I've heard it suggested that /proc/cpuinfo was more informational and not something to be relied on for anything that actually matters... ? Well, I guess I answered my initial question by reading the error message... guix/cpu.scm ... how did that work before for things like cross-building, where /proc/cpuinfo is *definitely* wrong to get information about the architecture you're building for? > On a rockpro64: > > $ cat /proc/cpuinfo > processor : 0 > BogoMIPS : 48.00 > Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid > CPU implementer : 0x41 > CPU architecture: 8 > CPU variant : 0x0 > CPU part : 0xd03 > CPU revision : 4 ... > I'll test on some other hardware with a very different cpu and see if it > has the same problem too. And on an APM mustang: $ cat /proc/cpuinfo processor : 0 BogoMIPS : 100.00 Features : fp asimd evtstrm cpuid CPU implementer : 0x50 CPU architecture: 8 CPU variant : 0x0 CPU part : 0x000 CPU revision : 0 processor : 1 BogoMIPS : 100.00 Features : fp asimd evtstrm cpuid CPU implementer : 0x50 CPU architecture: 8 CPU variant : 0x0 CPU part : 0x000 CPU revision : 0 processor : 2 BogoMIPS : 100.00 Features : fp asimd evtstrm cpuid CPU implementer : 0x50 CPU architecture: 8 CPU variant : 0x0 CPU part : 0x000 CPU revision : 0 processor : 3 BogoMIPS : 100.00 Features : fp asimd evtstrm cpuid CPU implementer : 0x50 CPU architecture: 8 CPU variant : 0x0 CPU part : 0x000 CPU revision : 0 processor : 4 BogoMIPS : 100.00 Features : fp asimd evtstrm cpuid CPU implementer : 0x50 CPU architecture: 8 CPU variant : 0x0 CPU part : 0x000 CPU revision : 0 processor : 5 BogoMIPS : 100.00 Features : fp asimd evtstrm cpuid CPU implementer : 0x50 CPU architecture: 8 CPU variant : 0x0 CPU part : 0x000 CPU revision : 0 processor : 6 BogoMIPS : 100.00 Features : fp asimd evtstrm cpuid CPU implementer : 0x50 CPU architecture: 8 CPU variant : 0x0 CPU part : 0x000 CPU revision : 0 processor : 7 BogoMIPS : 100.00 Features : fp asimd evtstrm cpuid CPU implementer : 0x50 CPU architecture: 8 CPU variant : 0x0 CPU part : 0x000 CPU revision : 0 Both exhibit the same error when building guix, just like the original report, basically: guix/cpu.scm:94:2: In procedure cpu->gcc-architecture: In procedure struct-vtable: Wrong type argument in position 1 (expecting st= ruct): #f + rm -r t-guix-manifest-18135 FAIL tests/guix-shell-export-manifest.sh (exit status: 1) live well, vagrant --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCYnW59QAKCRDcUY/If5cW qpbXAQDwQQZdshAbA1HqIj5qXC/kaCZXfu11nr200kNaMhgULAD9FbldCtZV7ihp CapckMxdyQUnlO4SCSOhyKT/vcxOlAY= =d3JD -----END PGP SIGNATURE----- --=-=-=--