[Buildroot] [PATCH 1/2] package/go: bump to version 1.25.1

Christian Stewart christian at aperture.us
Tue Sep 16 21:49:54 UTC 2025


James,

On Wed, Sep 10, 2025 at 11:34 AM James Hilliard
<james.hilliard1 at gmail.com> wrote:
>
> Building Go 1.24 and later requires Go 1.22.6 or later for bootstrap.
>
> To support this we use our previous Go version 1.23.12 as the version
> for go-bootstrap-stage4 and have the build for Go 1.25.1 depend on
> go-bootstrap-stage4.
>
> Go version 1.23.12 is the latest go version we can build using
> go-bootstrap-stage3.
>
> The package build for go-bootstrap-stage4 if effectively identical to
> go-bootstrap-stage3 with only the Go version and stage number changed.
>
> Signed-off-by: James Hilliard <james.hilliard1 at gmail.com>
> ---
>  package/go/Config.in.host                     |  9 +--
>  ...ldvcs-false-when-building-go-bootstr.patch | 71 +++++++++++++++++++
>  package/go/go-bootstrap-stage4/Config.in.host |  4 ++
>  .../go-bootstrap-stage4.hash                  |  3 +
>  .../go-bootstrap-stage4.mk                    | 54 ++++++++++++++
>  package/go/go-src/go-src.mk                   |  4 +-
>  package/go/go.hash                            | 14 ++--
>  package/go/go.mk                              |  2 +-
>  8 files changed, 147 insertions(+), 14 deletions(-)
>  create mode 100644 package/go/go-bootstrap-stage4/0001-cmd-dist-set-buildvcs-false-when-building-go-bootstr.patch
>  create mode 100644 package/go/go-bootstrap-stage4/Config.in.host
>  create mode 100644 package/go/go-bootstrap-stage4/go-bootstrap-stage4.hash
>  create mode 100644 package/go/go-bootstrap-stage4/go-bootstrap-stage4.mk


After some further testing...

go-bin is working fine, go-src has a hash mismatch:

https://github.com/skiffos/SkiffOS/actions/runs/17761136300/job/50473971015#step:8:63721

see make host-go-src-legal-info

You should apply this change to your patch:

-sha256  2d36597f7117c38b006835ae7f537487207d8ec407aa9d9980794b2030cbc067
 LICENSE

+sha256  911f8f5782931320f5b8d1160a76365b83aea6447ee6c04fa6d5591467db9dad
 LICENSE

Thanks,
Christian Stewart


More information about the buildroot mailing list