From patchwork Fri Oct 16 22:24:12 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yoann Congal X-Patchwork-Id: 101118 X-Patchwork-Delegate: yoann.congal@smile.fr Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 564C7CCF2CC for ; Fri, 16 Oct 2026 22:24:57 +0000 (UTC) Received: from mail-wr1-f46.google.com (mail-wr1-f46.google.com [209.85.221.46]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.6030.1792189488449371247 for ; Fri, 16 Oct 2026 15:24:48 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@smile.fr header.s=google header.b=pQIMZxCG; spf=pass (domain: smile.fr, ip: 209.85.221.46, mailfrom: yoann.congal@smile.fr) Received: by mail-wr1-f46.google.com with SMTP id ffacd0b85a97d-48c4d870d54so177331f8f.2 for ; Fri, 16 Oct 2026 15:24:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=smile.fr; s=google; t=1792189487; x=1792794287; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to:content-type; bh=hx4sINt/VY8QL0gtTwv7ckjw4kldrs2/4EduF98VmLk=; b=pQIMZxCGp1qxtOsexcYAYjpXcCmD7NVgyzebZykJyjK+RSFWHaVKFO61xFw6n4Y+ot bxLCx+gnqXa3ZGvFYf/+XGuT48TpWlZMZz9ENuddybWxm/oDTMoGBnDVEcdbR8dnK+EV IDzFWD3f2+kf9GanOdZEbD4r50PjMCs82TmT8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1792189487; x=1792794287; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to:content-type; bh=hx4sINt/VY8QL0gtTwv7ckjw4kldrs2/4EduF98VmLk=; b=XbMNWeDHYryhVpVl8m+3WcS2TGziE7VDg9p7zIRgqokWchUArDR6pbCIVQpZ6RKK4S Yi6cyfGCw5G9hMnih64FggjlMK9qo2a3aMkBHig4atiMDlWNU/N3hp9Twt4ooUE7IYPq Xgmos631Jhkzz1ZyVjRDceylr+CHJGKbX8TzbA0z9ZKQJ5epqijK77tdg9SVZ+Ht9EhW IspGQYQPpHOgf9lPWdLWsFuQX7+jUCPn9n46I8CIOho95L1yLz4Ppytehsg3YDEjnvKr 3qw6GLMicreeS/tvRXqZuO2mgr5jzgShVuMl7UqPLoYLoh+1WJRDoEyXuos4b+EQS8ss jESA== X-Gm-Message-State: AFq9FYJY8R5z2gzPngyEk06zVeOpdbAEpYSkL3ppTpj5TBbZ2qewVvsI uyWkR4TKZmEQUl8H7xsL5DYjl2TkMxjUe/LDHPDFzvM71d7nlmi35OaKN7B/fFIoF7lKecvz5gl 832KfACQ= X-Gm-Gg: AYBFou1JMZw4TAwGRnuF+uPnyqVyeuSnWMWOiNWRz8MbFWh5wZ4FR0CHARSqMq6JemR 3IoHGXdWeJu2chGXSRqvlXc56xIkmppiYIz/YMTTdmxi7JkhIL0pkyyPbzyzFlcSZeoCuTWXzTa +ia7jgsLqC4PqX2m7pHZje6TCiysgIyzAHJ8KHA2ZKFO6hu/G0b1LLoZ1I/jlWWDhTBicok6Sd/ fj4wbU19nlTTz2/dx+9TJiLRI3OaZf+fMiejqjDNO+AQIbprF3gPTAS1fE2i0y6tT/ZRkxprhwM CWjPWnCtwY/NePyZKhZ/Ygb7PZ1P78Qsv2pnOmHH13wkUCO+o4oTIZn/KpvXV6uukcd4YGX2qqx s6M3HwjKkDkEkmdNl57EDeDLAiScR+COJpwitHu4iDEtQVCfRoEnSJI65BmBCrPB6y0XyiJbFD5 GXkzQ+c/Z5fiy3O8BVAELz87kzqWP2D+4EB8KTZqoPjXBaKBz57r82qGMW4xp7zx12TFZAmJJ/W OMF/LQ1LjfnPBnR7RWuC5+SHz4VAI/zr7SzV1tB8DW91l/3jpq5ZH4+O8ONNhl+EDhZ9Za5M0K3 K+7th4uk X-Received: by 2002:a05:6000:46da:b0:48d:f3d2:38e0 with SMTP id ffacd0b85a97d-48e07bbe5efmr1352905f8f.15.1792189486437; Fri, 16 Oct 2026 15:24:46 -0700 (PDT) Received: from FRSMI25-LASER.home (2a01cb001331aa00a2e4fb7b0d887544.ipv6.abo.wanadoo.fr. [2a01:cb00:1331:aa00:a2e4:fb7b:d88:7544]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-48dfd503862sm7639515f8f.46.2026.10.16.15.24.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Oct 2026 15:24:46 -0700 (PDT) From: Yoann Congal To: openembedded-core@lists.openembedded.org Subject: [OE-core][blacksail 10/17] go: upgrade 1.27.1 -> 1.27.2 Date: Sat, 17 Oct 2026 00:24:12 +0200 Message-ID: <6d8e62502a672c381c8196b942b19b82ee9ced57.1792189264.git.yoann.congal@smile.fr> X-Mailer: git-send-email 2.55.0 In-Reply-To: References: MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 16 Oct 2026 22:24:57 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/248060 From: Peter Marko Upgrade to latest 1.27.x release [1]: $ git --no-pager log --oneline go1.27.1..go1.27.2 022c863611 (tag: go1.27.2) [release-branch.go1.27] go1.27.2 cbb0fb8b51 [release-branch.go1.27] net/http: apply header limits to Trailer headers too 12acaf3086 [release-branch.go1.27] net/http/internal/http2: prevent crash due to HPACK encoder race 31dc9e2449 [release-branch.go1.27] net/http/internal/http2: avoid 2x refund on stream close with buffered data 1d58cdaa10 [release-branch.go1.27] net/http/internal/http2: avoid excessive work on initial window changes ababc3cd87 [release-branch.go1.27] net/http: limit the size of range headers parsed in ServeContent 9636ab0f17 [release-branch.go1.27] os: correct Root junction handling on Windows (avoid mkdir escape) e92229e24a [release-branch.go1.27] net/http: avoid server reuse of connection after CONNECT 76875df0f3 [release-branch.go1.27] net/http, net/http/httputil: avoid post-CONNECT pool corruption 7c79b50a74 [release-branch.go1.27] net/textproto: enforce MIME memory limit on first line f022e61963 [release-branch.go1.27] crypto/tls: validate ECH outer extension references 68fa7699a2 [release-branch.go1.27] cmd/go: always verify toolchain downloads with sumdb 1e4f1fec6f [release-branch.go1.27] cmd/go: bundle go.sum h1 hashes for golang.org/fips140 6e2cfab0a1 [release-branch.go1.27] html/template: recognize `yield` as regexp preceder keyword b26d150e69 [release-branch.go1.27] html/template: reset JS context for template expressions bd9992d1d1 [release-branch.go1.27] cmd/link: pass -no_fixup_chains to C linker when building plugin on macOS ce0ff94df1 [release-branch.go1.27] cmd/cover: preserve statement counts when splitting coverage blocks 87b06e2c18 [release-branch.go1.27] runtime: create Windows threads on the system stack 9c26a3af46 [release-branch.go1.27] cmd/internal/obj/ppc64: fix async preempt safepoint bug b73c143090 [release-branch.go1.27] cmd/compile: use a 32-bit type for rewritten rotate amounts 8ada93d797 [release-branch.go1.27] encoding/json: fix UnsupportedValueError.Value regression d995fb820d [release-branch.go1.27] net/http: populate Request.TLS from HTTP/2 connection state 322f1785b0 [release-branch.go1.27] encoding/json/v2: avoid setting with errors parsing float bc516c2b36 [release-branch.go1.27] cmd/go: include VetxOnly in the vet action ID 4e4eec75bd [release-branch.go1.27] os: preserve completion notification modes for NewFile handles 359bec41ae [release-branch.go1.27] cmd/compile: support unified V5 export data (method indices) bd8f7a67b7 [release-branch.go1.27] cmd: vendor changes for "go fix" fa3bd01f47 [release-branch.go1.27] cmd/compile: call racefuncexit before a tail call aee72efe29 [release-branch.go1.27] testing: escape framing markers only in test2json mode 620e2e0a1a [release-branch.go1.27] runtime: keep the working directory for non-bundled ios/arm64 binaries d16d95ce1d [release-branch.go1.27] compress/flate: do not emit the preset dictionary into the output e89d44fee0 [release-branch.go1.27] os: handle unsupported OBJ_DONT_REPARSE on older Windows c407a15ec8 [release-branch.go1.27] cmd/compile: don't stack-allocate a slice whose element interior escapes ff5898f7aa [release-branch.go1.27] internal/runtime/syscall/linux: sync EpollEvent with the kernel header 072779d815 [release-branch.go1.27] net/http/internal/http2: delete malformed framing-related headers 2e4b38eeb8 [release-branch.go1.27] net/http: discard trailer when draining a response body 8cd5a090e0 [release-branch.go1.27] net/http: return nil from Body.Close after a failed Read db5314201a [release-branch.go1.27] net/http: read Response before signaling eofc in readLoop aa6fc252ed [release-branch.go1.27] net/http: fix HTTP/1 deadlock on concurrent response body Read and Close 1cfd8f0112 [release-branch.go1.27] encoding/json: avoid calling MarshalText on named string map keys f8a45f672b [release-branch.go1.27] cmd/compile: fix large riscv64 move/zero 072330d2ed [release-branch.go1.27] cmd/compile: correctly mark interface calls as used for tail call wrappers 1e44a4c9d9 [release-branch.go1.27] runtime: don't add the itabs of a plugin twice 2ee6421c51 [release-branch.go1.27] runtime: netpoll: fix 32-bit little-endian eventfd type confusion 33c04bd7da [release-branch.go1.27] runtime: disable mutex profile during async preemption on windows 113a7a0a0f [release-branch.go1.27] crypto/mlkem: fix FIPS 130-3 CAST Fixes CVE-2026-97032, CVE-2026-78659, CVE-2026-97031, CVE-2026-94444, CVE-2026-94447, CVE-2026-94448, CVE-2026-97030, CVE-2026-94440, CVE-2026-56866, CVE-2026-94439, CVE-2026-78669, CVE-2026-78660, CVE-2026-56857, CVE-2026-78667 and CVE-2026-78663. Release information: [2] [1] https://github.com/golang/go/compare/go1.27.1...go1.27.2 [2] https://groups.google.com/g/golang-announce/c/U2fTuyDJznI Signed-off-by: Peter Marko Signed-off-by: Mathieu Dubois-Briand Signed-off-by: Richard Purdie (cherry picked from commit 9908e0891f364a598365b86a9dd48b1ef1606e47) Signed-off-by: Yoann Congal --- meta/recipes-devtools/go/{go-1.27.1.inc => go-1.27.2.inc} | 2 +- ...binary-native_1.27.1.bb => go-binary-native_1.27.2.bb} | 6 +++--- ...oss-canadian_1.27.1.bb => go-cross-canadian_1.27.2.bb} | 0 .../go/{go-cross_1.27.1.bb => go-cross_1.27.2.bb} | 0 .../go/{go-crosssdk_1.27.1.bb => go-crosssdk_1.27.2.bb} | 0 .../go/{go-runtime_1.27.1.bb => go-runtime_1.27.2.bb} | 0 ...go-make-content-based-hash-generation-less-pedan.patch | 8 ++++---- .../go/go/0003-ld-add-soname-to-shareable-objects.patch | 6 +++--- .../go/0006-cmd-go-make-GOROOT-precious-by-default.patch | 2 +- ....go-filter-out-build-specific-paths-from-linker-.patch | 4 ++-- ...rnal-cgrouptest-skip-when-cpu.max-is-not-availab.patch | 6 +++--- meta/recipes-devtools/go/{go_1.27.1.bb => go_1.27.2.bb} | 0 12 files changed, 17 insertions(+), 17 deletions(-) rename meta/recipes-devtools/go/{go-1.27.1.inc => go-1.27.2.inc} (91%) rename meta/recipes-devtools/go/{go-binary-native_1.27.1.bb => go-binary-native_1.27.2.bb} (80%) rename meta/recipes-devtools/go/{go-cross-canadian_1.27.1.bb => go-cross-canadian_1.27.2.bb} (100%) rename meta/recipes-devtools/go/{go-cross_1.27.1.bb => go-cross_1.27.2.bb} (100%) rename meta/recipes-devtools/go/{go-crosssdk_1.27.1.bb => go-crosssdk_1.27.2.bb} (100%) rename meta/recipes-devtools/go/{go-runtime_1.27.1.bb => go-runtime_1.27.2.bb} (100%) rename meta/recipes-devtools/go/{go_1.27.1.bb => go_1.27.2.bb} (100%) diff --git a/meta/recipes-devtools/go/go-1.27.1.inc b/meta/recipes-devtools/go/go-1.27.2.inc similarity index 91% rename from meta/recipes-devtools/go/go-1.27.1.inc rename to meta/recipes-devtools/go/go-1.27.2.inc index d7ba03b1bdd..86598ad22f7 100644 --- a/meta/recipes-devtools/go/go-1.27.1.inc +++ b/meta/recipes-devtools/go/go-1.27.2.inc @@ -17,4 +17,4 @@ SRC_URI += "\ file://0010-cmd-go-clear-GOROOT-for-func-ldShared-when-trimpath-.patch \ file://0011-internal-cgrouptest-skip-when-cpu.max-is-not-availab.patch \ " -SRC_URI[main.sha256sum] = "4e408abae126d916b6164627193f2c54f0e3ca1312d693b86db45f862ab238b1" +SRC_URI[main.sha256sum] = "03495da2ba64894d40f5c4992e49454fa78b50690604ff92b6afff5081b76e62" diff --git a/meta/recipes-devtools/go/go-binary-native_1.27.1.bb b/meta/recipes-devtools/go/go-binary-native_1.27.2.bb similarity index 80% rename from meta/recipes-devtools/go/go-binary-native_1.27.1.bb rename to meta/recipes-devtools/go/go-binary-native_1.27.2.bb index f909581e499..19482f79c4b 100644 --- a/meta/recipes-devtools/go/go-binary-native_1.27.1.bb +++ b/meta/recipes-devtools/go/go-binary-native_1.27.2.bb @@ -9,9 +9,9 @@ PROVIDES = "go-native" # Checksums available at https://go.dev/dl/ SRC_URI = "https://dl.google.com/go/go${PV}.${BUILD_GOOS}-${BUILD_GOARCH}.tar.gz;name=go_${BUILD_GOTUPLE}" -SRC_URI[go_linux_amd64.sha256sum] = "63d339f0da5ab53635a56f2490a7984dfe12dfcff22ad749f63edaf590168445" -SRC_URI[go_linux_arm64.sha256sum] = "3450b45a3f9ee8568792736a5c5e70a1f2e9b36c35a8f74958c03e51d7d92bec" -SRC_URI[go_linux_ppc64le.sha256sum] = "ad1ff83c24f783c2d4a025852b928a05c199e8742a14a5482d88de0293d2bd0d" +SRC_URI[go_linux_amd64.sha256sum] = "ecbadb99091a3f46e31f5f934b068b1864eafa7995211b39eaddf76996045fe5" +SRC_URI[go_linux_arm64.sha256sum] = "94f3e30b8e374bc285e7dadc11e0865726b9bc6e85b841ccceaabc0214c6b7c8" +SRC_URI[go_linux_ppc64le.sha256sum] = "059d5f01b1607a724ea5ae87c5589041a51c577a6f3f20099e49d00f31c803fa" UPSTREAM_CHECK_URI = "https://golang.org/dl/" UPSTREAM_CHECK_REGEX = "go(?P\d+(\.\d+)+)\.linux" diff --git a/meta/recipes-devtools/go/go-cross-canadian_1.27.1.bb b/meta/recipes-devtools/go/go-cross-canadian_1.27.2.bb similarity index 100% rename from meta/recipes-devtools/go/go-cross-canadian_1.27.1.bb rename to meta/recipes-devtools/go/go-cross-canadian_1.27.2.bb diff --git a/meta/recipes-devtools/go/go-cross_1.27.1.bb b/meta/recipes-devtools/go/go-cross_1.27.2.bb similarity index 100% rename from meta/recipes-devtools/go/go-cross_1.27.1.bb rename to meta/recipes-devtools/go/go-cross_1.27.2.bb diff --git a/meta/recipes-devtools/go/go-crosssdk_1.27.1.bb b/meta/recipes-devtools/go/go-crosssdk_1.27.2.bb similarity index 100% rename from meta/recipes-devtools/go/go-crosssdk_1.27.1.bb rename to meta/recipes-devtools/go/go-crosssdk_1.27.2.bb diff --git a/meta/recipes-devtools/go/go-runtime_1.27.1.bb b/meta/recipes-devtools/go/go-runtime_1.27.2.bb similarity index 100% rename from meta/recipes-devtools/go/go-runtime_1.27.1.bb rename to meta/recipes-devtools/go/go-runtime_1.27.2.bb diff --git a/meta/recipes-devtools/go/go/0001-cmd-go-make-content-based-hash-generation-less-pedan.patch b/meta/recipes-devtools/go/go/0001-cmd-go-make-content-based-hash-generation-less-pedan.patch index 6372b7805b7..92e2a1bc8bc 100644 --- a/meta/recipes-devtools/go/go/0001-cmd-go-make-content-based-hash-generation-less-pedan.patch +++ b/meta/recipes-devtools/go/go/0001-cmd-go-make-content-based-hash-generation-less-pedan.patch @@ -108,7 +108,7 @@ index 8dcf324529f5..617b7ece73f0 100644 } // Configuration specific to compiler toolchain. -@@ -2838,8 +2840,25 @@ func envList(key, def string) []string { +@@ -2839,8 +2841,25 @@ func envList(key, def string) []string { return args } @@ -135,7 +135,7 @@ index 8dcf324529f5..617b7ece73f0 100644 if cppflags, err = buildFlags("CPPFLAGS", "", p.CgoCPPFLAGS, checkCompilerFlags); err != nil { return } -@@ -2855,6 +2874,13 @@ func (b *Builder) CFlags(p *load.Package) (cppflags, cflags, cxxflags, fflags, l +@@ -2856,6 +2875,13 @@ func (b *Builder) CFlags(p *load.Package) (cppflags, cflags, cxxflags, fflags, l if ldflags, err = buildFlags("LDFLAGS", DefaultCFlags, p.CgoLDFLAGS, checkLinkerFlags); err != nil { return } @@ -149,7 +149,7 @@ index 8dcf324529f5..617b7ece73f0 100644 return } -@@ -2943,7 +2969,7 @@ func (b *Builder) runCgo(ctx context.Context, a *Action) error { +@@ -2944,7 +2970,7 @@ func (b *Builder) runCgo(ctx context.Context, a *Action) error { cgoExe := base.Tool("cgo") cgofiles = mkAbsFiles(p.Dir, cgofiles) @@ -158,7 +158,7 @@ index 8dcf324529f5..617b7ece73f0 100644 if err != nil { return err } -@@ -3501,7 +3527,7 @@ func (b *Builder) swigOne(a *Action, file, objdir string, pcCFLAGS []string, cxx +@@ -3502,7 +3528,7 @@ func (b *Builder) swigOne(a *Action, file, objdir string, pcCFLAGS []string, cxx p := a.Package sh := b.Shell(a) diff --git a/meta/recipes-devtools/go/go/0003-ld-add-soname-to-shareable-objects.patch b/meta/recipes-devtools/go/go/0003-ld-add-soname-to-shareable-objects.patch index 59ae99c44d3..2e46e22161e 100644 --- a/meta/recipes-devtools/go/go/0003-ld-add-soname-to-shareable-objects.patch +++ b/meta/recipes-devtools/go/go/0003-ld-add-soname-to-shareable-objects.patch @@ -22,7 +22,7 @@ diff --git a/src/cmd/link/internal/ld/lib.go b/src/cmd/link/internal/ld/lib.go index 9cbc12919f1d..0f33521777d1 100644 --- a/src/cmd/link/internal/ld/lib.go +++ b/src/cmd/link/internal/ld/lib.go -@@ -1672,6 +1672,7 @@ func (ctxt *Link) hostlink() { +@@ -1680,6 +1680,7 @@ func (ctxt *Link) hostlink() { argv = append(argv, "-Wl,-z,relro") } argv = append(argv, "-shared") @@ -30,7 +30,7 @@ index 9cbc12919f1d..0f33521777d1 100644 if ctxt.HeadType == objabi.Hwindows { argv = addASLRargs(argv, *flagAslr) } else { -@@ -1687,6 +1688,7 @@ func (ctxt *Link) hostlink() { +@@ -1695,6 +1696,7 @@ func (ctxt *Link) hostlink() { argv = append(argv, "-Wl,-z,relro") } argv = append(argv, "-shared") @@ -38,7 +38,7 @@ index 9cbc12919f1d..0f33521777d1 100644 case BuildModePlugin: if ctxt.HeadType == objabi.Hdarwin { argv = append(argv, "-dynamiclib") -@@ -1695,6 +1697,7 @@ func (ctxt *Link) hostlink() { +@@ -1703,6 +1705,7 @@ func (ctxt *Link) hostlink() { argv = append(argv, "-Wl,-z,relro") } argv = append(argv, "-shared") diff --git a/meta/recipes-devtools/go/go/0006-cmd-go-make-GOROOT-precious-by-default.patch b/meta/recipes-devtools/go/go/0006-cmd-go-make-GOROOT-precious-by-default.patch index 74fd1faa697..77b4bedd017 100644 --- a/meta/recipes-devtools/go/go/0006-cmd-go-make-GOROOT-precious-by-default.patch +++ b/meta/recipes-devtools/go/go/0006-cmd-go-make-GOROOT-precious-by-default.patch @@ -94,7 +94,7 @@ index 617b7ece73f0..46c0712c5bd0 100644 if err := sh.Mkdir(buildAction.Objdir); err != nil { return nil, err } -@@ -1922,6 +1939,14 @@ func (b *Builder) linkShared(ctx context.Context, a *Action) (err error) { +@@ -1923,6 +1940,14 @@ func (b *Builder) linkShared(ctx context.Context, a *Action) (err error) { return err } diff --git a/meta/recipes-devtools/go/go/0007-exec.go-filter-out-build-specific-paths-from-linker-.patch b/meta/recipes-devtools/go/go/0007-exec.go-filter-out-build-specific-paths-from-linker-.patch index 0cc770a006a..e6a5ce587eb 100644 --- a/meta/recipes-devtools/go/go/0007-exec.go-filter-out-build-specific-paths-from-linker-.patch +++ b/meta/recipes-devtools/go/go/0007-exec.go-filter-out-build-specific-paths-from-linker-.patch @@ -18,7 +18,7 @@ diff --git a/src/cmd/go/internal/work/exec.go b/src/cmd/go/internal/work/exec.go index 46c0712c5bd0..e7c0459ee4c0 100644 --- a/src/cmd/go/internal/work/exec.go +++ b/src/cmd/go/internal/work/exec.go -@@ -1597,6 +1597,29 @@ func (b *Builder) linkActionID(a *Action) cache.ActionID { +@@ -1598,6 +1598,29 @@ func (b *Builder) linkActionID(a *Action) cache.ActionID { return h.Sum() } @@ -48,7 +48,7 @@ index 46c0712c5bd0..e7c0459ee4c0 100644 // printLinkerConfig prints the linker config into the hash h, // as part of the computation of a linker-related action ID. func (b *Builder) printLinkerConfig(h io.Writer, p *load.Package) { -@@ -1607,7 +1630,7 @@ func (b *Builder) printLinkerConfig(h io.Writer, p *load.Package) { +@@ -1608,7 +1631,7 @@ func (b *Builder) printLinkerConfig(h io.Writer, p *load.Package) { case "gc": fmt.Fprintf(h, "link %s %q %s\n", b.toolID("link"), forcedLdflags, ldBuildmode) if p != nil { diff --git a/meta/recipes-devtools/go/go/0011-internal-cgrouptest-skip-when-cpu.max-is-not-availab.patch b/meta/recipes-devtools/go/go/0011-internal-cgrouptest-skip-when-cpu.max-is-not-availab.patch index f13cf78f7a7..cf6283b2bf4 100644 --- a/meta/recipes-devtools/go/go/0011-internal-cgrouptest-skip-when-cpu.max-is-not-availab.patch +++ b/meta/recipes-devtools/go/go/0011-internal-cgrouptest-skip-when-cpu.max-is-not-availab.patch @@ -21,13 +21,13 @@ Signed-off-by: Khem Raj 1 file changed, 6 insertions(+) diff --git a/src/internal/cgrouptest/cgrouptest_linux.go b/src/internal/cgrouptest/cgrouptest_linux.go -index ad9599c..a4b9b52 100644 +index ad9599c9..a4b9b52d 100644 --- a/src/internal/cgrouptest/cgrouptest_linux.go +++ b/src/internal/cgrouptest/cgrouptest_linux.go @@ -82,6 +82,12 @@ func InCgroupV2(t *testing.T, fn func(*CgroupV2)) { } }() - + + // cpu.max only exists when the kernel supports CPU bandwidth control + // (CONFIG_CFS_BANDWIDTH), even if the cpu controller is enabled. + if _, err := os.Stat(filepath.Join(path, "cpu.max")); err != nil { @@ -36,4 +36,4 @@ index ad9599c..a4b9b52 100644 + migrateTo(t, path) defer migrateTo(t, orig) - + diff --git a/meta/recipes-devtools/go/go_1.27.1.bb b/meta/recipes-devtools/go/go_1.27.2.bb similarity index 100% rename from meta/recipes-devtools/go/go_1.27.1.bb rename to meta/recipes-devtools/go/go_1.27.2.bb