From debbugs-submit-bounces@debbugs.gnu.org Thu May 05 18:50:31 2022 Received: (at submit) by debbugs.gnu.org; 5 May 2022 22:50:31 +0000 Received: from localhost ([127.0.0.1]:46737 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nmkIo-0002Zj-Ia for submit@debbugs.gnu.org; Thu, 05 May 2022 18:50:31 -0400 Received: from lists.gnu.org ([209.51.188.17]:44376) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nmkIm-0002ZY-7e for submit@debbugs.gnu.org; Thu, 05 May 2022 18:50:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37710) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nmkIk-0006Ee-N6 for bug-guix@gnu.org; Thu, 05 May 2022 18:50:27 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:34088) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nmkIi-0001rY-So for bug-guix@gnu.org; Thu, 05 May 2022 18:50:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:Subject:To:From:in-reply-to: references; bh=dNq4ZdlbqXblsXJFypw5i6D62AQ3MwM8XKOsh3aj+W8=; b=A35yIw5FRKeVXF bK3QPiCi/vP4e8XaCrpEgaAb+ITh4WSmhVEEyFZA1so4SoUriy+WKmZL61Hs7i4flJ5vYbp8cZ3BX 7EvqGi+S5Sc5Jl+cVKqMuRxpqXb/hQ1l9YSOVOJZqOKKAU6PEqdWieR7jh/Lxbm/0OEV62tnG7AyQ Ld5NyMkPDgEhMxJzFCEYbNvYGYnCjF2E14l48Q76/j5XBxl9fHblWoVN0ob6DfKH8rJGm6/Bxfx9w 14ZSkQikHft+LGwxF0IGAo0rF5qZIVt+tXcPNjGEDQ1HcUHWFQh8rJbuy9xoYXodmMiOh/OFmyftk cOvk9Dk5E+5DTrqq4NUQ==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201]:53057 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nmkIi-0004JM-51 for bug-guix@gnu.org; Thu, 05 May 2022 18:50:24 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: bug-guix@gnu.org Subject: =?utf-8?Q?=E2=80=98tests=2Fguix-shell-export-manifest=2Esh?= =?utf-8?Q?=E2=80=99?= fails on aarch64-linux X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 17 =?utf-8?Q?Flor=C3=A9al?= an 230 de la =?utf-8?Q?R?= =?utf-8?Q?=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Fri, 06 May 2022 00:50:21 +0200 Message-ID: <87ee1761ci.fsf@inria.fr> 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-Spam-Score: -1.8 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.8 (--) The log goes like this: --8<---------------cut here---------------start------------->8--- FAIL: tests/guix-shell-export-manifest =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D accepted connection from pid 12311, user nixbld + guix shell --version guix shell (GNU Guix) 1.3.0-25.c1719a0 Copyright (C) 2022 the Guix authors License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. + tmpdir=3Dt-guix-manifest-12319 + trap 'rm -r "$tmpdir"' EXIT + mkdir t-guix-manifest-12319 + manifest=3Dt-guix-manifest-12319/manifest.scm + guix shell --export-manifest guile-bootstrap hint: Consider passing the `--check' option once to make sure your shell do= es not clobber environment variables. ++ guix build -m t-guix-manifest-12319/manifest.scm accepted connection from pid 12331, user nixbld ++ guix build guile-bootstrap accepted connection from pid 12336, user nixbld + test /tmp/guix-tests/store/8y8j1d6v8j3l2x9ys9zldg77k094i9ar-guile-bootstr= ap-2.0 =3D /tmp/guix-tests/store/8y8j1d6v8j3l2x9ys9zldg77k094i9ar-guile-boo= tstrap-2.0 + guix shell -m t-guix-manifest-12319/manifest.scm --bootstrap -- /gnu/stor= e/lzf5zg0diw2bhh2qji4bl2v46wd8pylc-bash-minimal-5.1.8/bin/sh -c 'guix packa= ge --export-manifest -p "$GUIX_ENVIRONMENT"' accepted connection from pid 12341, user nixbld + for m in "$manifest" "$manifest.second" + grep -v '^;' + mv t-guix-manifest-12319/manifest.scm.new t-guix-manifest-12319/manifest.= scm + for m in "$manifest" "$manifest.second" + grep -v '^;' + mv t-guix-manifest-12319/manifest.scm.second.new t-guix-manifest-12319/ma= nifest.scm.second + cat t-guix-manifest-12319/manifest.scm (specifications->manifest (list "guile-bootstrap")) + cat t-guix-manifest-12319/manifest.scm.second (specifications->manifest (list "guile-bootstrap")) + cmp t-guix-manifest-12319/manifest.scm t-guix-manifest-12319/manifest.scm= .second + guix shell --export-manifest -m t-guix-manifest-12319/manifest.scm gash g= ash-utils hint: Consider passing the `--check' option once to make sure your shell do= es not clobber environment variables. + guix build -m t-guix-manifest-12319/manifest.scm.second -d ++ guix build guile-bootstrap -d accepted connection from pid 12361, user nixbld accepted connection from pid 12363, user nixbld + grep /tmp/guix-tests/store/xkrmqbvzk212g2fm3abszip4gdprmqsp-guile-bootstr= ap-2.0.drv /tmp/guix-tests/store/xkrmqbvzk212g2fm3abszip4gdprmqsp-guile-bootstrap-2.0.= drv + guix build -m t-guix-manifest-12319/manifest.scm.second -d ++ guix build gash -d accepted connection from pid 12372, user nixbld accepted connection from pid 12374, user nixbld + grep /tmp/guix-tests/store/5fhx9ml0famifh6kp644x6ayn9zxw98z-gash-0.2.0.drv /tmp/guix-tests/store/5fhx9ml0famifh6kp644x6ayn9zxw98z-gash-0.2.0.drv + guix shell --export-manifest guile guix --with-input=3Dguile-json@3=3Dgui= le-json hint: Consider passing the `--check' option once to make sure your shell do= es not clobber environment variables. + grep 'options->transformation' t-guix-manifest-12319/manifest.scm (options->transformation + grep '(with-input . "guile-json@3=3Dguile-json")' t-guix-manifest-12319/m= anifest.scm '((with-input . "guile-json@3=3Dguile-json")))) + guix shell --export-manifest -D guile git hint: Consider passing the `--check' option once to make sure your shell do= es not clobber environment variables. + grep 'package->development-manifest' t-guix-manifest-12319/manifest.scm (package->development-manifest + grep '"guile"' t-guix-manifest-12319/manifest.scm (specification->package "guile")))) + guix build -m t-guix-manifest-12319/manifest.scm -d ++ guix build -e '(@@ (gnu packages commencement) gcc-final)' -d accepted connection from pid 12397, user nixbld accepted connection from pid 12395, user nixbld + grep /tmp/guix-tests/store/l5514bwycid2v0f0pkmqlx8nfpr50xqi-gcc-10.3.0.drv /tmp/guix-tests/store/l5514bwycid2v0f0pkmqlx8nfpr50xqi-gcc-10.3.0.drv ++ guix build git -d + guix build -m t-guix-manifest-12319/manifest.scm -d accepted connection from pid 12406, user nixbld accepted connection from pid 12408, user nixbld + grep /tmp/guix-tests/store/hi8w6wzxgvd1v8aawcjpjkh0s9nkchrm-git-2.36.0.drv /tmp/guix-tests/store/hi8w6wzxgvd1v8aawcjpjkh0s9nkchrm-git-2.36.0.drv + for options in "coreutils grep sed" "gsl openblas gcc-toolchain --tune" "= guile -m $manifest.previous" "git:send-email gdb guile:debug" "git -D coreu= tils" + guix shell --export-manifest coreutils grep sed hint: Consider passing the `--check' option once to make sure your shell do= es not clobber environment variables. + cat t-guix-manifest-12319/manifest.scm ;; What follows is a "manifest" equivalent to the command line you gave. ;; You can store it in a file that you may then pass to any 'guix' command ;; that accepts a '--manifest' (or '-m') option. (specifications->manifest (list "coreutils" "grep" "sed")) + guix shell -m t-guix-manifest-12319/manifest.scm -n hint: Consider passing the `--check' option once to make sure your shell do= es not clobber environment variables. accepted connection from pid 12422, user nixbld substitute: guix substitute: warning: ACL for archive imports seems to be u= ninitialized, substitutes may be unavailable substitute: guix substitute: warning: authentication and authorization of s= ubstitutes disabled! The following derivations would be built: /tmp/guix-tests/store/j44phxaqkljr2nrjglh879y9xlv6kmjx-profile.drv /tmp/guix-tests/store/3bhvxnjqjdlk0031ldj4llbif057fggy-module-import-comp= iled.drv /tmp/guix-tests/store/51934b4lnw9r73c85p5na809zasg0y63-guile-3.0.7.drv /tmp/guix-tests/store/3y19pd9h1vmi1iyp64mpvq8fgbr4771a-linux-libre-header= s-5.10.35.drv /tmp/guix-tests/store/43rxpwdrlf0z6rwgd6c8xz4j2yzc6xc8-bison-boot0-3.7.6.= drv /tmp/guix-tests/store/49n7csn3ilylk199xc3d4vxsnz0q09h4-m4-boot0-1.4.18.drv /tmp/guix-tests/store/6qlqvvw404vshsvjbpa6vaqq2davswgs-bootstrap-binaries= -0.drv /tmp/guix-tests/store/p5f0c3yyj24nlg5wsxcyw438amfsscdi-static-binaries.ta= r.xz.drv /tmp/guix-tests/store/8dsrjf8a5gamki6c697gllx6q8qna73z-make-boot0-4.3.drv /tmp/guix-tests/store/hmb9f1pbhqny9796s802h8y3iwk3kz37-binutils-bootstrap= -0.drv /tmp/guix-tests/store/s15zhng95dfhmmsppjp47an8acj7gfsi-binutils-2.27.tar.= xz.drv /tmp/guix-tests/store/sydzvl8j9vwmcrdyay9k86aax6ngf5ck-make-4.3.tar.xz.drv /tmp/guix-tests/store/j0afanhb3zk4wn2nzm0s9aapj84pwj3r-make-4.3.tar.gz.drv /tmp/guix-tests/store/v49f60fsvscmjc8wcp8ili9x5qf4nlnd-module-import-comp= iled.drv /tmp/guix-tests/store/vksq172hzh69gvxgvmx7bjx7anacqx5y-glibc-bootstrap-0.= drv /tmp/guix-tests/store/wqw5ni6za51d5nx6higbz1fpvrfqw8m8-glibc-2.25.tar.xz.= drv /tmp/guix-tests/store/ymm8r90f0j042947n0d47d0svfj1mkdk-gcc-bootstrap-0.drv /tmp/guix-tests/store/xyanz4j2lib2znm9qahh22c5r1zi4kzw-gcc-5.4.0.tar.xz.d= rv /tmp/guix-tests/store/a91igvpyfhnnpbh0iar6w76y0p37qxf0-file-boot0-5.39.drv /tmp/guix-tests/store/1ihb86mpxbi2z8dshhdr9cnrb7455cgy-file-5.39.tar.gz.d= rv /tmp/guix-tests/store/llwqp3j35n9y27l8riygq8q2bvvfrb3x-m4-1.4.18.tar.xz.d= rv /tmp/guix-tests/store/ylw40g9f2j7ljb80jbmf2mcm4c61hmnf-m4-1.4.18.tar.xz.d= rv /tmp/guix-tests/store/n2xcz9fr99a5pn7jfp3mgdnv4qm3g4i8-diffutils-boot0-3.= 8.drv /tmp/guix-tests/store/52i2m607lnr0yl32ivldjxbzcd3md727-diffutils-3.8.tar.= xz.drv /tmp/guix-tests/store/y2f2d6c1z2b970isd6mrwh99k4g3hq7h-findutils-boot0-4.= 8.0.drv /tmp/guix-tests/store/qyslw5fkbb5pgwfy9j4mfpbbz3sx10wz-findutils-4.8.0.ta= r.xz.drv /tmp/guix-tests/store/3ysw1klvdxl163qd4vw1wv1xqrgs0w2z-findutils-4.8.0.ta= r.xz.drv /tmp/guix-tests/store/s48i4aj731swgkyszbj2qrfmxxmlgm12-bison-3.7.6.tar.xz= .drv /tmp/guix-tests/store/y2172vjy9k29kgfqqgw2m5p8424x7g68-perl-boot0-5.34.0.= drv /tmp/guix-tests/store/qpynhlclasqz4sj5fgmb8g52n87zn8m6-perl-5.34.0.tar.xz= .drv /tmp/guix-tests/store/m13ajlpd855cpa0pa3pzwmyz9qpsiydp-perl-5.34.0.tar.gz= .drv /tmp/guix-tests/store/9c1748nx0haiknyvr74ywmnbzkqmfhdw-linux-libre-5.10.3= 5-gnu.tar.xz.drv /tmp/guix-tests/store/rmmvpxhrafchpbvrqnmddficcybx6aci-flex-2.6.4.drv /tmp/guix-tests/store/13y4vrdbczrklywmk8n0z0h66hjqyn45-flex-2.6.4.tar.gz.= drv /tmp/guix-tests/store/84ajk7l1alajaps5slg3ijdb4qdjyv2p-libgc-8.0.4.drv /tmp/guix-tests/store/a4gmh3m2bg0ngaq7xdrggd3mcc6307jk-ld-wrapper-boot3-0= .drv /tmp/guix-tests/store/iyz1ji29z40y1hdx6kjb9cxgxxsh3p4b-binutils-2.37.drv /tmp/guix-tests/store/818wm0x329ziwvjvgvqqpwdm1z0n0wyi-binutils-2.37.tar.= xz.drv /tmp/guix-tests/store/vqbav7r30ybqg1fx4smc4i004yrfqx24-binutils-2.37.tar.= bz2.drv /tmp/guix-tests/store/alp18kisxfg857fn6daw0s1qzwjk18qb-binutils-cross-boo= t0-2.37.drv /tmp/guix-tests/store/k34s5i2plvyy7ykgk1cmj6ki1j33ygbg-ld-wrapper-boot0-0= .drv /tmp/guix-tests/store/v7yvidxadrikqmsx7m50g710n655kxhm-gcc-cross-boot0-wr= apped-10.3.0.drv /tmp/guix-tests/store/c94ihfwngqn863rg4nkip7ald1fj0mvy-gcc-cross-boot0-10= .3.0.drv /tmp/guix-tests/store/2c0jsi6w5d9wpyb9cdi6d6w9w26vgx66-gmp-6.0.0a.tar.xz.= drv /tmp/guix-tests/store/30x63km6gkfav97fxpqiyvk6jzbzjq15-gmp-6.0.0a.tar.xz.= drv /tmp/guix-tests/store/a372j588drh0q5n1h7pwsdc1f9yh9wmm-libstdc++-boot0-4.= 9.4.drv /tmp/guix-tests/store/nhq0k1z03miis2jvc73cvm7x06b5fdgb-gcc-4.9.4.tar.xz.d= rv /tmp/guix-tests/store/9ggiq60zjjl0bq6ph1kbcgxl5i1an2l8-gcc-4.9.4.tar.bz2.= drv /tmp/guix-tests/store/gcchalaqabxiz0ddwl5975a2b0hlabw9-gcc-10.3.0.tar.xz.= drv /tmp/guix-tests/store/jrm2x6dwmd7bmhcnh0pg2vbz89i4jfln-gcc-10.3.0.tar.xz.= drv /tmp/guix-tests/store/sb96xryswlm5cjvx5w231srblxfzy2li-mpfr-4.1.0.tar.xz.= drv /tmp/guix-tests/store/sbim7iprglwrb2qk8yzspr8kb289ag2k-mpc-1.2.1.tar.gz.d= rv /tmp/guix-tests/store/yx1xzrqlsglpnj3q6ywbmb89x8jsgica-glibc-2.33.drv /tmp/guix-tests/store/1q493yljpawsdhp8568jgppwpj8aarp9-bash-static-5.1.8.= drv /tmp/guix-tests/store/29540jn4v3g7fdp5kl0dp3gdmjf0zfjk-gcc-cross-boot0-wr= apped-10.3.0.drv /tmp/guix-tests/store/dfxx2ysnkh2dc7833ljxwcz5062xpwab-glibc-intermediate= -2.33.drv /tmp/guix-tests/store/3wr8zpcycb21p18m3k4hk269zhphcn6p-texinfo-6.7.drv /tmp/guix-tests/store/jbimq5n2i3g1kn1kd3c5xkz68289dx68-texinfo-6.7.tar.xz= .drv /tmp/guix-tests/store/b5nrcks863bx079q9z3cq1g9d0fxk6hg-glibc-2.33.tar.xz.= drv /tmp/guix-tests/store/lwxxlyj997lwj1bl2cmv9d59zlp7srij-glibc-2.33.tar.xz.= drv /tmp/guix-tests/store/sgyhw8xh89vcsxh4dv6cbnz23cyhs16s-python-minimal-3.5= .9.drv /tmp/guix-tests/store/fb08f16sbppkzx0f24lcnp4fjiwqfzn4-Python-3.5.9.tar.x= z.drv /tmp/guix-tests/store/wlgikmav2mfh8smddkdlsipzn1zq0f1p-Python-3.5.9.tar.x= z.drv /tmp/guix-tests/store/kdd1zvxhimmmfzpibd4s27bx0igqc56c-expat-2.4.1.drv /tmp/guix-tests/store/fnwrp6dzlrydalb9h1r10jbi71xs3q8n-expat-2.4.1.tar.xz= .drv /tmp/guix-tests/store/2kf0z31ff0gb5d4c1iyfnf8d22w3ml5z-bash-5.1.tar.xz.drv /tmp/guix-tests/store/3ahys9k9r0wni47m3s3lkrmxw90d0gms-bash51-002.drv /tmp/guix-tests/store/4g3jlvf7s55wcbr0mwk521pn8h5n1n97-bash51-001.drv /tmp/guix-tests/store/6h2x54k6gqxj4gf15m88fas2vb0qshcc-bash51-005.drv /tmp/guix-tests/store/7ypxxx5hfr0bd1fi2b6p3v0wj2y9vgmg-bash51-007.drv /tmp/guix-tests/store/bc5gg0dq6r36y9cp26xznv4zq3974yaw-bash-5.1.tar.gz.drv /tmp/guix-tests/store/pr6dki42lpvkwl6nz4qn6ygvvw4nby31-bash51-006.drv /tmp/guix-tests/store/rc3n2paf3d1saf2wsz3s13y1kvppw09q-bash51-004.drv /tmp/guix-tests/store/rddb70qzdjc157c6kqi8275s7dk6a6rx-bash51-008.drv /tmp/guix-tests/store/yfbn6dh6r3vh33rsr7p5rcwkz6lphf5w-bash51-003.drv /tmp/guix-tests/store/dfxx2ysnkh2dc7833ljxwcz5062xpwab-glibc-intermediate= -2.33.drv /tmp/guix-tests/store/w2gx4az6grnxd73sdp62jdbf1r6wagyy-gettext-boot0-0.19= .8.1.drv /tmp/guix-tests/store/6gdxqdl100j20ad6yqvls0h872ra1d0f-gettext-0.19.8.1.t= ar.gz.drv /tmp/guix-tests/store/yx1xzrqlsglpnj3q6ywbmb89x8jsgica-glibc-2.33.drv /tmp/guix-tests/store/dv5lqag76smhccqcpv4gmrkph0xransj-bash-minimal-5.1.8= .drv /tmp/guix-tests/store/l5514bwycid2v0f0pkmqlx8nfpr50xqi-gcc-10.3.0.drv /tmp/guix-tests/store/jmnfmbzk1qpj7m89k1lpjvbs3p03w92z-zlib-1.2.11.drv /tmp/guix-tests/store/cg3zn90rxamszpjh3arlhz6sqx18gbr7-zlib-1.2.11.tar.gz= .drv /tmp/guix-tests/store/kgfpqrxcjqrdn5srs9i5czpqkj97dqc4-libstdc++-10.3.0.d= rv /tmp/guix-tests/store/f98xnd46k8czhgfh9fd7541hmzlmaq8y-gc-8.0.4.tar.gz.drv /tmp/guix-tests/store/zy3d62n5qpq5in0gdv7wbs6fcifz6wp8-pkg-config-0.29.2.= drv /tmp/guix-tests/store/vh9zq87pbsp3pynn03ff50yrcnzgihgv-pkg-config-0.29.2.= tar.gz.drv /tmp/guix-tests/store/ic5xliv5ly9yp4lwbl79w0rfa3m6mk76-libffi-3.3.drv /tmp/guix-tests/store/b2sj0lgxl8kj3z4cq1c7vvk9d6kdr0f0-libffi-3.3.tar.xz.= drv /tmp/guix-tests/store/qa5m68pkpnk595kc7q8ppbyk6gb09zm4-libffi-3.3.tar.gz.= drv /tmp/guix-tests/store/sq6pc7qys3n3ax9m52y6md02dnz1fwfw-guile-3.0.7.tar.xz= .drv /tmp/guix-tests/store/6vjgb9y9q4mdmdjnfk39133f46yw4jr5-guile-3.0.7.tar.xz= .drv /tmp/guix-tests/store/z7z01rw922gm491j19jl9jpnd867mjfl-libunistring-0.9.1= 0.drv /tmp/guix-tests/store/jyh9sqdqm9nicgw1am9b8qv433yh1mrr-libunistring-0.9.1= 0.tar.xz.drv /tmp/guix-tests/store/ag4amxg15xfpkv850zqilfm8k4qknkrx-gzip-1.10.drv /tmp/guix-tests/store/0yzhbyykfp3y7a1wzd245k5a1cm1d0jg-xz-5.2.5.drv /tmp/guix-tests/store/9cjmcz6kpdpj2zyhays2lhzca65jjiqq-grep-3.6.drv /tmp/guix-tests/store/q3jyhhq1f63z8szdbvpjar9k96w5gidr-module-import-comp= iled.drv /tmp/guix-tests/store/qqrjqy0hczi02p1qz6vngj88qdwbcf3q-glibc-utf8-locales= -2.33.drv /tmp/guix-tests/store/g6hs8m77j44jpzl407c4a1lnrcbmxvy5-gzip-1.10.drv /tmp/guix-tests/store/5lxl075fyk6zwl403gz0cljmwsqj1qhw-gzip-1.10.tar.xz.d= rv /tmp/guix-tests/store/r8i7j8900swv21pyfhsjril9k2ifalr8-grep-3.6.tar.xz.drv /tmp/guix-tests/store/s3nayskvvkiyzc4vmswxk4z23y9wxif1-grep-3.6.tar.xz.drv /tmp/guix-tests/store/nrn4lngnd0rynmi2v4nxvpp7qg8q2shd-xz-5.2.5.tar.gz.drv /tmp/guix-tests/store/phfb2w5ifmwkav2kg8pip3pnrlbkkxxw-coreutils-8.32.drv /tmp/guix-tests/store/pjw86qak71vxi5vr9snxmna7z31zc644-coreutils-8.32.tar= .xz.drv /tmp/guix-tests/store/07ixyjvfrbbmil56i3lrh5vk9jynkjl6-coreutils-8.32.tar= .xz.drv /tmp/guix-tests/store/8gdb3gipskiyrgvwx02kr3364np0bbcg-ld-wrapper-0.drv /tmp/guix-tests/store/8rrzd2cphdvdnx5q0yxfw4llyrb22kam-tar-1.34.drv /tmp/guix-tests/store/blbmcdkapz3jlgswdqvalrck50vzlyf1-tar-1.34.tar.xz.drv /tmp/guix-tests/store/pdnllx46j3rl9mvmw6fhf9bz1s3dnzdg-tar-1.34.tar.xz.drv /tmp/guix-tests/store/99asq9idmfk5ifv3pb24ahklsls911vc-diffutils-3.8.drv /tmp/guix-tests/store/f89xggrcs8cq8v3i15mb85f7lnpdahi6-diffutils-3.8.tar.= xz.drv /tmp/guix-tests/store/yayvypf19rkbbzsn2xi9n9wzxycfq5nh-perl-5.34.0.drv /tmp/guix-tests/store/psrk3l1xisd32z6ifdldbrcpf3gcm7gl-coreutils-minimal-= 8.32.drv /tmp/guix-tests/store/abh4j4wl32p6f2i78qiis0kgsy7razk3-make-4.3.drv /tmp/guix-tests/store/n43d1gkl3qfqf6dkjfifanlmhwn53v6l-pkg-config-0.29.2.= drv /tmp/guix-tests/store/dck98fl1d4y2w761547laxdq0zix8vyi-bzip2-1.0.8.drv /tmp/guix-tests/store/5hgx7y1w3jr8i2b89xxix8wd1ji2814i-bzip2-1.0.8.tar.gz= .drv /tmp/guix-tests/store/fizvdc3wiw1ysxf4f4bcwqihc0i2i6kl-sed-4.8.drv /tmp/guix-tests/store/9y335nr187bkjbdsbgrscnfmh7375jjv-sed-4.8.tar.xz.drv /tmp/guix-tests/store/wl4vw9raqk91g7vbrx37yykypcmbp7zn-sed-4.8.tar.gz.drv /tmp/guix-tests/store/lzr7aslw4090qjpd20wffniidz2mwpvg-patch-2.7.6.drv /tmp/guix-tests/store/8pxxy5qm5mwn4iwymnnd7x1m246y54i8-ed-1.17.drv /tmp/guix-tests/store/py3c6m2xqb12xw9x6sgvpgwp2x39szm3-ed-1.17.tar.lz.drv /tmp/guix-tests/store/r1i088hs6awawq9v3q74bjfqn2cjwjzq-lzip-1.22.drv /tmp/guix-tests/store/jj50yy8p425nvfjs861jisk3yjmmny5d-lzip-1.22.tar.gz.d= rv /tmp/guix-tests/store/bgzrlrmin6pg495cw1zrfmhzspq9334y-patch-2.7.6.tar.xz= .drv /tmp/guix-tests/store/9iz8w95gkcfqvslq2ggiyr7l7j418p2h-patch-2.7.6.tar.xz= .drv /tmp/guix-tests/store/njh2q6jh30ir65f9jfizszdgh4cws459-gzip-1.10.drv /tmp/guix-tests/store/vba66mj7a6br9l1m3zvh2b4df4zifljr-file-5.39.drv /tmp/guix-tests/store/xf8ib1prxmd0alc0wb5a2lqvwa80x09z-gawk-5.1.0.drv /tmp/guix-tests/store/8i6daxjks420vgi249hg6d8srh147c9a-gawk-5.1.0.tar.xz.= drv /tmp/guix-tests/store/b7y69zhla11p6mrnqjc5qcka6hsdz3na-libsigsegv-2.13.drv /tmp/guix-tests/store/ddlp4jv9ga49yi3jirqiayd1kzw56pqx-libsigsegv-2.13.ta= r.gz.drv /tmp/guix-tests/store/zl919yhli8x70swq2rjnjd6idlr2kksy-findutils-4.8.0.drv /tmp/guix-tests/store/gn7lpfk8l0jgng99m0pxz8qgbn02al9s-grep-3.6.drv /tmp/guix-tests/store/1a3wpp31av41pwwm7hv6rv5rawwygdiv-grep-3.6.tar.xz.drv /tmp/guix-tests/store/8n0x19a6gfg3yfkbdyxsa60pfsly2hfr-perl-5.34.0.drv /tmp/guix-tests/store/ra0w6z0gak8d467vpg2cxkzw4s1nwk8l-coreutils-minimal-= 8.32.drv /tmp/guix-tests/store/kv0h9wzahk2bin4lkfd57w0gwn5rhna4-coreutils-8.32.tar= .xz.drv /tmp/guix-tests/store/v78axsby58bj5hx2c52g79zvnrrc2b2z-perl-5.34.0.tar.xz= .drv /tmp/guix-tests/store/8s6m5d22xnnaq3wxfighgqpjj219qlks-pcre-8.45.drv /tmp/guix-tests/store/1jgc0pkprmhzyi4mc673s4r3w16zghig-zlib-1.2.11.drv /tmp/guix-tests/store/5rsf6wrlssjfll1safbkacs7af7l2d5b-readline-8.1.1.drv /tmp/guix-tests/store/fqyrnavjbkhi77n5vqhdid2k8w6mg9a0-readline-8.1.tar.x= z.drv /tmp/guix-tests/store/bbv6h06m4jp3rrpdcg7badfx4gx5rcm6-readline81-001.drv /tmp/guix-tests/store/smzqvnsz6f25008m8d37naymwqr2dhv0-readline-8.1.tar.g= z.drv /tmp/guix-tests/store/nl65h4cp6kyxhi96wa9zcqhqrr343pk5-ncurses-6.2.202106= 19.drv /tmp/guix-tests/store/9v7hgmsbj8kysszv4412v464cf69g9zv-pkg-config-0.29.2.= drv /tmp/guix-tests/store/mffc11c9cdsr8fvi55gf59z97g26ckhh-ncurses-6.2-202106= 19-patch.sh.bz2.drv /tmp/guix-tests/store/xjihk2qi6mpba93zsxf5g2nm0i1318bc-ncurses-6.2.tar.gz= .drv /tmp/guix-tests/store/p2g94kwd7mmqafp1yw5il1hwi6jwr20b-bzip2-1.0.8.drv /tmp/guix-tests/store/xf9x7c8yh63asby6d3kklalmvvh962cp-pcre-8.45.tar.bz2.= drv /tmp/guix-tests/store/hpc4la1fkmy44lx7rwgjfjqsqi8rxl2j-coreutils-8.32.drv /tmp/guix-tests/store/1dh8cn5iygs9bpgmg9422wzpddsq5vlq-acl-2.3.1.drv /tmp/guix-tests/store/ascirri4w1yr85b079z71jiyvxx3rc0n-acl-2.3.1.tar.gz.d= rv /tmp/guix-tests/store/b2q1rxgpg5w274mdi9i4dwn8sz86bcpv-attr-2.5.1.drv /tmp/guix-tests/store/ma64likl414c3wbw7qq2bggg6cbrnhnr-gettext-minimal-0.= 21.drv /tmp/guix-tests/store/baa0x06g8s70hkyf6m4kfi74f2s6652l-libxml2-2.9.12.drv /tmp/guix-tests/store/9y54l679x2c0w4vmpyi0jcx93qkffvnn-xz-5.2.5.drv /tmp/guix-tests/store/xaiq1b7ddb5zz2cd179nx56qmrdaxlqa-libxml2-2.9.12.tar= .xz.drv /tmp/guix-tests/store/w24472jz9vxqa4bjmz7477973jhkd9ik-libxml2-2.9.12.tar= .gz.drv /tmp/guix-tests/store/ls6ibkawnxg13713lc436n94ilqkib8g-gettext-0.21.tar.g= z.drv /tmp/guix-tests/store/x9grx0ibyn1kk9q1a431w8v27zvpqvsa-libunistring-0.9.1= 0.drv /tmp/guix-tests/store/x86a0j6kp821gxrk12hmvp7wqyya6hmr-attr-2.5.1.tar.gz.= drv /tmp/guix-tests/store/470s1b7yc5xq8ayc5z4xm2pnaic6k5kc-gmp-6.2.1.drv /tmp/guix-tests/store/4dcf5wa7575sj1yd5d3khq2z4vc8ixx7-m4-1.4.18.drv /tmp/guix-tests/store/wp2lv1144dkj204fr98g4vdvh5khg5sm-m4-1.4.18.tar.xz.d= rv /tmp/guix-tests/store/wy18gfwdnypqij236p495cd0sp923v23-gmp-6.2.1.tar.xz.d= rv /tmp/guix-tests/store/926ff4vmwvm0m6vjxl41jdx358f9rraa-gmp-6.2.1.tar.xz.d= rv /tmp/guix-tests/store/y40qi9cdy4bsvjblzzky7bi5dnm76ld4-libcap-2.62.drv /tmp/guix-tests/store/4qn3bp2kx2ga709x4s3iknkkmazfcbjn-libcap-2.62.tar.xz= .drv /tmp/guix-tests/store/k6qncrds25lcqgzr1vxwvp1fnfzsdhmz-texinfo-6.7.drv /tmp/guix-tests/store/pbs5yhvd2gl1jyp9glw3kj35yrkbhxnp-glibc-utf8-locales= -2.33.drv /tmp/guix-tests/store/8fxqqkarqq9lm37gj749gvh6zanzslbh-linux-libre-header= s-5.10.35.drv /tmp/guix-tests/store/5iwdqn8y8p172pdlpw4pi2qmja10s16l-bison-3.7.6.drv /tmp/guix-tests/store/mr6ldfhd1k18jn4qj5jgghj77lyxrbd8-flex-2.6.4.drv /tmp/guix-tests/store/8h12chr1yka2n23xys95sssiav8pq91n-help2man-1.48.5.drv /tmp/guix-tests/store/hm8nn50kdhd4hkbbnsqy45gci2iaazyw-help2man-1.48.5.ta= r.xz.drv /tmp/guix-tests/store/vw4wpcy1wbf6k3ag2zmcw25v4qcqnq3h-perl-gettext-1.07.= drv /tmp/guix-tests/store/a3272isvax52i5qh5w19q5b1zd09xdly-gettext-1.07.tar.g= z.drv /tmp/guix-tests/store/r45lzycmjc8jcvxci9sqwws8h0k9h6vb-module-import-comp= iled.drv /tmp/guix-tests/store/8myba7wg6h88rf4k5sm328xl84c9jx5f-bison-3.7.6.drv /tmp/guix-tests/store/pr1j63rh4zg1ww4gb03qvchkb869mvp7-glibc-2.33.drv /tmp/guix-tests/store/alxf0h9wmjf6mjw3xwc6r7394aqaq08x-python-minimal-3.9= .9.drv /tmp/guix-tests/store/0ph1pyqb4dwjrby0r58kdv8nxpjvg5j2-openssl-1.1.1l.drv /tmp/guix-tests/store/2lnm8dllcggjwr6z2d0rgjl2j5xdfp96-openssl-1.1.1l.tar= .xz.drv /tmp/guix-tests/store/x8b88sxk8k4mhy19rgib178q64n65vw2-openssl-1.1.1l.tar= .gz.drv /tmp/guix-tests/store/hrzacv2i0zkhf6s69ykn89ks3lh0w8hb-expat-2.4.1.drv /tmp/guix-tests/store/j4c46x206996zhsv95rpb289c71lzqmy-tzdata-2021e.drv /tmp/guix-tests/store/5a59m1ix3g5k2cf6azd43cgm20akmsw1-tzdata2021e.tar.gz= .drv /tmp/guix-tests/store/ldwzk0z8nmz4x2knz69rbzmnxvmgxqz4-tzcode2021e.tar.gz= .drv /tmp/guix-tests/store/jws9dsxc6wy02fkvri29qa2gjgrcr0h3-unzip-6.0.drv /tmp/guix-tests/store/h77hsl1pnxbfq9lbsb44hqwryyw2z2cq-unzip60.tar.xz.drv /tmp/guix-tests/store/fb50kgp8875vaprz99z1xpm8d7lyy6bf-unzip60.tar.gz.drv /tmp/guix-tests/store/kwvzkncsscb836xnqnv4w9mf4wih0zf1-zip-3.0.drv /tmp/guix-tests/store/gh8xd05ggra71pxlrqqmh0ywdbcyf8pv-zip30.tar.gz.drv /tmp/guix-tests/store/q34n39rszb83asm5dxmb3j3cqsicsfgf-Python-3.9.9.tar.x= z.drv /tmp/guix-tests/store/ybh57lm3rql0zmkd79fhp3m06rc7i79x-Python-3.9.9.tar.x= z.drv /tmp/guix-tests/store/qr9rvbbj1z14kjl6pf0sz00lw6wcy95v-libffi-3.3.drv /tmp/guix-tests/store/7axvp0dh0323z2hifk6g38xkhz42hv0s-libffi-3.3.tar.xz.= drv /tmp/guix-tests/store/k314ya2l1j7zp6ccha1ahy2g2n5w30w9-bash-static-5.1.8.= drv /tmp/guix-tests/store/g3532cw5wmamswzddqijasjbsnyng434-bash-5.1.tar.xz.drv /tmp/guix-tests/store/mp6sm9pwkdygzi3b4sv8j8w903nzpvqg-glibc-2.33.tar.xz.= drv /tmp/guix-tests/store/wq8hhdps1xd882sq3daa1bym54scycsd-sed-4.8.drv /tmp/guix-tests/store/1w09mdcm3m9sv3f8g1xyxpy8wwj7kiq5-sed-4.8.tar.xz.drv /tmp/guix-tests/store/4svif0a4ygcjhdvwy71pma2iq0jsq6n7-module-import-comp= iled.drv /tmp/guix-tests/store/5bnbndrkhsl75rvx5zng1m1v7gn2qjnh-mkfontscale-1.2.1.= drv /tmp/guix-tests/store/4vapcas9i0qkizpxklai6s1gc0qns7jh-libpng-1.6.37.drv /tmp/guix-tests/store/n0aqcbf5kjy8jnwfj52brx3swqyn1syw-libpng-1.6.37.tar.= xz.drv /tmp/guix-tests/store/96j0l82k0267fa23fspksjgi4asqhsx6-xorgproto-2021.5.d= rv /tmp/guix-tests/store/g0vfc817956bvw2va79wnhvdr8jis7z0-xorgproto-2021.5.t= ar.bz2.drv /tmp/guix-tests/store/xqzk1zi52v1d57vf1sn3bb1lssk34hc3-util-macros-1.19.3= .drv /tmp/guix-tests/store/xs001m7234ps32bfmsh34n6kfsfyv14p-util-macros-1.19.3= .tar.bz2.drv /tmp/guix-tests/store/mpv16qsfnmcx9d7r22d823s3m8ris5zi-libfontenc-1.1.4.d= rv /tmp/guix-tests/store/850nm8pgj16sr6wx5w1c2wdvizkw1l8k-libfontenc-1.1.4.t= ar.bz2.drv /tmp/guix-tests/store/qixrfz32ym54k82wk8jllcdsskgkfix4-freetype-2.10.4.drv /tmp/guix-tests/store/3a14siwd06f243hh5ffw3wf4i1s6wh8r-freetype-2.10.4.ta= r.xz.drv /tmp/guix-tests/store/swbzw0r258fcwy2zwqgvx3m181ybbpxa-mkfontscale-1.2.1.= tar.bz2.drv /tmp/guix-tests/store/r68y9vxqa4f9iwdp1kycghy5vwcgx0id-mkfontdir-1.0.7.drv /tmp/guix-tests/store/13w2afx08lhxzxj85d8hdfaz9h17v925-automake-1.16.3.drv /tmp/guix-tests/store/hvnhlr8ha7czasn5m55rpxbypr6fpxr3-autoconf-wrapper-2= .69.drv /tmp/guix-tests/store/87vmhiih0yzzznbawa44bh441yxwp2zr-autoconf-2.69.drv /tmp/guix-tests/store/cpswkgwna56j6f1dx549ayark1h4k0d5-autoconf-2.69.tar.= xz.drv /tmp/guix-tests/store/sqp06q2gisn774rqfr53ds0232g1q7sp-bash-minimal-5.1.8= .drv /tmp/guix-tests/store/c6v3ng6xk682jdymilmkkhgfx67gw0jq-guile-3.0.7.drv /tmp/guix-tests/store/qc2mcdhy3jssl3h2bmpx70mnb76p1hws-guile-3.0.7.tar.xz= .drv /tmp/guix-tests/store/x5xkq26miwqas0619bdcpy07lxqjrmfj-libgc-8.0.4.drv /tmp/guix-tests/store/zsd10dgjkbmcxlalplbxqy14dy3wf8j5-automake-1.16.3.ta= r.xz.drv /tmp/guix-tests/store/m3103za60mkp2jz3is7vzv06s6bq80br-automake-1.16.3.ta= r.xz.drv /tmp/guix-tests/store/y6zsi3in6pdrrlpz6jkkf85mfqh7bssf-mkfontdir-1.0.7.ta= r.bz2.drv /tmp/guix-tests/store/sss24ngcgw51sliprb1mi7gm6f02c9cg-module-import-comp= iled.drv + mv t-guix-manifest-12319/manifest.scm t-guix-manifest-12319/manifest.scm.= previous + for options in "coreutils grep sed" "gsl openblas gcc-toolchain --tune" "= guile -m $manifest.previous" "git:send-email gdb guile:debug" "git -D coreu= tils" + guix shell --export-manifest gsl openblas gcc-toolchain --tune Backtrace: In ice-9/boot-9.scm: 1752:10 13 (with-exception-handler _ _ #:unwind? _ # _) In unknown file: 12 (apply-smob/0 #) In ice-9/boot-9.scm: 724:2 11 (call-with-prompt _ _ #) In ice-9/eval.scm: 619:8 10 (_ #(#(#))) In guix/ui.scm: 2230:7 9 (run-guix . _) 2193:10 8 (run-guix-command _ . _) In guix/scripts/shell.scm: 160:17 7 (guix-shell . _) In ice-9/boot-9.scm: 1747:15 6 (with-exception-handler # =E2=80=A6) In srfi/srfi-37.scm: 201:16 5 (next-arg) 113:18 4 (invoke-option-processor _ _ _ _ _) In unknown file: 3 (_ # # #) 2 (_ # # #) In guix/transformations.scm: 864:25 1 (_ _ _ _ ((package ad-hoc-package "gcc-toolchain") (=E2=80=A6)= =E2=80=A6)) In guix/cpu.scm: 94:2 0 (cpu->gcc-architecture #f) 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-12319 FAIL tests/guix-shell-export-manifest.sh (exit status: 1) --8<---------------cut here---------------end--------------->8--- This is ca. 312879fddcf0713c0f1dafcc6faa089edbbb6e04. Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Thu May 05 20:28:38 2022 Received: (at 55283) by debbugs.gnu.org; 6 May 2022 00:28:38 +0000 Received: from localhost ([127.0.0.1]:46762 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nmlpm-0004x7-C9 for submit@debbugs.gnu.org; Thu, 05 May 2022 20:28:38 -0400 Received: from mx1.riseup.net ([198.252.153.129]:59076) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nmlpk-0004ws-8J for 55283@debbugs.gnu.org; Thu, 05 May 2022 20:28:36 -0400 Received: from fews1.riseup.net (fews1-pn.riseup.net [10.0.1.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.riseup.net", Issuer "R3" (not verified)) by mx1.riseup.net (Postfix) with ESMTPS id 4KvWdB5bkHzDqYY; Thu, 5 May 2022 17:28:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1651796910; bh=+1nB1hJ07C4BaMUFtrDmJEi5PIs6DjpVBBGl09vDnhA=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=EhpJsz3pXo6OOxJl85YtGap8koGIrCXErO8lmd/mkxQXWf8M391budMigclRjaDvV DyMUoqZPLnNBOig6+aU/8jSOKF0Ekg78UENFcFYIrS5ImdSWSYxAH0trW477JFke7G cVxtJzWa3RUTbV7LIptQZP2iLiFR7ciO+EmqbRm8= X-Riseup-User-ID: 330E6ADE7FA8FE51ABEF2523628BEA6B67912E24BB4381CFD788CAB990868193 Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews1.riseup.net (Postfix) with ESMTPSA id 4KvWd95kTXz5vr1; Thu, 5 May 2022 17:28:29 -0700 (PDT) Date: Fri, 6 May 2022 02:28:26 +0200 From: raingloom To: Ludovic =?UTF-8?B?Q291cnTDqHM=?= Subject: Re: bug#55283: =?UTF-8?B?4oCYdGVzdHMvZ3VpeC1zaGVsbC1leHBvcnQtbWFu?= =?UTF-8?B?aWZlc3Quc2jigJk=?= fails on aarch64-linux Message-ID: <20220506022826.5089eb2c@riseup.net> In-Reply-To: <87ee1761ci.fsf@inria.fr> References: <87ee1761ci.fsf@inria.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 55283 Cc: 55283@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) On Fri, 06 May 2022 00:50:21 +0200 Ludovic Court=C3=A8s wrote: > The log goes like this: > ... > + guix shell --export-manifest gsl openblas gcc-toolchain --tune This seems to be the important part, it looks like the CPU arch isn't being detected. > Backtrace: > In ice-9/boot-9.scm: > 1752:10 13 (with-exception-handler _ _ #:unwind? _ # _) > In unknown file: > 12 (apply-smob/0 #) > In ice-9/boot-9.scm: > 724:2 11 (call-with-prompt _ _ # default-prompt-handle=E2=80=A6>) In ice-9/eval.scm: > 619:8 10 (_ #(#(#))) > In guix/ui.scm: > 2230:7 9 (run-guix . _) > 2193:10 8 (run-guix-command _ . _) > In guix/scripts/shell.scm: > 160:17 7 (guix-shell . _) > In ice-9/boot-9.scm: > 1747:15 6 (with-exception-handler # > =E2=80=A6) In srfi/srfi-37.scm: > 201:16 5 (next-arg) > 113:18 4 (invoke-option-processor _ _ _ _ _) > In unknown file: > 3 (_ # # #) > 2 (_ # # #) > In guix/transformations.scm: > 864:25 1 (_ _ _ _ ((package ad-hoc-package "gcc-toolchain") (=E2=80= =A6) > =E2=80=A6)) In guix/cpu.scm: > 94:2 0 (cpu->gcc-architecture #f) This indicates the same to me. But I don't know the internals of --tune well enough, so it's just a hunch. > guix/cpu.scm:94:2: In procedure cpu->gcc-architecture: > In procedure struct-vtable: Wrong type argument in position 1 > (expecting struct): #f > + rm -r t-guix-manifest-12319 > FAIL tests/guix-shell-export-manifest.sh (exit status: 1) > --8<---------------cut here---------------end--------------->8--- >=20 > This is ca. 312879fddcf0713c0f1dafcc6faa089edbbb6e04. >=20 > Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Fri May 06 16:44:01 2022 Received: (at 55283) by debbugs.gnu.org; 6 May 2022 20:44:01 +0000 Received: from localhost ([127.0.0.1]:50013 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nn4nx-000896-Ic for submit@debbugs.gnu.org; Fri, 06 May 2022 16:44:01 -0400 Received: from cascadia.aikidev.net ([173.255.214.101]:36666) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nn4nu-00088r-UI for 55283@debbugs.gnu.org; Fri, 06 May 2022 16:43:59 -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 9DA2C1ABDB; Fri, 6 May 2022 13:43:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=debian.org; s=1.vagrant.user; t=1651869832; bh=/6JpX/VZWfjyPQIaDtWslte7Aq2b1lN47loiavy1kA4=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=jkZyfMTJxKZvAZZODMd/dMbw2/vfhBZDqwZgIDFyOazSnpyj4KYHZMpRXGErx7ZUL MQ3/15TWIhyU+0WrQBB+AfjCBldwjRhsUfgyhsp/0FCF7wngKzGqGGIbBuhV2wXQPz Uq2NrLJHZ6NB86C2JAnU09q/QMDiuO1P6hi1kmcnTTwE+cCHItT4fX4Usxi1QTkuou 0lLUDsdnTSlCi/eMjgb7585D+mrUESBnM/chNyYJ33VIeLtraby/QzlOK6103k1ne5 cW2aHl+cNox2GsHYK+v/h/uuLeD5CvHxCeAVoUTyTpePKKXsKpyS9+X6WHV7J0YUO6 mjd+gjvm7SfbQ== From: Vagrant Cascadian To: raingloom , Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#55283: =?utf-8?Q?=E2=80=98tests=2Fguix-shell-export-manif?= =?utf-8?Q?est=2Esh=E2=80=99?= fails on aarch64-linux In-Reply-To: <20220506022826.5089eb2c@riseup.net> References: <87ee1761ci.fsf@inria.fr> <20220506022826.5089eb2c@riseup.net> Date: Fri, 06 May 2022 13:43:47 -0700 Message-ID: <874k228k8s.fsf@contorta> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 55283 Cc: 55283@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 2022-05-06, raingloom@riseup.net wrote: > On Fri, 06 May 2022 00:50:21 +0200 > Ludovic Court=C3=A8s wrote: > >> The log goes like this: >> ... >> + guix shell --export-manifest gsl openblas gcc-toolchain --tune > > This seems to be the important part, it looks like the CPU arch isn't > being detected. > >> Backtrace: >> In ice-9/boot-9.scm: >> 1752:10 13 (with-exception-handler _ _ #:unwind? _ # _) >> In unknown file: >> 12 (apply-smob/0 #) >> In ice-9/boot-9.scm: >> 724:2 11 (call-with-prompt _ _ #> default-prompt-handle=E2=80=A6>) In ice-9/eval.scm: >> 619:8 10 (_ #(#(#))) >> In guix/ui.scm: >> 2230:7 9 (run-guix . _) >> 2193:10 8 (run-guix-command _ . _) >> In guix/scripts/shell.scm: >> 160:17 7 (guix-shell . _) >> In ice-9/boot-9.scm: >> 1747:15 6 (with-exception-handler # >> =E2=80=A6) In srfi/srfi-37.scm: >> 201:16 5 (next-arg) >> 113:18 4 (invoke-option-processor _ _ _ _ _) >> In unknown file: >> 3 (_ # # #) >> 2 (_ # # #) >> In guix/transformations.scm: >> 864:25 1 (_ _ _ _ ((package ad-hoc-package "gcc-toolchain") (=E2=80= =A6) >> =E2=80=A6)) In guix/cpu.scm: >> 94:2 0 (cpu->gcc-architecture #f) > > This indicates the same to me. > But I don't know the internals of --tune well enough, so it's just a > hunch. > >> guix/cpu.scm:94:2: In procedure cpu->gcc-architecture: >> In procedure struct-vtable: Wrong type argument in position 1 >> (expecting struct): #f >> + rm -r t-guix-manifest-12319 >> FAIL tests/guix-shell-export-manifest.sh (exit status: 1) >> --8<---------------cut here---------------end--------------->8--- I'm getting this same error too; happy to test any proposed patches. live well, vagrant --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCYnWIhAAKCRDcUY/If5cW qtz7AQC2yIxTj9IA7IPIpYhOtc6kD7cNeN/2k26GgSV22CmP/QEApMw1GmE6Cg8G UTAyNnbkp3JpgZedDpKouRwDHqdIzAk= =mu9V -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Fri May 06 17:12:46 2022 Received: (at 55283) by debbugs.gnu.org; 6 May 2022 21:12:46 +0000 Received: from localhost ([127.0.0.1]:50027 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nn5Fl-0000PB-W3 for submit@debbugs.gnu.org; Fri, 06 May 2022 17:12:46 -0400 Received: from albert.telenet-ops.be ([195.130.137.90]:40324) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nn5Fk-0000P2-E0 for 55283@debbugs.gnu.org; Fri, 06 May 2022 17:12:45 -0400 Received: from ptr-bvsjgyhxw7psv60dyze.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:3c5f:2eff:feb0:ba5a]) by albert.telenet-ops.be with bizsmtp id TZCh270094UW6Th06ZCi3L; Fri, 06 May 2022 23:12:42 +0200 Message-ID: <5d219586c7a9a5ed2d89b12db73385d9d55adeb9.camel@telenet.be> Subject: Re: bug#55283: =?UTF-8?Q?=E2=80=98tests=2Fguix-shell-export-manifest=2Esh=E2=80=99?= fails on aarch64-linux From: Maxime Devos To: raingloom , Ludovic =?ISO-8859-1?Q?Court=E8s?= Date: Fri, 06 May 2022 23:12:33 +0200 In-Reply-To: <20220506022826.5089eb2c@riseup.net> References: <87ee1761ci.fsf@inria.fr> <20220506022826.5089eb2c@riseup.net> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-kxye444pUNrLsdlvWooZ" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1651871562; bh=YxpEhBBnjtvoDKXDCYCkTpTNCayQew13eu0ZrqadYVo=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=AgmtYG7kzzaP4hWCXE6KziJz1NF7sTuhuI0+0FPmZmQg2AIZhB6gfjZM9HzwwPARS gmkrOvpVoKnu/Y33hNBjrF9x+FHyOe6LV9i+EOPXptnFyGOsr50gWhNjAJSi7UxiA0 k5caQ1BwLAgWsl4ToNSGKRYuXv+oNkJ6MSXlhTTwHQwAFaBjwOC7FpXs5afTp1ZVVO 9yMKklfzQg6g0P7C5aVkjaa6Madl/W6slcKYWUDdKGjt3mIyu3q1flO55+/T+G3L6u yPEKf0h5Qw6b5YeiguiFF8zqdIieecGCcZKD9/nmDJ1EK0nSe51rvLesOVlKbWG934 6hROhg6l9shjQ== X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 55283 Cc: 55283@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-kxye444pUNrLsdlvWooZ Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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? Also, why doesn't 'current-cpu' throw some kind of exception instead of #false? No users of 'current-cpu' appear to handle #false and returning #false is not documented in the docstring. Greetings, Maxime. --=-kxye444pUNrLsdlvWooZ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYnWPQRccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7t0wAQCBkoUckLK9x1U7FU0+mNEfnzZu Mxo8jrdMNfFjhpkxxgEAupIeYrRduPK2WP4NegP6Okm+i29hjhQIWkWlO8imGgs= =wo5b -----END PGP SIGNATURE----- --=-kxye444pUNrLsdlvWooZ-- From debbugs-submit-bounces@debbugs.gnu.org Fri May 06 18:13:50 2022 Received: (at 55283) by debbugs.gnu.org; 6 May 2022 22:13:50 +0000 Received: from localhost ([127.0.0.1]:50052 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nn6Cs-0001re-7F for submit@debbugs.gnu.org; Fri, 06 May 2022 18:13:50 -0400 Received: from cascadia.aikidev.net ([173.255.214.101]:36682) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nn6Cq-0001rQ-Dl for 55283@debbugs.gnu.org; Fri, 06 May 2022 18:13:48 -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 893A51ABDB; Fri, 6 May 2022 15:13:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=debian.org; s=1.vagrant.user; t=1651875222; bh=PsDyK9wMs5mX4D88pn60omH55Zg7t3He4z5SNp3Ttjo=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=iaW6ftXsUIPQSYCFTmI5O8ne+J+VNn1pGD5rgv7BQvHvW3fjsZEoE+/oOAu6sbARD 9cUoxNHQYZtryhvSver60P9+jT/iZTixr0UqZauDdxO66cLVoeYg5gvWXi5SANuygG TXo1vxwWbacyz01ceWDdNpG6iL59f1iZhxWGs01aT8pnoNqUpDLY+nDmlQozLMmQ08 GZJeM2QFrB6Khfw+BUOjjiE9tSrfAgh8XBWo+ByZFiQxw9H8ssOopsP9gQ+IVkgErP aF0ugsg6n4skYK3PKsYLeJFf7A9KAN+pO50MMRUBOchJrVTMJzVoq2yof0HCoReYqJ h6DFZ1cVtnOYA== From: Vagrant Cascadian To: Maxime Devos , raingloom , Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#55283: =?utf-8?Q?=E2=80=98tests=2Fguix-shell-export-manif?= =?utf-8?Q?est=2Esh=E2=80=99?= fails on aarch64-linux In-Reply-To: <5d219586c7a9a5ed2d89b12db73385d9d55adeb9.camel@telenet.be> References: <87ee1761ci.fsf@inria.fr> <20220506022826.5089eb2c@riseup.net> <5d219586c7a9a5ed2d89b12db73385d9d55adeb9.camel@telenet.be> Date: Fri, 06 May 2022 15:13:36 -0700 Message-ID: <871qx68g33.fsf@contorta> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 55283 Cc: 55283@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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? 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 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 I'll test on some other hardware with a very different cpu and see if it has the same problem too. live well, vagrant --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCYnWdkQAKCRDcUY/If5cW qljWAP4mPSzoTBSwZuBQRnzX14dS85ytmGAWrr8uLgJbYm+UHAD7BgjRL+xvAgZj O0R4zrTnqkD80vBojkjk75AkeeWZ1wk= =QhG5 -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Fri May 06 20:14:56 2022 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 To: Maxime Devos , raingloom , Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#55283: =?utf-8?Q?=E2=80=98tests=2Fguix-shell-export-manif?= =?utf-8?Q?est=2Esh=E2=80=99?= fails on aarch64-linux 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-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 55283 Cc: 55283@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= 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----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Fri May 06 20:45:28 2022 Received: (at 55283) by debbugs.gnu.org; 7 May 2022 00:45:28 +0000 Received: from localhost ([127.0.0.1]:50115 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nn8Zc-000782-EZ for submit@debbugs.gnu.org; Fri, 06 May 2022 20:45:28 -0400 Received: from cascadia.aikidev.net ([173.255.214.101]:36714) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nn8Zb-00077f-9j for 55283@debbugs.gnu.org; Fri, 06 May 2022 20:45:27 -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 357EB1ABDB; Fri, 6 May 2022 17:45:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=debian.org; s=1.vagrant.user; t=1651884321; bh=VUvr1lpwhIyK8+T3kBz1eV60y2I2oez+0G5jnBYbo/k=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=i/oqi55Nph0kCr0DN0vbYU7g2zzwakZm26eBFNb4x99TeaMZLsYQD2DSXfGYtg2E1 ynxnpSlWUWSpJ6OD1WPpBA364H5cgS/M/sWPopHU8SymCw5Q74A+sC2+MDtcGIAnT9 zNQS+JoZYP2cBOyJdgYDqSNhWXWBkwxB+F00ng0JgSPywAkLDwV3hMiu+USVimXJ9x 2yxUkIauC3+A7utSrnX45NoCJ7OwQZKHxWbDx9pBrlUz98A4JnuX+BaeCt/o08Xant GX1Ve6U/S6EA1E/kLfN+KYabY0UQK3xJhK1HQPxboSnzjs96Mpe0Q09A15XqR241XT 30+CEBlCXBgkA== From: Vagrant Cascadian To: Maxime Devos , raingloom , Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#55283: =?utf-8?Q?=E2=80=98tests=2Fguix-shell-export-manif?= =?utf-8?Q?est=2Esh=E2=80=99?= fails on aarch64-linux In-Reply-To: <87wney6vwq.fsf@contorta> References: <87ee1761ci.fsf@inria.fr> <20220506022826.5089eb2c@riseup.net> <5d219586c7a9a5ed2d89b12db73385d9d55adeb9.camel@telenet.be> <871qx68g33.fsf@contorta> <87wney6vwq.fsf@contorta> Date: Fri, 06 May 2022 17:45:15 -0700 Message-ID: <87tua26uhw.fsf@contorta> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 55283 Cc: 55283@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 2022-05-06, Vagrant Cascadian wrote: > 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? So, the simplest reproducer is just to call what was in the test, essentially: $ guix shell --export-manifest gsl openblas gcc-toolchain --tune Backtrace: 10 (primitive-load "/home/vagrant/.config/guix/current/bin=E2= =80=A6") In guix/ui.scm: 2230:7 9 (run-guix . _) 2193:10 8 (run-guix-command _ . _) In guix/scripts/shell.scm: 160:17 7 (guix-shell . _) In ice-9/boot-9.scm: 1747:15 6 (with-exception-handler # =E2=80=A6) In srfi/srfi-37.scm: 201:16 5 (next-arg) 113:18 4 (invoke-option-processor _ _ _ _ _) In unknown file: 3 (_ # # =E2= =80=A6) 2 (_ # # =E2= =80=A6) In guix/transformations.scm: 864:25 1 (_ _ _ _ ((package ad-hoc-package "gcc-toolchain") (=E2=80= =A6) =E2=80=A6)) In guix/cpu.scm: 94:2 0 (cpu->gcc-architecture #f) =20=20 guix/cpu.scm:94:2: In procedure cpu->gcc-architecture: In procedure struct-vtable: Wrong type argument in position 1 (expecting = struct): #f Calling "guix shell --export-manifest gsl openblas gcc-toolchain" without the "--tune" argument works fine. So whatever codepath is not handling cpu->gcc-architecture being #f should somehow... handle that reasonably. Not sure what that is, as calling --tune you asked for somet tuning and failing makes sense... So apparently --tune is broken on aarch64 (and presumably any other architecture that doesn't return anything). Seems cpu->gcc-architecture should always at least return a safe baseline for all supported architectures, maybe? live well, vagrant --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCYnXBGwAKCRDcUY/If5cW qr/6AQDabeCXVUj4xrA8G08o0GlcjvTWA4XLWzHnxfIdxnQZ3wEArP7CAuvlDoDm l+/SQLByxJZ8CcQOUOKiIt/iugCJGQ0= =88GV -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sun May 08 18:15:00 2022 Received: (at 55283) by debbugs.gnu.org; 8 May 2022 22:15:00 +0000 Received: from localhost ([127.0.0.1]:55482 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nnpB6-0001ZZ-FB for submit@debbugs.gnu.org; Sun, 08 May 2022 18:15:00 -0400 Received: from eggs.gnu.org ([209.51.188.92]:56394) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nnpB4-0001ZN-Tg for 55283@debbugs.gnu.org; Sun, 08 May 2022 18:14:59 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:40266) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nnpAy-0001Ud-NZ; Sun, 08 May 2022 18:14:52 -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=Q2iGodT7PhpZk6SGd+Llq/JPngkwpc8z8eJwcrlp30k=; b=R+cB6JWL82pnVsG+EbcM +OOEbIujbbKTxXokHj8iOmbFs7g7floYVuyc52iAjCY9oELhQFJw1mCPRYPb4hKUcQ33dTT+8PBTV e6zLgiA2axOLhCDn4UWtkNArvI5li1OKMn8D4ueNv+gCFBervGkmGsrCZpUxMfLHSUJtTeDrisP81 ODW0Kjgowz6civTLDhaa8XlolhdHpfYe0H2rdhiMZsx2fg/OPMO61B/Zx89SIrBwAhQC1zxprv+79 Yp4N7ukIUkhbVmPYcR0D/a5gISIxQZyViV3nQBBIwNJdi05Fg9ouA5G8QNCg5CEgJ9Bznpf7TPdf9 q/hYQrDlfXrgbw==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201]:59437 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nnpAy-00028g-BF; Sun, 08 May 2022 18:14:52 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Vagrant Cascadian Subject: Re: bug#55283: =?utf-8?Q?=E2=80=98tests=2Fguix-shell-export-manif?= =?utf-8?Q?est=2Esh=E2=80=99?= fails on aarch64-linux References: <87ee1761ci.fsf@inria.fr> <20220506022826.5089eb2c@riseup.net> <5d219586c7a9a5ed2d89b12db73385d9d55adeb9.camel@telenet.be> <871qx68g33.fsf@contorta> <87wney6vwq.fsf@contorta> Date: Mon, 09 May 2022 00:14:50 +0200 In-Reply-To: <87wney6vwq.fsf@contorta> (Vagrant Cascadian's message of "Fri, 06 May 2022 17:14:45 -0700") Message-ID: <87wnevu0x1.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-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 55283 Cc: 55283@debbugs.gnu.org, Maxime Devos , raingloom X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi! Vagrant Cascadian skribis: > 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? (guix cpu) is used when passing =E2=80=98--tune=E2=80=99, which is used for= native builds: https://hpc.guix.info/blog/2022/01/tuning-packages-for-a-cpu-micro-archit= ecture/ Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Sun May 08 18:15:22 2022 Received: (at control) by debbugs.gnu.org; 8 May 2022 22:15:22 +0000 Received: from localhost ([127.0.0.1]:55487 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nnpBS-0001wd-MN for submit@debbugs.gnu.org; Sun, 08 May 2022 18:15:22 -0400 Received: from eggs.gnu.org ([209.51.188.92]:56516) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nnpBR-0001pt-Cv for control@debbugs.gnu.org; Sun, 08 May 2022 18:15:22 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:40280) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nnpBM-0001lI-7L for control@debbugs.gnu.org; Sun, 08 May 2022 18:15:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:Subject:From:To:Date:in-reply-to: references; bh=x+y6itTHEdHmrMlwk/wnVPFdEoPntBEJ6To0dhK2Acc=; b=ZGUaHDgaCLif/1 l6vHko0LCQsmIVvQJAY9jWWtXI6aZJL/dr93I98pUSCuzkTT1oBoqgpl2LBjaCXcis99nmU2yKV7q dHY/0+DVM71i7aTuHwOQX6MmQMYX4lzDA9nifBdpCQ1Acs0lEPFkO6xG7h4rHo1OO1xkVDkt2YcJK gvlRkn4EAmpPu/ZS9l+Xst4OKvuN8pN15J2kgWL2pXHfTwXb76u2DEKvUFogoQTJ5f+HHwjexOlft 5vSsXjMBHNgaHIQ9Dd+omPXD3p8nZEt0OH3OPx8oYBiBUJI4sMjmJvRm+YkRV4A5+xfVDKAPI8a67 7i8d1/suJ6bbvZVGqMRw==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201]:54150 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nnpBL-0002DL-Fh for control@debbugs.gnu.org; Sun, 08 May 2022 18:15:15 -0400 Date: Mon, 09 May 2022 00:15:14 +0200 Message-Id: <87v8ufu0wd.fsf@gnu.org> To: control@debbugs.gnu.org From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Subject: control message for bug #55283 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) severity 55283 important quit From debbugs-submit-bounces@debbugs.gnu.org Mon May 09 04:45:08 2022 Received: (at 55283) by debbugs.gnu.org; 9 May 2022 08:45:09 +0000 Received: from localhost ([127.0.0.1]:56006 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nnz0u-0007Jq-Dw for submit@debbugs.gnu.org; Mon, 09 May 2022 04:45:08 -0400 Received: from flashner.co.il ([178.62.234.194]:55320) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nnz0s-0007J1-QG for 55283@debbugs.gnu.org; Mon, 09 May 2022 04:45:07 -0400 Received: from localhost (unknown [37.46.46.12]) by flashner.co.il (Postfix) with ESMTPSA id E1569402CE; Mon, 9 May 2022 08:45:00 +0000 (UTC) Date: Mon, 9 May 2022 11:44:28 +0300 From: Efraim Flashner To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#55283: =?utf-8?B?4oCYdGVzdHMvZ3Vp?= =?utf-8?Q?x-shell-export-manifest=2Esh=E2=80=99?= fails on aarch64-linux Message-ID: Mail-Followup-To: Efraim Flashner , Ludovic =?utf-8?Q?Court=C3=A8s?= , Vagrant Cascadian , 55283@debbugs.gnu.org, Maxime Devos , raingloom References: <87ee1761ci.fsf@inria.fr> <20220506022826.5089eb2c@riseup.net> <5d219586c7a9a5ed2d89b12db73385d9d55adeb9.camel@telenet.be> <871qx68g33.fsf@contorta> <87wney6vwq.fsf@contorta> <87wnevu0x1.fsf@gnu.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="gwrveowPcJDX9e4j" Content-Disposition: inline In-Reply-To: <87wnevu0x1.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-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 55283 Cc: Vagrant Cascadian , 55283@debbugs.gnu.org, Maxime Devos , raingloom X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --gwrveowPcJDX9e4j Content-Type: multipart/mixed; boundary="yHWK/eEt4lpsIrvn" Content-Disposition: inline --yHWK/eEt4lpsIrvn Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, May 09, 2022 at 12:14:50AM +0200, Ludovic Court=C3=A8s wrote: > Hi! >=20 > Vagrant Cascadian skribis: >=20 > > 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? >=20 > (guix cpu) is used when passing =E2=80=98--tune=E2=80=99, which is used f= or native > builds: >=20 > https://hpc.guix.info/blog/2022/01/tuning-packages-for-a-cpu-micro-arch= itecture/ I have a WIP patch for adding CPU detection for aarch64. Perhaps it'll help with the issues? --=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 --yHWK/eEt4lpsIrvn Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0005-WIP-guix-cpu-Add-detection-for-aarch64-CPUs.patch" Content-Transfer-Encoding: quoted-printable =46rom 26894a74e7a1ed861a170239e26d13f1298fe5ac Mon Sep 17 00:00:00 2001 Message-Id: <26894a74e7a1ed861a170239e26d13f1298fe5ac.1644401681.git.efraim= @flashner.co.il> In-Reply-To: References: =46rom: Efraim Flashner Date: Wed, 9 Feb 2022 12:07:55 +0200 Subject: [PATCH 5/5] WIP: guix: cpu: Add detection for aarch64 CPUs. * guix/cpu.scm (current-cpu): Extend existing implementation to also read cpuinfo from aarch64 machines. (cpu->gcc-architecture): Add case for aarch64. --- guix/cpu.scm | 70 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 70 insertions(+) diff --git a/guix/cpu.scm b/guix/cpu.scm index 6d44599822..d4dbd5f6b8 100644 --- a/guix/cpu.scm +++ b/guix/cpu.scm @@ -66,25 +66,47 @@ (define (prefix? prefix) (match (read-line port) ((? eof-object?) #f) + ;; vendor for x86_64 and i686 ((? (prefix? "vendor_id") str) (match (string-tokenize str) (("vendor_id" ":" vendor) (loop vendor family model)))) + ;; vendor for aarch64 and armhf + ((? (prefix? "CPU implementer") str) + (match (string-tokenize str) + (("CPU" "implementer" ":" vendor) + (loop vendor family model)))) + ;; family for x86_64 and i686 ((? (prefix? "cpu family") str) (match (string-tokenize str) (("cpu" "family" ":" family) (loop vendor (string->number family) model)))) + ;; model for x86_64 and i686 ((? (prefix? "model") str) (match (string-tokenize str) (("model" ":" model) (loop vendor family (string->number model))) (_ (loop vendor family model)))) + ;; model for aarch64 and armhf + ((? (prefix? "CPU part") str) + (match (string-tokenize str) + (("CPU" "part" ":" model) + (loop vendor family (string->number (string-append "#x" (s= tring-drop model 2))))) + (_ + (loop vendor family model)))) + ;; flags for x86_64 and i686 ((? (prefix? "flags") str) (match (string-tokenize str) (("flags" ":" flags ...) (cpu (utsname:machine (uname)) vendor family model (list->set flags))))) + ;; flags for aarch64 and armhf + ((? (prefix? "Features") str) + (match (string-tokenize str) + (("Features" ":" flags ...) + (cpu (utsname:machine (uname)) + vendor family model (list->set flags))))) (_ (loop vendor family model)))))))) =20 @@ -192,6 +214,54 @@ (define (cpu->gcc-architecture cpu) ;; TODO: Recognize CENTAUR/CYRIX/NSC? =20 "x86_64")) + ("aarch64" + (pk (cpu-architecture cpu)(cpu-vendor cpu)(cpu-family cpu) (cpu-model= cpu)(cpu-flags cpu)) + ;; Currently returns ("aarch64" #f #f #f #< vhash: # insert: # ref: #>) + ;; Transcribed from GCC's list of aarch64 processors in aarch64-cores= =2Edef + (match (cpu-vendor cpu) + ("0x41" + (match (cpu-model cpu) + ((or #xd02 #xd04 #xd03 #xd07 #xd08 #xd09) + "armv8-a") + ((or #xd05 #xd0a #xd0b #xd0e #xd0d #xd41 #xd42 #xd4b #xd46 #xd43= #xd44 #xd41 #xd0c #xd4a) + "armv8.2-a") + (#xd40 + "armv8.4-a") + (#xd15 + "armv8-r") + ((or #xd46 #xd47 #xd48) + "armv9-a"))) + ("0x42" + "armv8.1-a") + ("0x43" + (match (cpu-model cpu) + ((or #x0a0 #x0a1 #x0a2 #x0a3) + "armv8-a") + ((or #x0b0 #x0b1 #x0b2 #x0b3 #x0b4 #x0b5) + "armv8.2-a") + (#x0b8 + "armv8.3-a"))) + ("0x46" + "armv8.2-a") + ("0x48" + "armv8.2-a") + ("0x50" + "armv8-a") + ("0x51" + (match (cpu-model cpu) + (#xC00 + "armv8-a") + (#x516 + "armv8.1-a") + (#xC01 + "armv8.4-a"))) + ("0x53" + "armv8-a") + ("0x68" + "armv8-a") + (_ + "armv8-a")) + "armv8-a") (architecture ;; TODO: AArch64. architecture))) --=20 2.34.0 --yHWK/eEt4lpsIrvn-- --gwrveowPcJDX9e4j Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmJ41GkACgkQQarn3Mo9 g1FReg/+LBEz33awnHfDF0FJfsmyGqAiGVThIOnn8qcRaSvniHT/RZuHOF1mVMgB KsCYbrFo15OByZ3BzE8FvPlstfGMeOwD3HtVDhT32RMdZtf1zFpA4wZ3aCTwC3/4 Q8gcl/jHN7zdg6WhZcsdMBAzc7UmbDIVx5fEKkxcKNhXQoGwTiS8EkUiCYVOwhtI qLHv1N7BDPfjGmeLEEpcMnTiusV2XgEMTikarmprF5JiVY4xbj7p2kj2poQMi3ab VgLh5ClQE6rkAWNUwrEQUj+uQXwkHtg7jC/Fr9//Q3ksfhIhLwbqPdOMRJdpkU5f ZdxPJPhPQPQq3wASt97mrVGfQi6pKisZPZIh+8G4zKIjyhssxihf67mvpHTgQvW/ StVg6XqnEQNi6d8zKz3sQuCP6wL/aVz2ZujhalQd5GtNmew5faAJdpgXSCVf5fo8 XohUVlyX6VQV6NYvpaQCVqEkTPaDGWe4+OR6ftQ9/ZZBouNWZCjFK5QcfhVdzmYM fA2sC5Gg8xC5X6rSxc+/VU20rhGN3+iaIFEBqPC+xh5YT/X/LhpyPbXxrCH9AVR3 O7Tvzy7XejHu/0myy3z4J+3eOzhVfswVOATX4uoTvL7doXcyGHmWl7qCHSkppog+ 108Tjmnu20NdeaghhkRqHHxihrL/DwAsbUdiEboJoOxITSCw46s= =h0QV -----END PGP SIGNATURE----- --gwrveowPcJDX9e4j-- From debbugs-submit-bounces@debbugs.gnu.org Mon May 09 04:57:45 2022 Received: (at 55283) by debbugs.gnu.org; 9 May 2022 08:57:45 +0000 Received: from localhost ([127.0.0.1]:56024 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nnzD6-0007gd-NH for submit@debbugs.gnu.org; Mon, 09 May 2022 04:57:44 -0400 Received: from flashner.co.il ([178.62.234.194]:55358) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nnzD2-0007gM-1g for 55283@debbugs.gnu.org; Mon, 09 May 2022 04:57:43 -0400 Received: from localhost (unknown [37.46.46.12]) by flashner.co.il (Postfix) with ESMTPSA id 229A7402CE; Mon, 9 May 2022 08:57:34 +0000 (UTC) Date: Mon, 9 May 2022 11:57:01 +0300 From: Efraim Flashner To: Ludovic =?utf-8?Q?Court=C3=A8s?= , Vagrant Cascadian , 55283@debbugs.gnu.org, Maxime Devos , raingloom Subject: Re: bug#55283: =?utf-8?B?4oCYdGVzdHMvZ3Vp?= =?utf-8?Q?x-shell-export-manifest=2Esh=E2=80=99?= fails on aarch64-linux Message-ID: Mail-Followup-To: Efraim Flashner , Ludovic =?utf-8?Q?Court=C3=A8s?= , Vagrant Cascadian , 55283@debbugs.gnu.org, Maxime Devos , raingloom References: <87ee1761ci.fsf@inria.fr> <20220506022826.5089eb2c@riseup.net> <5d219586c7a9a5ed2d89b12db73385d9d55adeb9.camel@telenet.be> <871qx68g33.fsf@contorta> <87wney6vwq.fsf@contorta> <87wnevu0x1.fsf@gnu.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="4k1cL7Cz3DNXhP+J" Content-Disposition: inline In-Reply-To: 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-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 55283 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --4k1cL7Cz3DNXhP+J Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, May 09, 2022 at 11:44:28AM +0300, Efraim Flashner wrote: > On Mon, May 09, 2022 at 12:14:50AM +0200, Ludovic Court=C3=A8s wrote: > > Hi! > >=20 > > Vagrant Cascadian skribis: > >=20 > > > 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? > >=20 > > (guix cpu) is used when passing =E2=80=98--tune=E2=80=99, which is used= for native > > builds: > >=20 > > https://hpc.guix.info/blog/2022/01/tuning-packages-for-a-cpu-micro-ar= chitecture/ >=20 > I have a WIP patch for adding CPU detection for aarch64. Perhaps it'll > help with the issues? (ins)[efraim@pbp guix]$ ./pre-inst-env guix shell --export-manifest gsl ope= nblas gcc-toolchain --tune ;;; note: source file /home/efraim/workspace/guix/guix/cpu.scm ;;; newer than compiled /home/efraim/workspace/guix/guix/cpu.go ;;; ("aarch64" #f #f #f #< vhash: # insert: #<= procedure %insert (t-5ce36f5c768e728-317 t-5ce36f5c768e728-319)> ref: #>) hint: Consider passing the `--check' option once to make sure your shell do= es not clobber environment variables. guix shell: tuning gsl@2.7 for CPU armv8-a ;; What follows is a "manifest" equivalent to the command line you gave. ;; You can store it in a file that you may then pass to any 'guix' command ;; that accepts a '--manifest' (or '-m') option. (use-modules (guix transformations)) (define transform1 (options->transformation '((tune . "armv8-a")))) (packages->manifest (list (transform1 (specification->package "gsl")) (transform1 (specification->package "openblas")) (transform1 (specification->package "gcc-toolchain")))) --=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 --4k1cL7Cz3DNXhP+J Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmJ411oACgkQQarn3Mo9 g1HezhAAshSK9V0NUlcJ3NAJZE09pAOVJeuWudp7Qjjd0o2+JVgOOFf66gePgpbq e8sKXbKZcCAMYlKDE66ufSwXPL800u7WK5HgsUvVq2ckr0BvZkimPlUNWhFD4S67 W6PW2muzOqplQJ/fm6SH8I6V5byYF6Wko9xg2cojiwIt6mbJGf0tf9Z4o0zGLIn7 KN7sQbeUICdc9xHHvInucNaXGrQG7L0Q5IcmSzUzQuUDJwoqDyyRENcqsaEd3kT7 5qDmLh/IxeWbNRcoE1RUJdFjgOFsNqsBO9WxSRpCQDxNMhOo5t0MJ1fz7d4frBxV Fo53/i2gOQXdEZ+hNEtbxc5hAo9+tzP+wqn7l4p0GTm72ahPAtv5GZQPCeyyf+JL iMALtEiro8k2McenDp3Xg7IKwsy4Gurm9VhfsmPzznQOyFkRCZFjU081SNxOJVKt mXbesz0q54J/xL94eYKL3pvhazZzQe4VfFGYRqYh04xxELoOH8CTpwNTe28JTUjU nNp6zYtMyUO1C2y1CU+8h2gdVs/henKbSrlb/VSgw6CH5WOgpKHr9LaFHI8+nqCc m5Q36rVXoTND5/EzYfeMSQc4VQ2Fce/11S6DxYmpf+cUZOH0fVUwCiRx6EX29Hdc zurqL+Xd0NLTByNUJeiBHiKi+g7kN85at/HnsHv++WAo/ebiBwc= =ffwf -----END PGP SIGNATURE----- --4k1cL7Cz3DNXhP+J-- From debbugs-submit-bounces@debbugs.gnu.org Mon May 09 06:03:59 2022 Received: (at 55283) by debbugs.gnu.org; 9 May 2022 10:03:59 +0000 Received: from localhost ([127.0.0.1]:56208 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1no0FD-0007rN-Dn for submit@debbugs.gnu.org; Mon, 09 May 2022 06:03:59 -0400 Received: from michel.telenet-ops.be ([195.130.137.88]:53398) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1no0FC-0007rE-1Z for 55283@debbugs.gnu.org; Mon, 09 May 2022 06:03:58 -0400 Received: from [IPv6:2a02:2c40:200:b001::1:66ec] ([IPv6:2a02:2c40:200:b001::1:66ec]) by michel.telenet-ops.be with bizsmtp id Ua3u2700h48ECPd06a3wa8; Mon, 09 May 2022 12:03:56 +0200 Message-ID: <4d2747729262ac3e3f27d7e75f1dfb50da4c7fed.camel@telenet.be> Subject: Re: bug#55283: =?UTF-8?Q?=E2=80=98tests=2Fguix-shell-export-manifest=2Esh=E2=80=99?= fails on aarch64-linux From: Maxime Devos To: Efraim Flashner , Ludovic =?ISO-8859-1?Q?Court=E8s?= Date: Mon, 09 May 2022 12:03:46 +0200 In-Reply-To: References: <87ee1761ci.fsf@inria.fr> <20220506022826.5089eb2c@riseup.net> <5d219586c7a9a5ed2d89b12db73385d9d55adeb9.camel@telenet.be> <871qx68g33.fsf@contorta> <87wney6vwq.fsf@contorta> <87wnevu0x1.fsf@gnu.org> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-bW0/ydlGu0B5kwnP8UYl" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1652090636; bh=HtAX1sCJAL6uQ6dViOl+0ZBMzyp6GHoy8dq1pbLqJRU=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=R0oA/IlQbe/DwA1jARbeQa5uLIrPK2M9mb6kvgKR/wK+ueZgJbLJrTMrcahiUegNO 1bBy1ojnWN7gAE2RFBhQo80P8FxjwWUJluamsAYShwEjYwY6VdSc9COphdYntAl40D 959aAn4nnKZrF5M16Ssgq7DNEYhM9znsryvIJ4y7h/aaBJo9WL8gfV6PIx59+iYlcI /A+wxK6eZ1snhIQ2A2c3u+UPXz94sA2pfN5r6g719wRWyL9oOQBaGoxEqA4Y0FvZhI kqr1sjphPamCkMlXzxmr3shWIc825Fmh7DfnWbpba0c2EcED0LgWXPfEwqJvWxmKgB eB3vM6DBG6OSQ== X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 55283 Cc: Vagrant Cascadian , 55283@debbugs.gnu.org, raingloom X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-bW0/ydlGu0B5kwnP8UYl Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Efraim Flashner schreef op ma 09-05-2022 om 11:44 [+0300]: > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 (loop vendor family (string->number (string-append > "#x" (string-drop model 2))))) #x is for hexadecimal, right? If so, this can be simplified by using the second argument of=C2=A0string->number: (string->number (string-drop model 2) 16). Greetings, Maxime. --=-bW0/ydlGu0B5kwnP8UYl Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYnjnAhccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7r8LAQDyxvOCEv8qeUguAWADUEGaKNfF Obav7XcVvxFOdW+5NQEA5YkHjUIJVRM+8LCpYMGw2Y84gqMWlXSJCJIuwFenvg4= =h+rd -----END PGP SIGNATURE----- --=-bW0/ydlGu0B5kwnP8UYl-- From debbugs-submit-bounces@debbugs.gnu.org Mon May 09 08:26:19 2022 Received: (at 55283) by debbugs.gnu.org; 9 May 2022 12:26:19 +0000 Received: from localhost ([127.0.0.1]:56503 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1no2Sx-0004DY-Aj for submit@debbugs.gnu.org; Mon, 09 May 2022 08:26:19 -0400 Received: from elegua.eauchat.org ([91.224.149.118]:36002 helo=eauchat.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1no2Su-0004DJ-Ut for 55283@debbugs.gnu.org; Mon, 09 May 2022 08:26:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eauchat.org; s=mail; t=1652099170; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:in-reply-to: references; bh=FsxgqR+gL4O9UoBqah3oMQLmktJqfiWy+yQ10xjak3g=; b=EjKeK6HDENutZ0lisl6dD9yZkjcEFigW+WyFbYy1ye5pWlImE6HxFnBy6o1WhWHQzQzt1z w6Ysy9n+KmzP9snzktK7cff+f6XaMy+2CAeXQXv64QBTwymDnIvT9j+UeK+gWR5xkJ4DE+ qCX+ZrUUHrCl5b+KYYXmB9MnYtJLDYc= From: =?utf-8?Q?S=C3=A9bastien?= Lerique To: 55283@debbugs.gnu.org Subject: =?utf-8?Q?=E2=80=98tests=2Fguix-shell-export-manifest=2Esh?= =?utf-8?Q?=E2=80=99?= fails on aarch64-linux Date: Mon, 09 May 2022 21:04:23 +0900 Message-ID: <87zgjqc2p2.fsf@eauchat.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 55283 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hello all, > I have a WIP patch for adding CPU detection for aarch64. Perhaps it'll > help with the issues? > Just confirming this works on rock64. --- sl@matrixbox ~/guix [env]$ ./pre-inst-env guix shell --export-manifest gsl = openblas gcc-toolchain --tune ;;; ("aarch64" #f #f #f #< vhash: # insert: # ref: #>) guix shell: tuning gsl@2.7 for CPU armv8-a ;; What follows is a "manifest" equivalent to the command line you gave. ;; You can store it in a file that you may then pass to any 'guix' command ;; that accepts a '--manifest' (or '-m') option. (use-modules (guix transformations)) (define transform1 (options->transformation '((tune . "armv8-a")))) (packages->manifest (list (transform1 (specification->package "gsl")) (transform1 (specification->package "openblas")) (transform1 (specification->package "gcc-toolchain")))) --- In case this is still useful, on the same rock64 /proc/cpuinfo is: sl@matrixbox ~$ 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 Cheers! S=C3=A9bastien From debbugs-submit-bounces@debbugs.gnu.org Mon May 09 08:37:33 2022 Received: (at 55283) by debbugs.gnu.org; 9 May 2022 12:37:33 +0000 Received: from localhost ([127.0.0.1]:56526 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1no2dp-0006hD-8u for submit@debbugs.gnu.org; Mon, 09 May 2022 08:37:33 -0400 Received: from elegua.eauchat.org ([91.224.149.118]:36236 helo=eauchat.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1no2di-0006gf-1W for 55283@debbugs.gnu.org; Mon, 09 May 2022 08:37:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eauchat.org; s=mail; t=1652099837; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=13+pmTbZ6d4S/39o7S8xOMhT3kngOohG8EKnlJy1YF0=; b=qzyUviK2s1euwlGqbYvR8f357CjMAftlNZh2taxVXYUaMUXTQPQmEXdeC3D7FSpijxIwXe Tu0PLFd1sZhcV/mcEzfcaykM6GZ7ucZYG5ALLrYxq30c6giOYnMfRTygtDhSu9bRXNJBaY otGjQK3dT6EQWwPy3+FLq8O9jL8S1hI= References: <87zgjqc2p2.fsf@eauchat.org> From: =?utf-8?Q?S=C3=A9bastien?= Lerique To: 55283@debbugs.gnu.org Subject: Re: =?utf-8?Q?=E2=80=98tests=2Fguix-shell-export-manifest=2Esh?= =?utf-8?Q?=E2=80=99?= fails on aarch64-linux Date: Mon, 09 May 2022 21:32:47 +0900 In-reply-to: <87zgjqc2p2.fsf@eauchat.org> Message-ID: <87sfpic26f.fsf@eauchat.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 55283 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) > #x is for hexadecimal, right? If so, this can be simplified by using > the second argument of string->number: (string->number (string-drop > model 2) 16). > So does this: --8<---------------cut here---------------start------------->8--- sl@matrixbox ~/guix [env]$ ./pre-inst-env guix shell --export-manifest gsl = openblas gcc-toolchain --tune ;;; ("aarch64" #f #f #f #< vhash: # insert: #<= procedure %insert (t-5ce36f5c768e728-317 t-5ce36f5c768e728-319)> ref: #>) guix shell: tuning gsl@2.7 for CPU armv8-a ;; What follows is a "manifest" equivalent to the command line you gave. ;; You can store it in a file that you may then pass to any 'guix' command ;; that accepts a '--manifest' (or '-m') option. (use-modules (guix transformations)) (define transform1 (options->transformation '((tune . "armv8-a")))) (packages->manifest (list (transform1 (specification->package "gsl")) (transform1 (specification->package "openblas")) (transform1 (specification->package "gcc-toolchain")))) --8<---------------cut here---------------end--------------->8--- (I'm happy to provide ssh access to this rock64 if that can help.) Best, S=C3=A9bastien From debbugs-submit-bounces@debbugs.gnu.org Mon May 09 10:18:37 2022 Received: (at 55283) by debbugs.gnu.org; 9 May 2022 14:18:37 +0000 Received: from localhost ([127.0.0.1]:59003 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1no4Dc-0005rI-Ks for submit@debbugs.gnu.org; Mon, 09 May 2022 10:18:36 -0400 Received: from flashner.co.il ([178.62.234.194]:55840) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1no4Da-0005r4-Se for 55283@debbugs.gnu.org; Mon, 09 May 2022 10:18:35 -0400 Received: from localhost (unknown [37.46.46.12]) by flashner.co.il (Postfix) with ESMTPSA id AD1A7402DB; Mon, 9 May 2022 14:18:28 +0000 (UTC) Date: Mon, 9 May 2022 17:17:55 +0300 From: Efraim Flashner To: Maxime Devos Subject: Re: bug#55283: =?utf-8?B?4oCYdGVzdHMvZ3Vp?= =?utf-8?Q?x-shell-export-manifest=2Esh=E2=80=99?= fails on aarch64-linux Message-ID: Mail-Followup-To: Efraim Flashner , Maxime Devos , Ludovic =?utf-8?Q?Court=C3=A8s?= , 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> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="f2H24mQDkd8g4ZH5" Content-Disposition: inline In-Reply-To: <4d2747729262ac3e3f27d7e75f1dfb50da4c7fed.camel@telenet.be> 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-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 55283 Cc: Vagrant Cascadian , 55283@debbugs.gnu.org, Ludovic =?utf-8?Q?Court=C3=A8s?= , raingloom X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --f2H24mQDkd8g4ZH5 Content-Type: multipart/mixed; boundary="hACWaNCdaGFaTVH4" Content-Disposition: inline --hACWaNCdaGFaTVH4 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, May 09, 2022 at 12:03:46PM +0200, Maxime Devos wrote: > Efraim Flashner schreef op ma 09-05-2022 om 11:44 [+0300]: > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 (loop vendor family (string->number (string-append > > "#x" (string-drop model 2))))) >=20 > #x is for hexadecimal, right? If so, this can be simplified by using > the second argument of=C2=A0string->number: (string->number (string-drop > model 2) 16). I hadn't realized that. I took the chance to take another look at it and now it actually works, not just fills in each field with #f. I also added more chips based on gcc-12 and fixed the fallback case. --=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 --hACWaNCdaGFaTVH4 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="guix-cpu-aarch64.diff" Content-Transfer-Encoding: quoted-printable 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 '()))) (match (read-line port) ((? eof-object?) - #f) + (cpu (utsname:machine (uname)) + vendor family model flags)) + ;; vendor for x86_64 and i686 ((? (prefix? "vendor_id") str) (match (string-tokenize str) (("vendor_id" ":" vendor) - (loop vendor family model)))) + (loop vendor family model flags)))) + ;; vendor for aarch64 and armhf + ((? (prefix? "CPU implementer") str) + (match (string-tokenize str) + (("CPU" "implementer" ":" vendor) + (loop vendor family model flags)))) + ;; family for x86_64 and i686 ((? (prefix? "cpu family") str) (match (string-tokenize str) (("cpu" "family" ":" family) - (loop vendor (string->number family) model)))) + (loop vendor (string->number family) model flags)))) + ;; model for x86_64 and i686 ((? (prefix? "model") str) (match (string-tokenize str) (("model" ":" model) - (loop vendor family (string->number model))) + (loop vendor family (string->number model flags))) (_ - (loop vendor family model)))) + (loop vendor family model flags)))) + ;; model for aarch64 and armhf + ((? (prefix? "CPU part") str) + (match (string-tokenize str) + (("CPU" "part" ":" model) + (loop vendor family (string->number (string-drop model 2) = 16) flags)))) + ;; flags for x86_64 and i686 ((? (prefix? "flags") str) (match (string-tokenize str) (("flags" ":" flags ...) - (cpu (utsname:machine (uname)) - vendor family model (list->set flags))))) + (loop vendor family model (list->set flags))))) + ;; flags for aarch64 and armhf + ((? (prefix? "Features") str) + (match (string-tokenize str) + (("Features" ":" flags ...) + (loop vendor family model (list->set flags))))) (_ - (loop vendor family model)))))))) + (loop vendor family model flags)))))))) =20 (define (cpu->gcc-architecture cpu) "Return the architecture name, suitable for GCC's '-march' flag, that @@ -191,6 +211,57 @@ (define (cpu->gcc-architecture cpu) ;; TODO: Recognize CENTAUR/CYRIX/NSC? =20 "x86_64")) + ("aarch64" + ;; Transcribed from GCC's list of aarch64 processors in aarch64-cores= =2Edef + ;; What to do with big.LITTLE cores? + (match (cpu-vendor cpu) + ("0x41" + (match (cpu-model cpu) + ((or #xd02 #xd04 #xd03 #xd07 #xd08 #xd09) + "armv8-a") + ((or #xd05 #xd0a #xd0b #xd0e #xd0d #xd41 #xd42 #xd4b #xd46 #xd43= #xd44 #xd41 #xd0c #xd4a) + "armv8.2-a") + (#xd40 + "armv8.4-a") + (#xd15 + "armv8-r") + ((or #xd46 #xd47 #xd48 #xd49 #xd4f) + "armv9-a"))) + ("0x42" + "armv8.1-a") + ("0x43" + (match (cpu-model cpu) + ((or #x0a0 #x0a1 #x0a2 #x0a3) + "armv8-a") + (#x0af + "armv8.1-a") + ((or #x0b0 #x0b1 #x0b2 #x0b3 #x0b4 #x0b5) + "armv8.2-a") + (#x0b8 + "armv8.3-a"))) + ("0x46" + "armv8.2-a") + ("0x48" + "armv8.2-a") + ("0x50" + "armv8-a") + ("0x51" + (match (cpu-model cpu) + (#xC00 + "armv8-a") + (#x516 + "armv8.1-a") + (#xC01 + "armv8.4-a"))) + ("0x53" + "armv8-a") + ("0x68" + "armv8-a") + ("0xC0" + "armv8.6-a") + (_ + "armv8-a")) + "armv8-a") (architecture - ;; TODO: AArch64. - architecture))) + ;; TODO: More architectures + (utsname:machine (uname))))) --hACWaNCdaGFaTVH4-- --f2H24mQDkd8g4ZH5 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmJ5IpEACgkQQarn3Mo9 g1Frzw//SdUQiTrvGcFDeJqqVWDhzx2lJrcx15t2AJK+/RvsGQBA5fGGthZahiMJ Q1kXIqfaMTTiwqL6UjqYce6Bg1BunDKVYvIx1LUNGgKv5zOIge9doUOLTKrgzTp8 Bhi3U0uPRopAXwIE/BisOuAdmA+0OOEFwq9K0rpW4uy04R4UecomDH7eG4+G2Xf8 4jqFbQJjsCLruFi8bpQhHhYGCMlK5KYrFUBHzdZh9lOVieShfnj8kYRx4E+XUFSO w+FiSU1/qGhdkLeZI0n08fJelXhTbwuHZUpP+nOwMBtthig4Qbgg3zeC7mSwc3ON h2WgzdGSuU4Ig/wlYVfh/SRU5R+KQJDb/2UiTLSX/CiLhLo0vY5wHA9ApdDNCg2l YOd2OvXsrfnPozubRZ2qpoxhcwCtFmG6EI6tWBA3mmH/9Mo7RtKR4/3AX3C4PC/w OKww4KxMSegaOIRtJjwG6MCUOTZaJ3T+36pu+LJkZkaNir0jDV4Z5a3TFriNUEaE 5nkJDbsIuHp48AzizMAH8GyGve3aPwO5hLwC7k1v9ddGyHS6T7Rtpf+u6e5ssFkb 1QDw1HNIek2lzRuRcxcNAgMJSnFLdP/GfX/1nmCXRQ+xS+ZiyfUxuObSS5Kdlzaz zv+PyxiSnB77GjYRgTYjbJMVQGPT/k7t3mMQzNZ5m3M7yxvK9FE= =O+x1 -----END PGP SIGNATURE----- --f2H24mQDkd8g4ZH5-- From debbugs-submit-bounces@debbugs.gnu.org Tue May 10 11:40:39 2022 Received: (at 55283) by debbugs.gnu.org; 10 May 2022 15:40:39 +0000 Received: from localhost ([127.0.0.1]:34880 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1noRyZ-0006Og-DW for submit@debbugs.gnu.org; Tue, 10 May 2022 11:40:39 -0400 Received: from eggs.gnu.org ([209.51.188.92]:50270) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1noRyY-0006OU-Kh for 55283@debbugs.gnu.org; Tue, 10 May 2022 11:40:38 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:47148) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1noRyR-0000F7-As; Tue, 10 May 2022 11:40:31 -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=mqIyZQKYGIS4IHy+O7kLU5UwTh1vz5IW+z0gMyTKoMw=; b=KdpmKgGDQ3/yqHMPRJjm uZ3BBigobqP4KSm0yx5E99RRWzIgDh4J5MfL2BDz+tzolMdbUUeIMo6Z9EfFh6O0P1uktAD+HHf9k ybjCi+yhsiZpCpXGP7xDTK2mL8DOUCS/Da+VvL4K5YQqfnnImHZIir2qV/bOMMrMVv7fcxieiIE2s 22XWjzZv16BBLu+v96Czg8kB3Y1/bjh/DkZtWw5xz2FESeRb81mdQMJJvWnkjNGsxdpJy8B5SkWQ2 DLIt5sJk3gLu0Gfm/HC67G+WlXFVTzlcGhST61eGluv62vHGBlKgR875Pj9ntlE8xZNGsy0n5dtGP p4NWTrxAUbbAFQ==; Received: from [193.50.110.244] (port=52688 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1noRyQ-0000Cd-UM; Tue, 10 May 2022 11:40:31 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Efraim Flashner Subject: Re: bug#55283: =?utf-8?Q?=E2=80=98tests=2Fguix-shell-export-manif?= =?utf-8?Q?est=2Esh=E2=80=99?= fails on aarch64-linux 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> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 21 =?utf-8?Q?Flor=C3=A9al?= an 230 de la =?utf-8?Q?R?= =?utf-8?Q?=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Tue, 10 May 2022 17:40:28 +0200 In-Reply-To: (Efraim Flashner's message of "Mon, 9 May 2022 17:17:55 +0300") Message-ID: <87v8udpf9v.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-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 55283 Cc: Vagrant Cascadian , 55283@debbugs.gnu.org, Maxime Devos , raingloom X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hello! Nice to have AArch64 support in (guix cpu)! Efraim Flashner skribis: > 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 '()))) You can replace (list->set '()) by (set). > + ("aarch64" > + ;; Transcribed from GCC's list of aarch64 processors in aarch64-cor= es.def > + ;; What to do with big.LITTLE cores? > + (match (cpu-vendor cpu) > + ("0x41" Is /proc/cpuinfo more or less guaranteed to return hex numbers like this? > (architecture > - ;; TODO: AArch64. > - architecture))) > + ;; TODO: More architectures > + (utsname:machine (uname))))) We can return =E2=80=98architecture=E2=80=99 as is, no need to re-call =E2= =80=98uname=E2=80=99. I haven=E2=80=99t run the code but at first sight it LGTM! (The bug reported at the beginning of this thread looks rather basic though; I=E2=80=99ll follow up on that.) Thanks, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Tue May 10 11:43:54 2022 Received: (at 55283) by debbugs.gnu.org; 10 May 2022 15:43:54 +0000 Received: from localhost ([127.0.0.1]:34885 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1noS1h-0006U1-Sm for submit@debbugs.gnu.org; Tue, 10 May 2022 11:43:54 -0400 Received: from eggs.gnu.org ([209.51.188.92]:50954) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1noS1g-0006To-91 for 55283@debbugs.gnu.org; Tue, 10 May 2022 11:43:52 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:47170) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1noS1a-0000dK-If; Tue, 10 May 2022 11:43:46 -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=VMnb8a7uKSIEzWN7OuUjGqhCO9pvxl0rAiopZB5d0xM=; b=k6/gUSQj76zHt4lerXY8 iOcCTx/eyV0v/WVpUMiG/r6KFOLwVsAWde4/pOIgwP/p1Sx0/3xCDmCObXvZcN1x7viW8gi+Nl3MM otB9abplFjADqPpvLdixBEYnOjRkMO8NlVNuuNhMXiQTXtbeiN7lissJajE/YX5xpDQMmdl9wmvwh GMAbL6UDMVTSeA93V3zyn6Erodsco76sZ35nQkzzcaAStRDYtVQ0chVDtIuUHqMouc59/Fr/LN4hf UELCfW65479rwNhqMpewG6hQYDjsdrIcGfIBgvgxQ0f5Vbgju78e4mLEHZiW/ZGW7WQi39QB1lRKi HOMlAQLfNDJfoA==; Received: from [193.50.110.244] (port=52690 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1noS1a-0000Rg-3J; Tue, 10 May 2022 11:43:46 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Efraim Flashner Subject: Re: bug#55283: =?utf-8?Q?=E2=80=98tests=2Fguix-shell-export-manif?= =?utf-8?Q?est=2Esh=E2=80=99?= fails on aarch64-linux 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> Date: Tue, 10 May 2022 17:43:43 +0200 In-Reply-To: <87v8udpf9v.fsf@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?= =?utf-8?Q?s?= message of "Tue, 10 May 2022 17:40:28 +0200") Message-ID: <87r151pf4g.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-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 55283 Cc: Vagrant Cascadian , 55283@debbugs.gnu.org, Maxime Devos , raingloom X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Ludovic Court=C3=A8s skribis: > (The bug reported at the beginning of this thread looks rather basic > though; I=E2=80=99ll follow up on that.) Actually no. :-) 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). The second hunk, which modifies =E2=80=98cpu->gcc-architecture=E2=80=99, is= an enhancement. Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Tue May 10 11:51:35 2022 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 To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#55283: =?utf-8?B?4oCYdGVzdHMvZ3Vp?= =?utf-8?Q?x-shell-export-manifest=2Esh=E2=80=99?= fails on aarch64-linux 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-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 55283 Cc: Vagrant Cascadian , 55283@debbugs.gnu.org, Maxime Devos , raingloom X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --/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-- From debbugs-submit-bounces@debbugs.gnu.org Tue May 10 11:55:41 2022 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 To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#55283: =?utf-8?B?4oCYdGVzdHMvZ3Vp?= =?utf-8?Q?x-shell-export-manifest=2Esh=E2=80=99?= fails on aarch64-linux 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-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 55283 Cc: Vagrant Cascadian , 55283@debbugs.gnu.org, Maxime Devos , raingloom X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --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-- From debbugs-submit-bounces@debbugs.gnu.org Thu May 12 04:10:01 2022 Received: (at 55283) by debbugs.gnu.org; 12 May 2022 08:10:01 +0000 Received: from localhost ([127.0.0.1]:39483 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1np3tZ-0005RZ-Ak for submit@debbugs.gnu.org; Thu, 12 May 2022 04:10:01 -0400 Received: from eggs.gnu.org ([209.51.188.92]:58092) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1np3tX-0005RD-Lp for 55283@debbugs.gnu.org; Thu, 12 May 2022 04:09:59 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:59058) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1np3tQ-0002m0-Q9; Thu, 12 May 2022 04:09:52 -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=4jdLcyfpD8r6/i4E7xdSkalQjFHvG1vaAs8kYmrGX48=; b=grcyLbQzYy91/IP6y1eo ECGa7GFWyp1VRPev9Z+3EZVWVlbc7XAot2WPfh6iQh0Y09bZlSNbf2z7sz28vAGXOuL60ywEnSn2F ihMDllnQHB4JYQVTemzCjEaJ2SPISXGrUESmxZmFGJtpQDyJbL6wBzb+MGbQPMgp5khgD86I4I1r3 cmZ1OTGIZDM2D86H76Apl5H/NpOoWLFMpjFtzq2UC6ziWyjze7+80WsRRqDaBTR0yJDcSmpoRO8cz UVMZf2CJFIxR5QPBnCYzn8nlWEF3kW5fFDOABeuKtVJkVFsrfmnGfLXcm35rZHiGXt7JEYmSjbt5L vyDjLmW0nyA4yw==; Received: from [193.50.110.244] (port=52702 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1np3tO-0005fH-2e; Thu, 12 May 2022 04:09:51 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Efraim Flashner Subject: Re: bug#55283: =?utf-8?Q?=E2=80=98tests=2Fguix-shell-export-manif?= =?utf-8?Q?est=2Esh=E2=80=99?= fails on aarch64-linux 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> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 23 =?utf-8?Q?Flor=C3=A9al?= an 230 de la =?utf-8?Q?R?= =?utf-8?Q?=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Thu, 12 May 2022 10:09:47 +0200 In-Reply-To: (Efraim Flashner's message of "Tue, 10 May 2022 18:50:54 +0300") Message-ID: <87fslfmat0.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-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 55283 Cc: Vagrant Cascadian , 55283@debbugs.gnu.org, Maxime Devos , raingloom X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Efraim Flashner skribis: > On Tue, May 10, 2022 at 05:40:28PM +0200, Ludovic Court=C3=A8s wrote: [...] >> > (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. The error reported at the beginning of this thread was different: it came from the fact that (current-cpu) would return #f on aarch64, whereas =E2=80=98current-cpu=E2=80=99 is meant to always return a rec= ord. Thanks, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Tue May 17 08:31:03 2022 Received: (at 55283-done) by debbugs.gnu.org; 17 May 2022 12:31:03 +0000 Received: from localhost ([127.0.0.1]:56004 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nqwLv-0000hy-2p for submit@debbugs.gnu.org; Tue, 17 May 2022 08:31:03 -0400 Received: from flashner.co.il ([178.62.234.194]:50310) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nqwLt-0000hR-4v for 55283-done@debbugs.gnu.org; Tue, 17 May 2022 08:31:01 -0400 Received: from localhost (unknown [31.210.180.235]) by flashner.co.il (Postfix) with ESMTPSA id 63A9A4021C; Tue, 17 May 2022 12:30:55 +0000 (UTC) Date: Tue, 17 May 2022 15:29:48 +0300 From: Efraim Flashner To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#55283: =?utf-8?B?4oCYdGVzdHMvZ3Vp?= =?utf-8?Q?x-shell-export-manifest=2Esh=E2=80=99?= fails on aarch64-linux Message-ID: Mail-Followup-To: Efraim Flashner , Ludovic =?utf-8?Q?Court=C3=A8s?= , 55283-done@debbugs.gnu.org References: <87ee1761ci.fsf@inria.fr> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="HqgP5A/MV5GqAZl/" Content-Disposition: inline In-Reply-To: <87ee1761ci.fsf@inria.fr> 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-Spam-Score: 1.5 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: This is now fixed with 41ed6db81e7b52673e5f973a1edc88b69a274614, with fd00ac7e27c8a6d4b4d4719b4f8797bdce204623 adding actual detection for aarch64 CPUs. -- Efraim Flashner אפרים פלשנר GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted Content analysis details: (1.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record 1.5 RCVD_IN_SORBS_WEB RBL: SORBS: sender is an abusable web server [31.210.180.235 listed in dnsbl.sorbs.net] -0.0 T_SCC_BODY_TEXT_LINE No description available. X-Debbugs-Envelope-To: 55283-done Cc: 55283-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.5 (/) --HqgP5A/MV5GqAZl/ Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable This is now fixed with 41ed6db81e7b52673e5f973a1edc88b69a274614, with fd00ac7e27c8a6d4b4d4719b4f8797bdce204623 adding actual detection for aarch64 CPUs. --=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 --HqgP5A/MV5GqAZl/ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmKDlTgACgkQQarn3Mo9 g1G94A//SfygXE5skJi42mR9OEayexQY7EjwWlEqDXro7V5Mn8CubYsKJ5zqyKcr mdQPyHLGT4n/+1rFTsTGPg5qeCOXwo4p/I/UnLyaQau5qSyGz6lSP7HJiARdwX3D sePDGg1w5l29Z+uoKDIkLrjMMERMbMHrwdIVYGFPjgZ41cdTjnYY/cczyIs/EGiz xa6gWZ7ZqyLYqnIe/nlLGBwor2maiszfOkxzcBwZaMqT8NK++O0lG3EJohH+mFGh v25k4KfWGnVEqT8jcl8tg0r54YFdHuyWZF2iVpPzTaZ/TIEXM4/GrFPILBMNbK8N syB+GTiHBofOOTnTRHk4g6xUEWUkGAHBZPeucVETvFRN/LX8WahGb5TW9wlLxFGf fFZ3zVj+t1CRDxBYf3uy8KtAQi8EaOjyRyDLz/UuL/h3SCt0VBlFldvnSt9NegNV EPUBIhIHQE0/E21xvp6hodYGXI9NIGYvKGwjDaLBzMZMgIyKG8DOpN7O1Ekto0on wqe9cvg2NAXIFXucgSr01afreGxVV5eAzcI2y3hXVc2zoXxv0fZJWqxAOZ5FAomt 5UVl30m9IbQmQaB5COlqy+7g8J9hOQ9b47DbKzeO9yKzIV808Hz+LT3TOzUCAgLB dVWt/32viqHJ13vQqUM/1T9wGPW9xDeBbLmTQdrSLWv4HWk/NQQ= =ZIWF -----END PGP SIGNATURE----- --HqgP5A/MV5GqAZl/-- From debbugs-submit-bounces@debbugs.gnu.org Tue May 17 12:27:56 2022 Received: (at 55283-done) by debbugs.gnu.org; 17 May 2022 16:27:56 +0000 Received: from localhost ([127.0.0.1]:57747 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nr039-0001U2-LX for submit@debbugs.gnu.org; Tue, 17 May 2022 12:27:56 -0400 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:39777) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nqyhW-0007TN-G8 for 55283-done@debbugs.gnu.org; Tue, 17 May 2022 11:01:31 -0400 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 065E55C00AF; Tue, 17 May 2022 11:01:25 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Tue, 17 May 2022 11:01:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pantherx.org; h= cc:cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm2; t=1652799685; x= 1652886085; bh=C11PnZSO/U+XnboVk4BxBsvT3SCUPzIEcxwD3Sl/GE0=; b=R ruqHxWNedF/xOtY0ta4kvvQRsVbiyPbj6zSme4ud0meC01LI8U0vPpfCLoL6EYoE R0QJyMfAbwCt5tX4OIZKD6/CLwcNKnm9foV3V3OX2IsspK5xbmFqPGXVA8QFIL3j OcjN5Lh1e3BeXRlIG+F3wIVwmO1tLpU3kmOObVuQjPzsJ1X1ZzZ/8c1jFgLJTBl+ 4dDqQzKjbKvKb2WPuhb36lBzePDDki9C/XUzl6SMsh6VjE8yJT3YTxumaWttoqj3 RbV/Nu42N9dcNsLjjgQMZkyuJiHkY0KrsmqGOi8iBvU784enxPK2XWYS66Nt1aR7 Iss4l1SDX0P5focKXNgqw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1652799685; x= 1652886085; bh=C11PnZSO/U+XnboVk4BxBsvT3SCUPzIEcxwD3Sl/GE0=; b=p cMbAc4LBXNVMUIij4y/MH1wxbV1KOFl82LIGT7C6xdCsN1Uxrz+iMXFKcA2te9Un FE1MbcqjpZf7oow3qb6u3A7oeO08iL0Sv7+M2w5sw+fKAdIkkPy+6duD+6x+NYnK S3H5Jwvny/O0etG+vRx+egrXUY3kQU2u2yjsDNu6VH1TVnEXXYw2OLINnQiwMh0X vDjK9wiziLPVygVHfak0kPYVo/LbFmjWrOrjm/2Xvt/WSyO5qksIj57SQ1YUQppJ CADUy7Zwob6In0fYIb1UBxy7jcBOwjIqnNgb7TRi3V+qtNKsmlPm3uvRlykFvqH6 YKMp7qfhduiFZyXqnoswA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrheejgdekudcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpegtggfuhfgjffevgffkfhfvofesthhqmhdthhdtjeenucfhrhhomheprfgrvhgv lhcuufhhlhihrghkuceophdrshhhlhihrghksehprghnthhhvghrgidrohhrgheqnecugg ftrfgrthhtvghrnhephfdthfdvudffleeuveffteetgeeltedtteevgfelveeuuedufefh hfektddvveefnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrh homhepphdrshhhlhihrghksehprghnthhhvghrgidrohhrgh X-ME-Proxy: Feedback-ID: idda946d0:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 17 May 2022 11:01:23 -0400 (EDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.80.82.1.1\)) Subject: =?utf-8?Q?Re=3A_bug=2355283=3A_=E2=80=98tests/guix-shell-export-m?= =?utf-8?Q?anifest=2Esh=E2=80=99_fails_on_aarch64-linux?= From: Pavel Shlyak In-Reply-To: Date: Tue, 17 May 2022 18:01:21 +0300 Content-Transfer-Encoding: quoted-printable Message-Id: <3F664CA8-1944-4068-ADEB-03C574D69284@pantherx.org> References: <87ee1761ci.fsf@inria.fr> To: Efraim Flashner X-Mailer: Apple Mail (2.3696.80.82.1.1) X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 55283-done X-Mailman-Approved-At: Tue, 17 May 2022 12:27:54 -0400 Cc: 55283-done@debbugs.gnu.org, =?utf-8?Q?Ludovic_Court=C3=A8s?= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) [pavel@alarm factory]$ cat /proc/cpuinfo processor : 0 BogoMIPS : 48.00 Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics = fphp asimdhp cpuid asimdrdm jscvt fcma lrcpc dcpop sha3 asimddp sha512 = asimdfhm dit uscat ilrcpc flagm sb paca pacg dcpodp flagm2 frint CPU implementer : 0x00 CPU architecture: 8 CPU variant : 0x0 CPU part : 0x000 CPU revision : 0 processor : 1 BogoMIPS : 48.00 Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics = fphp asimdhp cpuid asimdrdm jscvt fcma lrcpc dcpop sha3 asimddp sha512 = asimdfhm dit uscat ilrcpc flagm sb paca pacg dcpodp flagm2 frint CPU implementer : 0x00 CPU architecture: 8 CPU variant : 0x0 CPU part : 0x000 CPU revision : 0 The issue is still there. > 17 =D0=BC=D0=B0=D1=8F 2022 =D0=B3., =D0=B2 15:29, Efraim Flashner = =D0=BD=D0=B0=D0=BF=D0=B8=D1=81=D0=B0=D0=BB(=D0=B0)= : >=20 > This is now fixed with 41ed6db81e7b52673e5f973a1edc88b69a274614, with > fd00ac7e27c8a6d4b4d4719b4f8797bdce204623 adding actual detection for > aarch64 CPUs. >=20 > --=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 From debbugs-submit-bounces@debbugs.gnu.org Tue May 17 13:13:13 2022 Received: (at 55283-done) by debbugs.gnu.org; 17 May 2022 17:13:13 +0000 Received: from localhost ([127.0.0.1]:57774 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nr0ky-0002fe-Na for submit@debbugs.gnu.org; Tue, 17 May 2022 13:13:13 -0400 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:35343) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nr0DA-0001lL-5x for 55283-done@debbugs.gnu.org; Tue, 17 May 2022 12:38:16 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 0E2FF5C01F0; Tue, 17 May 2022 12:38:11 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Tue, 17 May 2022 12:38:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pantherx.org; h= cc:cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm2; t=1652805491; x= 1652891891; bh=XHvgRoemBjiRL10iUx0+GqbcKZMD1f9vGPfS6R43W8s=; b=N bf3ciEsvtUdrJviohgM7QsyiQ1wi+LSid6G/dl4xIMhne/o9/l5yOTB56rxfw7Ly oVnCqTyoJJw8MSOOAQqi8E15b335BjqE4jraesKNBPlswnmJUv5EWStxZ9aLxtgI jpXJrZotUY9qMe9FXQO9vdP10L2mm5WHcZjl03yYoiK4C8NHMNx3s5wEAw/8RwyZ o1syhrh72zFa6bILLd3sPPlOSU8GxRmVGXX9EaVZTZ2gz6T4D3UD31qmaFY1iUs8 N5w7vQoMVFY5ja94nHbzV5zZqCv+KRBhLBnqoMOQWaJhtIL4Dm1ndvVlN2l4Ofar Hh0p/Tx16fqYPFXM5KSHQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1652805491; x= 1652891891; bh=XHvgRoemBjiRL10iUx0+GqbcKZMD1f9vGPfS6R43W8s=; b=G dj/Et7LNH0TB5Pu+WptwT0VYgNydYHVRpjm6vkuT2X4mdW2aZhf1aGkBPlK/+7Sq mQA79szGO1+bQaYlL+Rbn+E+E4lv1lsumuNo5X8cmtIHKSnD0C59IkUU4C2qGNrl 0fD7Ek6NUpSsBT9YVVvkt+Z2Hvgbfiv7aDlqL+arD4UpZSYWyVeiD4BvaqO+Bwoo MNXpoRH01HH+CW58LVg90ClajPjzfGx2uY/fGbucdx0o+ZF9Bq4UHytIpeEAhVXq GGLzMFYzCi8yMCuAlOq2Y9FdBfqlxDAgJfodBMoi4IBeBC/Tw5rtyUSBgGv/dF18 hDW1hSWR566pVK3e6NvsQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrheejgddutdduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurheptggguffhjgffvefgkfhfvffosehtqhhmtdhhtdejnecuhfhrohhmpefrrghv vghlucfuhhhlhigrkhcuoehprdhshhhlhigrkhesphgrnhhthhgvrhigrdhorhhgqeenuc ggtffrrghtthgvrhhnpefhtdfhvdduffelueevffetteegleettdetvefgleevueeuudef hffhkedtvdevfeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfh hrohhmpehprdhshhhlhigrkhesphgrnhhthhgvrhigrdhorhhg X-ME-Proxy: Feedback-ID: idda946d0:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 17 May 2022 12:38:09 -0400 (EDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.80.82.1.1\)) Subject: =?utf-8?Q?Re=3A_bug=2355283=3A_=E2=80=98tests/guix-shell-export-m?= =?utf-8?Q?anifest=2Esh=E2=80=99_fails_on_aarch64-linux?= From: Pavel Shlyak In-Reply-To: <3F664CA8-1944-4068-ADEB-03C574D69284@pantherx.org> Date: Tue, 17 May 2022 19:38:08 +0300 Content-Transfer-Encoding: quoted-printable Message-Id: References: <87ee1761ci.fsf@inria.fr> <3F664CA8-1944-4068-ADEB-03C574D69284@pantherx.org> To: Efraim Flashner X-Mailer: Apple Mail (2.3696.80.82.1.1) X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 55283-done X-Mailman-Approved-At: Tue, 17 May 2022 13:13:10 -0400 Cc: 55283-done@debbugs.gnu.org, =?utf-8?Q?Ludovic_Court=C3=A8s?= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Issue=E2=80=99s not there! My fault I didn=E2=80=99t wait til guix package is updated. PASS: tests/guix-shell-export-manifest.sh Thank you! > 17 =D0=BC=D0=B0=D1=8F 2022 =D0=B3., =D0=B2 18:01, Pavel Shlyak = =D0=BD=D0=B0=D0=BF=D0=B8=D1=81=D0=B0=D0=BB(=D0=B0)= : >=20 > [pavel@alarm factory]$ cat /proc/cpuinfo > processor : 0 > BogoMIPS : 48.00 > Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics = fphp asimdhp cpuid asimdrdm jscvt fcma lrcpc dcpop sha3 asimddp sha512 = asimdfhm dit uscat ilrcpc flagm sb paca pacg dcpodp flagm2 frint > CPU implementer : 0x00 > CPU architecture: 8 > CPU variant : 0x0 > CPU part : 0x000 > CPU revision : 0 >=20 > processor : 1 > BogoMIPS : 48.00 > Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics = fphp asimdhp cpuid asimdrdm jscvt fcma lrcpc dcpop sha3 asimddp sha512 = asimdfhm dit uscat ilrcpc flagm sb paca pacg dcpodp flagm2 frint > CPU implementer : 0x00 > CPU architecture: 8 > CPU variant : 0x0 > CPU part : 0x000 > CPU revision : 0 >=20 > The issue is still there. >=20 >> 17 =D0=BC=D0=B0=D1=8F 2022 =D0=B3., =D0=B2 15:29, Efraim Flashner = =D0=BD=D0=B0=D0=BF=D0=B8=D1=81=D0=B0=D0=BB(=D0=B0)= : >>=20 >> This is now fixed with 41ed6db81e7b52673e5f973a1edc88b69a274614, with >> fd00ac7e27c8a6d4b4d4719b4f8797bdce204623 adding actual detection for >> aarch64 CPUs. >>=20 >> --=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 >=20 >=20 >=20 >=20 From unknown Sat Aug 16 18:42:41 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 15 Jun 2022 11:24:09 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator