Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
cmd/cgo: Linux arm support #1880
I hope it will be resolved soon. FYI, I've prepared these 5 CLs to address this issue. CL 5991065: cmd/5l, cmd/ld: dynamic linking library support CL 5989057: runtime: cgo support for Linux/ARM CL 5991066: cmd/cgo: support Linux/ARM CL 5989058: cmd/go: cgo for Linux/ARM CL 5988057: go/build: cgo is supported on Linux/ARM
@hunterling5151. This issue is closed, please raise a new issue. Having said that, I believe you are cross compiling from non arm to arm, and your gcc is complaining because it only known hows to compile for x86/x64. The short answer to this is, when cross compiling for arm, pass CGO_ENABLED=0 to disable cgo. If you need cgo on arm, you will have to compile on arm directly.
This issue was closed.