cmd/cgo: bad instructions in gcc_arm.S #17595
Labels
FrozenDueToAge
WaitingForInfo
Issue is not actionable because of missing required information, which needs to be provided.
Milestone
Hello all,
My go version is 1.7.1.
My env variable is listed in the following:
export GOROOT=~/go
export GOOS=linux
export GOARCH=arm
export CC=/usr/local/arm-linux/bin/gcc
export CXX=/usr/local/arm-linux/bin/g++
export GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0"
build829110422=/tmp/go-build -gno-record-gcc-switches"
export CGO_ENABLED=1
I wanted to cross compile a go program but the following was returned:
I checked the ../../go/src/runtime/cgo/gcc_arm.S file and it does exist but why it contains bad instructions?
BR,
Terry
The text was updated successfully, but these errors were encountered: