On 03/12/2015 05:41 PM, Ian Lance Taylor wrote: > The cgo tool installed by gccgo works fine on 32-bit PPC. This patch > notes that fact in the gccgo version of the go tool. This is GCC PR > 65404. Bootstrapped and ran Go testsuite on x86_64-unknown-linux-gnu. > Committed to mainline.
same thing needs to be done for arm64: >From 391fba3b788628ef6431765c382a51f52a93cddf Mon Sep 17 00:00:00 2001 From: Michael Hudson-Doyle <michael.hud...@linaro.org> Date: Wed, 27 Aug 2014 14:57:07 +1200 Subject: [PATCH 3/3] Enable cgo by default on linux/arm64. --- src/libgo/go/go/build/build.go | 1 + 1 file changed, 1 insertion(+) Index: b/src/libgo/go/go/build/build.go =================================================================== --- a/src/libgo/go/go/build/build.go +++ b/src/libgo/go/go/build/build.go @@ -268,6 +268,7 @@ var cgoEnabled = map[string]bool{ "linux/alpha": true, "linux/amd64": true, "linux/arm": true, + "linux/arm64": true, "linux/ppc64": true, "linux/ppc64le": true, "linux/s390": true, > > Ian >