I am trying to cross compile a small binary to various arm targets. The compiler host is on an amd64 platform.
I am certain the following GOOS/GOARCH combo worked previously, because I have code compiled from that exact command in production:
$ env GOOS=linux GOARCH=aarch64 go build -C cmd
go: unsupported GOOS/GOARCH pair linux/aarch64
Below is an additional target I am not trying to add (therefor untested combo):
$ env GOOS=linux GOARCH=armhf GOARM=6 go build -C cmd
go: unsupported GOOS/GOARCH pair linux/armhf
Both of these do not work.
Did certain ARM flags suddenly get dropped in an update?
go version gives me:
$ go version
go version go1.21.0 linux/amd64