[Bug 1429872] [NEW] golang is not aware of architectures supported by gccgo
Matthias Klose
doko at ubuntu.com
Mon Mar 9 14:19:39 UTC 2015
Public bug reported:
docker.io is now built on arm64 (see the ~doko/toolchain PPA). However
it now fails to build on the architectures where it is built by golang
(any version up to 1.4.2, as found in the same PPA).
In golang-pty, a file ztypes_arm64.go is added for the new architecture,
however this doesn't seem to be recognized as architecture specific
file.
then trying to build docker on i386, amd64 and armhf, you see:
---> Making bundle: dynbinary (in bundles/1.3.3/dynbinary)
# github.com/kr/pty
obj-i686-linux-gnu/src/github.com/kr/pty/ztypes_arm64.go:8: _C_int redeclared in this block
previous declaration at obj-i686-linux-gnu/src/github.com/kr/pty/ztypes_386.go:7
obj-i686-linux-gnu/src/github.com/kr/pty/ztypes_arm64.go:9: _C_uint redeclared in this block
previous declaration at obj-i686-linux-gnu/src/github.com/kr/pty/ztypes_386.go:8
obj-i686-linux-gnu/src/github.com/kr/pty/ztypes_ppc.go:8: _C_int redeclared in this block
previous declaration at obj-i686-linux-gnu/src/github.com/kr/pty/ztypes_arm64.go:8
obj-i686-linux-gnu/src/github.com/kr/pty/ztypes_ppc.go:9: _C_uint redeclared in this block
previous declaration at obj-i686-linux-gnu/src/github.com/kr/pty/ztypes_arm64.go:9
marking the ztypes_arm64.go file with
// + build !amd64 !amd64p32 !386 !arm
doesn't help.
** Affects: docker.io (Ubuntu)
Importance: Undecided
Status: New
** Affects: golang (Ubuntu)
Importance: Undecided
Status: New
** Affects: golang-pty (Ubuntu)
Importance: Undecided
Status: New
** Also affects: golang (Ubuntu)
Importance: Undecided
Status: New
** Also affects: golang-pty (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to docker.io in Ubuntu.
https://bugs.launchpad.net/bugs/1429872
Title:
golang is not aware of architectures supported by gccgo
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/docker.io/+bug/1429872/+subscriptions
More information about the Ubuntu-server-bugs
mailing list