GNU bug report logs - #34872
Cgo fails on aarch64 with "unknown architecture 'armv7-a'"

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Reported by: Leo Famulari <leo@HIDDEN>; dated Fri, 15 Mar 2019 19:09:02 UTC; Maintainer for guix is bug-guix@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 15 Mar 2019 19:08:08 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Mar 15 15:08:08 2019
Received: from localhost ([127.0.0.1]:45517 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1h4sBb-0008UZ-Vl
	for submit <at> debbugs.gnu.org; Fri, 15 Mar 2019 15:08:08 -0400
Received: from eggs.gnu.org ([209.51.188.92]:49716)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <leo@HIDDEN>) id 1h4sBb-0008U8-0G
 for submit <at> debbugs.gnu.org; Fri, 15 Mar 2019 15:08:07 -0400
Received: from lists.gnu.org ([209.51.188.17]:43587)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <leo@HIDDEN>) id 1h4sBV-0007FD-PQ
 for submit <at> debbugs.gnu.org; Fri, 15 Mar 2019 15:08:01 -0400
Received: from eggs.gnu.org ([209.51.188.92]:35816)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <leo@HIDDEN>) id 1h4sBU-0005AL-OA
 for bug-guix@HIDDEN; Fri, 15 Mar 2019 15:08:01 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW,
 URIBL_BLOCKED autolearn=disabled version=3.3.2
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <leo@HIDDEN>) id 1h4s3s-0002Sd-4A
 for bug-guix@HIDDEN; 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 <leo@HIDDEN>) id 1h4s3r-0002Od-NP
 for bug-guix@HIDDEN; Fri, 15 Mar 2019 15:00:08 -0400
Received: from compute4.internal (compute4.nyi.internal [10.202.2.44])
 by mailout.nyi.internal (Postfix) with ESMTP id EF57121FE0;
 Fri, 15 Mar 2019 15:00:06 -0400 (EDT)
Received: from mailfrontend2 ([10.202.2.163])
 by compute4.internal (MEProxy); Fri, 15 Mar 2019 15:00:06 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name;
 h=date:from:to:subject:message-id:mime-version:content-type; s=
 mesmtp; bh=0ZWi/f2TI70+Jv5Z7zN/yd6gv8Oa9W0i9bipUISwDHo=; b=o5ETT
 vU1++9uPKxJShGXTqGZy0D0PfB2PBm38a1izcqN48I3YlBX8BRMmy25FqbIsNDiL
 fTsOrJY25+XX462o1vfQt9KS+ri9ou45tU7laOHy/wDE8ToDQLIIotyzhd91Ry9u
 A0k6sLND2lv1R0moO/fq0Ntfcb4MzLOZmg6Vm0=
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=content-type:date:from:message-id
 :mime-version:subject:to:x-me-proxy:x-me-proxy:x-me-sender
 :x-me-sender:x-sasl-enc; s=fm2; bh=0ZWi/f2TI70+Jv5Z7zN/yd6gv8Oa9
 W0i9bipUISwDHo=; b=RgYgZpNBVj/nuueMONTlQQ+REB26DJhW+YfLbpmzYxXvJ
 Kq2KUk89vhf0cGcUxrIM5ZLT8Qzcd1Lp4R5UVC2kkPKAwxTLVaEfqjCc7CkwM7ME
 OJoNPHEzYkoxki14v4TPtdDWaeLnRcqFNBSlsAe2cYQmnLveThmDtXLGDc9trDfH
 enIRJUx5Cay5d/mXiO/LiJwpQWf5Vw3LjdV6T4QlXvsHv6BeVTC/k6hMqzrpX4rz
 tPwBRWM0hdqdthArELpk7jVK8Fqv5u1RKAdoYXAsTc3Bl0dhC2lrjKqV+1VvBSvy
 aCwK3Nc8vgvpg4V6koVE9KnUQrdIFF2iBPfpmAYhw==
X-ME-Sender: <xms:NvaLXI5VxOxzml5k5gtV_v_Vms7iPCQZeaAhfingLtNK_wh1kxPk1g>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedutddrheehgdduvddtucetufdoteggodetrfdotf
 fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen
 uceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvuffkgggtuggfsehgtderre
 dtreejnecuhfhrohhmpefnvghoucfhrghmuhhlrghrihcuoehlvghosehfrghmuhhlrghr
 ihdrnhgrmhgvqeenucffohhmrghinhepghhithhhuhgsrdgtohhmpdhguhhigihsugdroh
 hrghdpghhnuhdrohhrghenucfkphepjeeirdduvdegrddvtddvrddufeejnecurfgrrhgr
 mhepmhgrihhlfhhrohhmpehlvghosehfrghmuhhlrghrihdrnhgrmhgvnecuvehluhhsth
 gvrhfuihiivgeptd
X-ME-Proxy: <xmx:NvaLXEEARCfwRTw_y1NFrwgS2KqmqJBjShePigkcO0YIaBW5J9mlgw>
 <xmx:NvaLXMGf_PJJ7Q8J56-8OxHNgrgSU885lFxONYWbr_WFG9pUrVpUnA>
 <xmx:NvaLXNvzYBZU6D8TKQN4HwTqKIkNQhckdWAboTUez6fWcJWu6hT_zg>
 <xmx:NvaLXHW-EGxVVQ7yT7zrIAXjdqIXsSTqsTzyjwvUsMaptPv4XQ2aQw>
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 <bug-guix@HIDDEN>; Fri, 15 Mar 2019 15:00:05 -0400 (EDT)
Date: Fri, 15 Mar 2019 15:00:02 -0400
From: Leo Famulari <leo@HIDDEN>
To: bug-guix@HIDDEN
Subject: Cgo fails on aarch64 with "unknown architecture 'armv7-a'"
Message-ID: <20190315190002.GA27033@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
 protocol="application/pgp-signature"; boundary="82I3+IH0IqGh5yIs"
Content-Disposition: inline
User-Agent: Mutt/1.11.3 (2019-02-01)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 66.111.4.26
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Spam-Score: 0.9 (/)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.1 (/)


--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 #<procedure 6e7600 at /gnu/store/nrrpqxjvmpizf=E2=80=
=A6> =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 `(#<condition &invoke-error [program: "go"=
 arguments: ("test" "github.com/BurntSushi/toml") exit-status: 2 term-signa=
l: #f stop-signal: #f] 85ff80>)'.
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--




Acknowledgement sent to Leo Famulari <leo@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#34872; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 25 Nov 2019 12:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.