golang is not aware of architectures supported by gccgo
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
docker.io (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
golang (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
golang-pty (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
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/
# github.com/kr/pty
obj-i686-
previous declaration at obj-i686-
obj-i686-
previous declaration at obj-i686-
obj-i686-
previous declaration at obj-i686-
obj-i686-
previous declaration at obj-i686-
marking the ztypes_arm64.go file with
// + build !amd64 !amd64p32 !386 !arm
doesn't help.
the "build" lines are whitespace sensitive, no space between the plus and build, and these lines must be followed by an empty line ...