Skip to content

runtime: Go 1.22.0 fails to build from source on armv7 Alpine Linux #65601

@nmeum

Description

@nmeum

Go version

N/A

Output of go env in your module/workspace:

N/A

What did you do?

I maintain the Go package for Alpine Linux, this package builds Go from source using ./make.bash.

While upgrading from Go 1.21.6 to Go 1.22.0 we noticed that Go itself wouldn't build on our armv7 CI.

What did you see happen?

Go 1.22.0 builds successful on Alpine x86_64, x86, armhf (GOARM=6), ppc64le, aarch64 and riscv64. It only fails to build on armv7 (GOARM=7). Furthermore, Go 1.21.6 builds fine on our armv7 CI. Therefore, I believe this to be a regression in Go 1.22.0. The build failure message is not consistent, there is probably a race condition somewhere. However, it always fails either after Building Go toolchain2 using go_bootstrap and Go toolchain1 or Building Go toolchain3 using go_bootstrap and Go toolchain2.

Build logs of some of the failures we have seen so far (as I said, the exact error message differs):

Any idea what might be causing this? Any hints on debugging this further?

What did you expect to see?

A successful build of Go 1.22.0 on all architectures.

Metadata

Metadata

Assignees

No one assigned

    Labels

    FixPendingIssues that have a fix which has not yet been reviewed or submitted.FrozenDueToAgeNeedsFixThe path to resolution is known, but the work has not been done.OS-Linuxarch-armIssues solely affecting the 32-bit arm architecture.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions