Building Go on a fresh linux/arm64 machine fails because gcc is not installed.
This might be confusing to new developers because we've made a lot of noise that we're moving away from C to Go in the 1.5 release.
The gcc build time dependency comes from cgo, and all linux/* platforms default to cgo enabled by default.
Should cmd/dist check to see if gcc (or $CC) is valid, and if not, disable cgo ?
/cc @adg @minux
Building Go on a fresh linux/arm64 machine fails because gcc is not installed.
This might be confusing to new developers because we've made a lot of noise that we're moving away from C to Go in the 1.5 release.
The gcc build time dependency comes from cgo, and all linux/* platforms default to cgo enabled by default.
Should cmd/dist check to see if gcc (or $CC) is valid, and if not, disable cgo ?
/cc @adg @minux