From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Famulari Subject: bug#34872: Cgo fails on aarch64 with "unknown architecture 'armv7-a'" Date: Fri, 15 Mar 2019 15:00:02 -0400 Message-ID: <20190315190002.GA27033@jasmine.lan> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="82I3+IH0IqGh5yIs" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:36102) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h4sCW-00060J-LQ for bug-guix@gnu.org; Fri, 15 Mar 2019 15:09:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h4sCV-0007gb-AH for bug-guix@gnu.org; Fri, 15 Mar 2019 15:09:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:60206) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1h4sCU-0007gP-S3 for bug-guix@gnu.org; Fri, 15 Mar 2019 15:09:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1h4sCU-0008Vu-HM for bug-guix@gnu.org; Fri, 15 Mar 2019 15:09:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([209.51.188.92]:35816) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h4sBU-0005AL-OA for bug-guix@gnu.org; Fri, 15 Mar 2019 15:08:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h4s3s-0002Sd-4A for bug-guix@gnu.org; Fri, 15 Mar 2019 15:00:09 -0400 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:43719) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1h4s3r-0002Od-NP for bug-guix@gnu.org; Fri, 15 Mar 2019 15:00:08 -0400 Received: from localhost (c-76-124-202-137.hsd1.pa.comcast.net [76.124.202.137]) by mail.messagingengine.com (Postfix) with ESMTPA id 89F5E10322 for ; Fri, 15 Mar 2019 15:00:05 -0400 (EDT) Content-Disposition: inline List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: 34872@debbugs.gnu.org --82I3+IH0IqGh5yIs Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable As noted in Efraim's report from the 2019 Guix Days [0], Go (I think Cgo specifically?) has issues on aarch64. Certain builds will fail with messages like "unknown architecture 'armv7-a'". For example, this build of go-github-com-burntsushi-toml [1]: ------ starting phase `check' go: disabling cache (/homeless-shelter/.cache/go-build) due to initializati= on failure: mkdir /homeless-shelter: permission denied # runtime/cgo Assembler messages: Error: unknown architecture `armv7-a' Error: unrecognized option -march=3Darmv7-a FAIL github.com/BurntSushi/toml [build failed] Backtrace: 5 (primitive-load "/gnu/store/h3njbwy4b09v3yacha47slgwdl5=E2=80= =A6") In ice-9/eval.scm: 191:35 4 (_ #f) In srfi/srfi-1.scm: 863:16 3 (every1 # =E2=80=A6) In /gnu/store/nrrpqxjvmpizfgsf9s87aq3rqhgi62v9-module-import/guix/build/gnu= -build-system.scm: 799:28 2 (_ _) In /gnu/store/nrrpqxjvmpizfgsf9s87aq3rqhgi62v9-module-import/guix/build/go-= build-system.scm: 210:4 1 (check #:tests? _ #:import-path _) In /gnu/store/nrrpqxjvmpizfgsf9s87aq3rqhgi62v9-module-import/guix/build/uti= ls.scm: 616:6 0 (invoke _ . _) /gnu/store/nrrpqxjvmpizfgsf9s87aq3rqhgi62v9-module-import/guix/build/utils.= scm:616:6: In procedure invoke: Throw to key `srfi-34' with args `(#)'. builder for `/gnu/store/0287l329nsf8z56hk0zscpxvx0jz9fi9-go-github-com-burn= tsushi-toml-0.0.0-0.a368813.drv' failed with exit code 1 @ build-failed /gnu/store/0287l329nsf8z56hk0zscpxvx0jz9fi9-go-github-com-bu= rntsushi-toml-0.0.0-0.a368813.drv - 1 builder for `/gnu/store/0287l329nsf8z= 56hk0zscpxvx0jz9fi9-go-github-com-burntsushi-toml-0.0.0-0.a368813.drv' fail= ed with exit code 1 ------ This is blocking the deployment of applications like Syncthing on aarch64. [0] https://www.gnu.org/software/guix/blog/2019/qa-on-non-intel-at-guix-days/ [1] https://berlin.guixsd.org/log/g9gxvilwwqvchngyvilfr3xl7risk814-go-github-co= m-burntsushi-toml-0.0.0-0.a368813 --82I3+IH0IqGh5yIs Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEsFFZSPHn08G5gDigJkb6MLrKfwgFAlyL9i8ACgkQJkb6MLrK fwhduA//VsRlqwBbR0GPNlQo8gxCDN7Y0aWuvPXeko2o1K6Z/1pTtGwNIozFsPqL cBxEFAbMWkwvMtT4j1dVa7eLrJPdJ6azb29SrWP2b0TBjRRYQsUMANhl3SLY4yEk uepENMaN4YS8BfLbbukJfl6A6slG2fG4puB5EPpd4JdsNXzYxHs4w5uRk5XcMPLN URUxTIyRai+GUss/mt3mAXvCRg+2CGR21o9xkTEbrezlp9kSITM5tKJiPk2jV34P Rx9AF07qWnos2HyV/PlE5JD/CZuAZHLtoQQncVOM22HDmMYM7IiQ2fxOAei/2cVe ebsFYhVTkHEd5QaYTeMdvoM3GO5QoeeSnZX4PanZswR1bCunX5dIfDXSUV9jsT0v cKifOqI4VqZ1WJiTggadPagzqGnGY9rq0zthF/N3gKlUIeIOI+xaBKJQoQQ3amKg Ff860LTbr3T/9tQTHh2GecemLJy57u/JCXeFHmc7DpCAcZS0WVVFfxS2hSk5yrSw drZBympLHgSkBBjoSk6ax7DfIbtA+6XbPdp0WXSki9d8KsW9EmaZ6ErNpVXOyn/j iNdHIDaOhJwIns6dIM+Q19TN7zdWp1pF1OAyzGZJXy6mgWLeGsb0QZsZB4iv+mJE NpAQMDEIeDBQj1RhIOf22g0SksW7TzKQc6pc4uEj7v5iF/wir6s= =sAsw -----END PGP SIGNATURE----- --82I3+IH0IqGh5yIs--