From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id GLJwCzeKemISHwEAbAwnHQ (envelope-from ) for ; Tue, 10 May 2022 17:52:23 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id gB9bCjeKemK7YQEAG6o9tA (envelope-from ) for ; Tue, 10 May 2022 17:52:23 +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 A7872179D9 for ; Tue, 10 May 2022 17:52:22 +0200 (CEST) Received: from localhost ([::1]:38610 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1noS9t-00087m-R5 for larch@yhetil.org; Tue, 10 May 2022 11:52:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46732) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1noS9b-00087X-4G for bug-guix@gnu.org; Tue, 10 May 2022 11:52:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:41016) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1noS9Z-0002MM-SN for bug-guix@gnu.org; Tue, 10 May 2022 11:52:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1noS9Z-0006mq-Qr for bug-guix@gnu.org; Tue, 10 May 2022 11:52:01 -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:52:01 +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.165219789526043 (code B ref 55283); Tue, 10 May 2022 15:52:01 +0000 Received: (at 55283) by debbugs.gnu.org; 10 May 2022 15:51:35 +0000 Received: from localhost ([127.0.0.1]:34913 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1noS98-0006lz-P7 for submit@debbugs.gnu.org; Tue, 10 May 2022 11:51:34 -0400 Received: from flashner.co.il ([178.62.234.194]:60476) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1noS96-0006lm-SU for 55283@debbugs.gnu.org; Tue, 10 May 2022 11:51:33 -0400 Received: from localhost (unknown [37.46.46.12]) by flashner.co.il (Postfix) with ESMTPSA id F06EF400D7; Tue, 10 May 2022 15:51:26 +0000 (UTC) Date: Tue, 10 May 2022 18:50:54 +0300 From: Efraim Flashner Message-ID: Mail-Followup-To: Efraim Flashner , Ludovic =?UTF-8?Q?Court=C3=A8s?= , Maxime Devos , Vagrant Cascadian , 55283@debbugs.gnu.org, raingloom References: <87ee1761ci.fsf@inria.fr> <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> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="/dfpqlM2vGrbTqIh" Content-Disposition: inline In-Reply-To: <87v8udpf9v.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=1652197942; 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=3o4YEpcEgogNMw1jayqCBFkCPEF4vYCSRVd+sihyvLU=; b=UPUPDlIfUtWjXEhxiy8NBQ+DBwfdyFh79VV5sM5jTtrpMVm3/Em5NCNh4wCCFqlChn/Lee rnJpp3zUDr7Ngf0GVBiGf0RDKPRrlz3QpqJvFkYFf6UL/C7NZ4+w5ol4rdwVa2s10HLteb hE2DnS2c8osaZJ3kmkRctdZoLaUomdIKNBNTvFAj55r8QsdLdAm8qUUXP+QrnlC3TVteKX TOThlcNg0/fv3Kb0to496ar+tmEs0sKvLk39IgjT1cRJi26As3esELwdp2LmR9sZBxzkQc pgZ1IvItpeKwrHCCiuj0IxhdvUXsno9Ny+yf9aS7UpZjEV3y/Z9SLni4jgwpgg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1652197942; a=rsa-sha256; cv=none; b=uL3Dm6FqbPfMYFMRpyfEeLU88g9Hb0IeplhBduH546kXbVM2amVHzT2e75JHGmqKkcBZd4 KWhhYTXOUbC1X2kXT/q6zX3K4yR9xgR4owBOT6GFFOLW7HadP/gE2CXmRQofYqZQqtLxJC 3nc09/KRW8epk5htq9BdpXYLKyjjv4y6nxPb93nInXaHvskg7TC/1uBrdBkVFBqwO++ebO yIdj04RKaPALNwZrkmWLoxupheNfi84TwftrOzGHSH91F99zOH5dTVV9lJSxxKCJoAUVUP /kYkeZdrYfirEAjE1/Sv4xCGNg6sHaXodMuBGpsdv7cyJN4LMF5oxto/BO/7QA== 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: -4.60 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: A7872179D9 X-Spam-Score: -4.60 X-Migadu-Scanner: scn1.migadu.com X-TUID: iavj+ONvs+m+ --/dfpqlM2vGrbTqIh Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, May 10, 2022 at 05:40:28PM +0200, Ludovic Court=C3=A8s wrote: > Hello! >=20 > Nice to have AArch64 support in (guix cpu)! >=20 > Efraim Flashner skribis: >=20 > > diff --git a/guix/cpu.scm b/guix/cpu.scm > > index a44cd082f1..37ed6f0a18 100644 > > --- a/guix/cpu.scm > > +++ b/guix/cpu.scm > > @@ -62,31 +62,51 @@ (define (prefix? prefix) > > (lambda (port) > > (let loop ((vendor #f) > > (family #f) > > - (model #f)) > > + (model #f) > > + (flags (list->set '()))) >=20 > You can replace (list->set '()) by (set). >=20 > > + ("aarch64" > > + ;; Transcribed from GCC's list of aarch64 processors in aarch64-c= ores.def > > + ;; What to do with big.LITTLE cores? > > + (match (cpu-vendor cpu) > > + ("0x41" >=20 > Is /proc/cpuinfo more or less guaranteed to return hex numbers like > this? I'm almost certain it is on aarch64. I don't have an armhf machine to check with. > > (architecture > > - ;; TODO: AArch64. > > - architecture))) > > + ;; TODO: More architectures > > + (utsname:machine (uname))))) >=20 > We can return =E2=80=98architecture=E2=80=99 as is, no need to re-call = =E2=80=98uname=E2=80=99. That's what we had before and we got the error. > I haven=E2=80=99t run the code but at first sight it LGTM! >=20 > (The bug reported at the beginning of this thread looks rather basic > though; I=E2=80=99ll follow up on that.) >=20 > Thanks, > Ludo=E2=80=99. --=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 --/dfpqlM2vGrbTqIh Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmJ6idwACgkQQarn3Mo9 g1FXMw//cuJvvPe3HGpgKfkgcKvJOM8UcMSoAQJugxUDgooQjPXjDYCFKoWS79Uf chm3UxxAevPpqzsAEC0eJz7McyiTh2Dhog9gromZ/8hUWOsYfXi9qLvfJ02EB8Js HBOCsFIxVYv/c978gPvCMNXYPeEZ2k1g4FTV60MESAAVQPqHj+tH69xg1R84f6qY yJEfGEUzW51Qiu5aoG1q87BVMdklhycPtFmYy1eNsGc0ug6upgbehoZHiuNmoBy2 rf/Z29o5lYRgL216GDiCVq/8z8Tbpnh11DcTtTJUUno2oc6zPT/CJeWj1PazPklw Km6AxmEHuEH96aslJW/PK2wSFQZcF2xo6792AyZfptU/Mme3zHd0EgIUk8wHd17i Pgmin5ZuXxxYrStp1offrsRug4cHftJkTDvBngPopprnZHaJdDx90YptIgzJWpPL yVAYID82yZvcOaAlqMS+cu2lwLGA0MGrTwLpoUItPF2CpQbvNbLv/SchRPFs4Wx4 5cS+mWhPVNUXfgKD6ltPukhmg5jBV94MqmBbYdnVyfT0guGfbcKIMb1zO3UhmryO iGcVYNmxdV5/SLDw6omUmoHBs4Z/oWSxylJKt8SwOUSA0Jy7rHQ/U1QdwrOIiO3G DDPZuWMsZabSCXDy2ZXcxb+m5/SNG7LziLxwBD0a1e99v/0fLME= =vW9G -----END PGP SIGNATURE----- --/dfpqlM2vGrbTqIh--