[Buildroot] [PATCH 1/2] package/go: bump to version 1.25.1
James Hilliard
james.hilliard1 at gmail.com
Wed Sep 10 21:17:20 UTC 2025
On Wed, Sep 10, 2025 at 2:33 PM Christian Stewart <christian at aperture.us> wrote:
>
> Hi 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
>
> I just submitted a different series to do the same thing, sorry, I
> didn't see yours until I had already submitted.
>
> It's a bit different though, separate commits for adding stage4 and
> go1.24 and go 1.25 for better bisect.
Not sure if there's much reason to have an intermediary go1.24 as go1.25
has the same bootstrap requirements.
Your stage4 probably should use version 1.23.12.
> What do you think?
I think yours might be missing some config changes, anything you did in
yours that I missed in mine?
> 1. https://patchwork.ozlabs.org/project/buildroot/patch/20250910202138.13648-1-christian@aperture.us/
> 2. https://patchwork.ozlabs.org/project/buildroot/patch/20250910202138.13648-2-christian@aperture.us/
> 3. https://patchwork.ozlabs.org/project/buildroot/patch/20250910202138.13648-3-christian@aperture.us/
>
> It's actually another revision of a very old series I submitted for go1.24.
>
> Thanks,
> Christian Stewart
More information about the buildroot
mailing list