Skip to content

Conversation

@heiytor
Copy link
Contributor

@heiytor heiytor commented Feb 10, 2026

The unified Dockerfile cross-compiles with GOARCH=${TARGETARCH}, but for ARM targets TARGETARCH is just "arm" for both v6 and v7. Without GOARM, Go defaults to 7, producing ARMv7 instructions that cause SIGILL on ARMv6 hardware (e.g. Raspberry Pi Zero/1).

The unified Dockerfile cross-compiles with GOARCH=${TARGETARCH}, but
for ARM targets TARGETARCH is just "arm" for both v6 and v7. Without
GOARM, Go defaults to 7, producing ARMv7 instructions that cause
SIGILL on ARMv6 hardware (e.g. Raspberry Pi Zero/1).
@heiytor heiytor self-assigned this Feb 10, 2026
@heiytor heiytor requested a review from a team as a code owner February 10, 2026 16:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant