cgo have alpha, m68knios2sh and shbe, and is missing amd64p32, mips64p32 and mips64p32le.
I don't know if there is a reason for the difference, but the problem is that the additional architectures known to cgo are used as a build tag in cmd/vendor/golang.org/x/sys/unix (in endian_big.go and endian_big.go), and since they are not known by go, they are probably ignored.
Another small issues is that the architecture list in cmd/go/internal/imports/build.go is not sorted correctly.
I'm not sure if this should be reported as an issue about cmd/cgo or about golang.org/x/sys/unix.
Probably this is harmless.
The text was updated successfully, but these errors were encountered:
The additional architectures in cmd/cgo and the build tags in golang.org/x/sys are supported by gccgo, and they are used when the package is built by gccgo. So I don't think that anything is actually broken.
But it would be better if all the architectures were reflected in all of those locations.