[pkg-golang-devel] Bug#776401: Bug#776401: [Pkg-golang-devel] Bug#776401: Bug#776401: src:golang: Set CGO_ENABLED for all platforms

Hilko Bengen bengen at debian.org
Fri Feb 5 08:56:30 UTC 2016


* Michael Hudson-Doyle:

> I guess it could be fixed by going back to building lots of
> golang-$GOOS-$GOARCH packages, but somehow that doesn't seem very
> appealing, 

Another option may be building *one* extra package that contains the
stdlib and whatever bits may be necessary for building for non-native
architectures. golang-go-cross?

> it would be nicer to allow the go install command to work (which would
> also allow the user to use their choice of toolchain for cgo, etc).

Is a user's choice of C compiler toolchain really something we want to
support? For the use-cases I have run into, using whatever is provided
by Debian would have been enough.

Cheers,
-Hilko



More information about the pkg-golang-devel mailing list