I downloaded and ran `go env` with both the 32-bit and 64-bit Go
toolchains from go.dev, and the GOGCCFLAGS results were:
Since you're on a newer Raspberry Pi with a 64-bit ARM environment, you
should download the 64-bit Go toolchain, not the 32-bit one.