mirror of
https://github.com/dockersrc/go
synced 2026-06-24 14:01:08 -04:00
5160ac7e61
The arm64 build was failing with: github.com/caarlos0/go-version: .../linux_arm64/compile: signal: segmentation fault Under QEMU emulation, parallel Go package compilation creates memory pressure that causes the compiler to crash. Setting GOFLAGS=-p=1 on aarch64 serialises compilation, eliminating the segfault. amd64 builds are unaffected (no flag set on x86_64). - rootfs/root/docker/setup/05-custom.sh: detect aarch64 via uname -m and export GOFLAGS=-p=1 before all go install calls rootfs/root/docker/setup/05-custom.sh