community/go: cross compilation doesn't work
cross compilation with go is usually very easy you just have to set the GOARCH environment variable to compile your code for a different cpu architecture. When setting GOARCH to arm on x86_64 and alpine edge the following error occurs when compiling go code:
warning: unable to find runtime/cgo.a
/usr/lib/go/pkg/tool/linux_amd64/link: running gcc failed: exit status 1
gcc: error: unrecognized command line option '-marm'; did you mean '-mabm'?
make: *** [Makefile:4: server] Error 2
(from redmine: issue id 7787, created on 2017-09-04)