Hello Go nuts,We have just released go1.6beta2, a beta version of Go 1.6.It is cut from the master branch at the revision tagged go1.6beta1.
I think you meant at the revision tagged go1.6beta2 ?
$ GOOS=linux GOARCH=arm GOARM=7 go install -buildmode=shared -linkshared std
load runtime/cgo: package runtime/cgo: C source files not allowed when not using cgo or SWIG: gcc_fatalf.c gcc_libinit.c gcc_linux_arm.c gcc_setenv.c gcc_util.c
$ GOOS=linux GOARCH=arm GOARM=7 CGO_ENABLED=1 go install -buildmode=shared -linkshared std
# runtime/cgo
clang: error: argument unused during compilation: '-mno-thumb'
I am probably just doing something wrong, but I do wanted to check. Is cross compilation to linux/arm supported in go1.6 with -buildmode=shared??
Thanks,
Parker
$ GOOS=linux GOARCH=arm GOARM=7 CGO_ENABLED=1 go install -buildmode=shared -linkshared std# runtime/cgo
clang: error: argument unused during compilation: '-mno-thumb'
GOARCH=arm GOARM=7 GOOS=darwin CC=$GOROOT/misc/ios/clangwrap.sh CGO_ENABLED=1 go build
I guess that GOOS=darwin isn't necessary, as it's a Mac already.