all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#34872: Cgo fails on aarch64 with "unknown architecture 'armv7-a'"
@ 2019-03-15 19:00 Leo Famulari
  2020-06-23 17:24 ` Efraim Flashner
  0 siblings, 1 reply; 2+ messages in thread
From: Leo Famulari @ 2019-03-15 19:00 UTC (permalink / raw)
  To: 34872

[-- Attachment #1: Type: text/plain, Size: 2149 bytes --]

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 initialization failure: mkdir /homeless-shelter: permission denied
# runtime/cgo
Assembler messages:
Error: unknown architecture `armv7-a'

Error: unrecognized option -march=armv7-a
FAIL	github.com/BurntSushi/toml [build failed]
Backtrace:
           5 (primitive-load "/gnu/store/h3njbwy4b09v3yacha47slgwdl5…")
In ice-9/eval.scm:
   191:35  4 (_ #f)
In srfi/srfi-1.scm:
   863:16  3 (every1 #<procedure 6e7600 at /gnu/store/nrrpqxjvmpizf…> …)
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/utils.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-signal: #f stop-signal: #f] 85ff80>)'.
builder for `/gnu/store/0287l329nsf8z56hk0zscpxvx0jz9fi9-go-github-com-burntsushi-toml-0.0.0-0.a368813.drv' failed with exit code 1
@ build-failed /gnu/store/0287l329nsf8z56hk0zscpxvx0jz9fi9-go-github-com-burntsushi-toml-0.0.0-0.a368813.drv - 1 builder for `/gnu/store/0287l329nsf8z56hk0zscpxvx0jz9fi9-go-github-com-burntsushi-toml-0.0.0-0.a368813.drv' failed 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-com-burntsushi-toml-0.0.0-0.a368813

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-06-23 17:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-03-15 19:00 bug#34872: Cgo fails on aarch64 with "unknown architecture 'armv7-a'" Leo Famulari
2020-06-23 17:24 ` Efraim Flashner

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.