diff options
| author | Artturin <Artturin@artturin.com> | 2025-11-26 01:54:31 +0200 |
|---|---|---|
| committer | Artturin <Artturin@artturin.com> | 2025-12-01 02:29:51 +0200 |
| commit | 756865d780f3c4403cb9dc59a08303561bfc26e7 (patch) | |
| tree | b38b7fb813d3b6de8abf8cd69e20c2f148ecb9f0 /pkgs/development/python-modules/python-openstackclient | |
| parent | 388709dd5984f7a65391821086d875704661a910 (diff) | |
grafana: Fix cross
```
go-1.25.4/share/go/pkg/tool/linux_amd64/link: running aarch64-unknown-linux-gnu-gcc failed: exit status 1
aarch64-unknown-linux-gnu-gcc -m64 -s -o $WORK/b001/exe/gen -rdynamic /build/go-link-507658645/go.o
aarch64-unknown-linux-gnu-gcc: error: unrecognized command-line option '-m64'
```
Above error happens because something `go generate` uses `$CC`
which is the for host compiler
https://www.github.com/golang/go/blob/b194f5d24a71e34f147c90e4351d80ac75be55de/src/cmd/cgo/gcc.go#L1763
https://www.github.com/golang/go/blob/b194f5d24a71e34f147c90e4351d80ac75be55de/src/cmd/cgo/gcc.go#L1724
`CGO_DISABLED=0` used to work to disable compiler usage but it does not
work anymore.
Diffstat (limited to 'pkgs/development/python-modules/python-openstackclient')
0 files changed, 0 insertions, 0 deletions
