GO build on Pi 5 Bookworn Fails, Pi 4 Bullseye it builds

On a Raspberry Pi 5, Bookworm 64bit (latest updates), Go 1.25.1
Building go project from github: acd/infinitive
Using go download: go1.21.5.linux-armv6l.tar.gz (clean install)

Following build performed, results:
pi@raspberrypi5:~/go/src/newinfinitive $ go build
[lines removed for brevity]
runtime/cgo
gcc: error: unrecognized command-line option ‘-marm’
pi@raspberrypi5:~/go/src/newinfinitive $

Note: GCC Version is gcc (Debian 12.2.0-14) 12.2.0

Same source code and same go 1.25.1 on Raspberry Pi 4 Bullseye succeeds.
Bullseye installs with older version of gcc: gcc (Raspbian 10.2.1-6+rpi1) 10.2.1 20210110

Looked for an alternate ARM6L such as a 64bit option, none found.

Any suggestions on a work around?
Many google searches found nothing specific to address issue with respect to platform dependency.

Thanks.

Problem solved.
Go on Pi 5 Bookworm requires go1.21.5.linux-arm64.tar.gz, not the arm6l version used on Pi 4 etc.
Nothing to do with GCC.
Nothing to see here, move on.