From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 oOESDB6LemJsvwAAbAwnHQ (envelope-from ) for ; Tue, 10 May 2022 17:56:14 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id KNrYCx6LemJrRwAA9RJhRA (envelope-from ) for ; Tue, 10 May 2022 17:56:14 +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 D2E1D281F6 for ; Tue, 10 May 2022 17:56:13 +0200 (CEST) Received: from localhost ([::1]:39092 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1noSDc-0000ch-BO for larch@yhetil.org; Tue, 10 May 2022 11:56:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47530) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1noSDS-0000cY-Dy for bug-guix@gnu.org; Tue, 10 May 2022 11:56:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:41020) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1noSDS-0002z5-4l for bug-guix@gnu.org; Tue, 10 May 2022 11:56:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1noSDS-0006tb-2P for bug-guix@gnu.org; Tue, 10 May 2022 11:56: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: Efraim Flashner Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 10 May 2022 15:56: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: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: Vagrant Cascadian , 55283@debbugs.gnu.org, Maxime Devos , raingloom Received: via spool by 55283-submit@debbugs.gnu.org id=B55283.165219814126470 (code B ref 55283); Tue, 10 May 2022 15:56:02 +0000 Received: (at 55283) by debbugs.gnu.org; 10 May 2022 15:55:41 +0000 Received: from localhost ([127.0.0.1]:34917 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1noSD7-0006sr-B1 for submit@debbugs.gnu.org; Tue, 10 May 2022 11:55:41 -0400 Received: from flashner.co.il ([178.62.234.194]:60496) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1noSD5-0006sb-QO for 55283@debbugs.gnu.org; Tue, 10 May 2022 11:55:40 -0400 Received: from localhost (unknown [37.46.46.12]) by flashner.co.il (Postfix) with ESMTPSA id E3BCF40178; Tue, 10 May 2022 15:55:33 +0000 (UTC) Date: Tue, 10 May 2022 18:55:01 +0300 From: Efraim Flashner Message-ID: Mail-Followup-To: Efraim Flashner , Ludovic =?UTF-8?Q?Court=C3=A8s?= , Vagrant Cascadian , 55283@debbugs.gnu.org, Maxime Devos , raingloom References: <20220506022826.5089eb2c@riseup.net> <5d219586c7a9a5ed2d89b12db73385d9d55adeb9.camel@telenet.be> <871qx68g33.fsf@contorta> <87wney6vwq.fsf@contorta> <87wnevu0x1.fsf@gnu.org> <4d2747729262ac3e3f27d7e75f1dfb50da4c7fed.camel@telenet.be> <87v8udpf9v.fsf@gnu.org> <87r151pf4g.fsf@gnu.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="DSjCZH5z9uetPUWT" Content-Disposition: inline In-Reply-To: <87r151pf4g.fsf@gnu.org> X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 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=1652198173; 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; bh=wmwgK+yoQ3HrWZKfbdzugsGVQA8l3JYvBsQwToCeFOc=; b=m7NtPIoULWR2JNYfvR5n0x0voiN2THU23rg21UnW7wmzJAJXMHjOrQEcgu25nXQ6AwWxC4 Esoyxox7SFYVgHjPF/lqvGh2iIQ/mfXZL1/1RTTv8HWBCz8+BXnjRs8cz4N0S2e15hVc94 ngpP2w9SFLHCEwJUHxpI4mP6szDjFk6zG3p7zjkCPbTkNvKy2pmkHInLkKqTKXI2d2biyJ tlcmi0PTPkJ5tHGlB+lh6UgOx2bU4Pj/XEk0kB1vOccq9O4Z+dofZj3OtqDvHbCYTOwbIC KeiFhYSlia2TBWCmWxEDgf+tUrHr1Sc95riNuvnthdwXdtbSe3Lp3rupBT4lwA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1652198173; a=rsa-sha256; cv=none; b=tBavIgS7jq9PvbTVuDWIo1kjJgLiGFYOruDjROgxkqm/ILFeQ53EeFh/tq0e82+xlFP/yW GozIhngygreTFV0XOf2302E9bIik8wkg3iD0OoAPRo5DJejsYbq7UxrbImxZg2cro00W0R SupnipEYhCF4lU4BYV713YnSi8KOXQmp9Z92EEY6bJYsthQZJMakl/x/hfE7bkOrwQkAKW EgvPi1n8cYkJnfeQonHuYdb9cIPA8sPQ8d5nFLUlVZ/pXys93ZGwrSsJwg6T8+bJRRPFoC HC6cwzcsbEGwygBNkdq+0Mncdnpyyju4hNb20qLpdG0UJgbvcsTwbCTwAMiMJA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; 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: -6.20 Authentication-Results: aspmx1.migadu.com; dkim=none; 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: D2E1D281F6 X-Spam-Score: -6.20 X-Migadu-Scanner: scn0.migadu.com X-TUID: 4ykqCTHNFhCE --DSjCZH5z9uetPUWT Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, May 10, 2022 at 05:43:43PM +0200, Ludovic Court=C3=A8s wrote: > Ludovic Court=C3=A8s skribis: >=20 > > (The bug reported at the beginning of this thread looks rather basic > > though; I=E2=80=99ll follow up on that.) >=20 > Actually no. :-) >=20 > I guess the first hunk of your patch, which modifies =E2=80=98current-cpu= =E2=80=99 so > that it does not return #f on AArch64, is the actual fix (it can be a > patch of its own). >=20 > The second hunk, which modifies =E2=80=98cpu->gcc-architecture=E2=80=99, = is an > enhancement. >=20 > Ludo=E2=80=99. On aarch64 Features (flags on x86_64) isn't last, so I changed the loop to keep running until the end of the file. I suppose I could've changed it to run until it hit a blank line and left the eof-object? for #f. the change from (architecture architecture) at the end I tossed in at the last minute. It was more to keep it from erroring on untuned architectures. (ins)efraim@3900XT ~$ ssh pbp 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 processor : 1 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 processor : 2 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 processor : 3 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 processor : 4 BogoMIPS : 48.00 Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid CPU implementer: 0x41 CPU architecture: 8 CPU variant : 0x0 CPU part : 0xd08 CPU revision : 2 processor : 5 BogoMIPS : 48.00 Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid CPU implementer: 0x41 CPU architecture: 8 CPU variant : 0x0 CPU part : 0xd08 CPU revision : 2 --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --DSjCZH5z9uetPUWT Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmJ6itUACgkQQarn3Mo9 g1HgzhAAtliN+MGipiLbDCEw6p2fn+Q6wodcooCiDUJSynm1ZtWDR1m2Bw6rM12+ fp60xIyWnqMjUmY2+oW9R71WRX37bZQiT6LPfKVugwAEqNmZelXzBglttJXNEbfz 3pcPo72eGK3du+UDcSX7APTU3ON3xlTLW2R1m9ha0vwlmqgk9Hoan9/VcR+qj43n DhxNE8dCMlA1lEoLmKjreWSyVoeZ+AywH53wxKuw0wTNUyA7NrYiC3xq8poZMfvf wK5Yo5uZWGY+J+kGhIpUcqxQE7AmfqrSN1h0oJEiOY8EK3A1Z526pJDZW3B0MO5t AZNOX15oxLGC2BncjMyo6wlbC1FCn25qAs/8jkf2YnLhH/N8c4gJlPoTj7UxmCr/ 4mqexVqM3Z2+TCEgqqQ8uMw2G+WkkznmkaHUUMCFBxsQ8YTMCdT8D6lI/6+lY+rl Vp7fb/A/syEWYqZ/9hKxwzM35ePJcm/Aa40tNVMQ5t8wWfvavXPU+4fr1wbbnDJp c7HNePwZlgFq2sL2lW9EdaHUzuvErcNlzL3cK1pCyfkmwoyRXnEciOnF2Hi44Iz6 4xbT/wyHqzScQ5y7fUp7YlpqXUw447zYbovHWlW7dTxeqfVVzCLfW8RyR2WlU2vR 1ZX4PyVQypQiY3VkuyweWJAPK71SSgsSCj7Nr+widtbSWqsoa3A= =/gT9 -----END PGP SIGNATURE----- --DSjCZH5z9uetPUWT--