Skip to content

[Bug]: x/tools wontfix bug causing RPi arm64 builds to fail #2396

@tashian

Description

@tashian

Steps to Reproduce

I've received two reports this week that this bug is causing make bootstrap to fail on Raspberry Pis.

I was able to reproduce this locally on an RPi 4.

# golang.org/x/tools/internal/tokeninternal
../go/pkg/mod/golang.org/x/tools@v0.21.0/internal/tokeninternal/tokeninternal.go:64:9: invalid array length -delta * delta (constant -256 of type int64)

The Go bug is wontfix— so, out fix would be to upgrade our x/tools dependency.

One user was able to fix the build by dowmgrading to go1.24.7.

Your Environment

  • OS - Ubuntu Server 24.04.3 LTS and Raspberry Pi OS Lite (64-bit)
  • step-ca Version - 0.28.4
  • Go 1.25.1 arm64

Expected Behavior

Dependencies should bootstrap without failure

Actual Behavior

See golang/go#74462 for error output

Additional Context

No response

Contributing

Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugneeds triageWaiting for discussion / prioritization by team

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions