go: upgrade 1.26.2 -> 1.26.3
PATCH 1/2 go: upgrade 1.26.2 -> 1.26.3
From: Peter Marko <[email protected]>
Upgrade to latest 1.26.x release [1]:
$ git --no-pager log --oneline go1.26.2..go1.26.3 2dc996f71b (tag: go1.26.3) [release-branch.go1.26] go1.26.3 8282c628a0 [release-branch.go1.26] cmd/go: reject sumdb response lacking module hash 3baf3eec3b [release-branch.go1.26] all: avoid unsafe StringToUTF16Ptr on Windows 0bec63330d [release-branch.go1.26] net/mail: fix quadratic consumePhrase behavior 7136366ebf [release-branch.go1.26] cmd/go: invalidate test cache when -coverpkg dependencies change 722b68ceca [release-branch.go1.26] cmd/compile: keep blank nodes alive in b.loop 3ae315a8cd [release-branch.go1.26] os: avoid panic when RemoveAll fails to remove a symlink c9f97f50c4 [release-branch.go1.26] html/template: fix escaping of URLs in meta content attributes 40fa774fff [release-branch.go1.26] cmd/pack: refuse to extract files with directory components d9389d318b [release-branch.go1.26] net/mail: fix quadratic complexity in consumeComment dd29b59a2b [release-branch.go1.26] cmd/compile: fix loopvar version detection with line directives 18fa391f45 [release-branch.go1.26] crypto/fips140: add package docs e0f5c054cb [release-branch.go1.26] net: avoid double-free of cgo pointer when handling large DNS response 2992086cf8 [release-branch.go1.26] lib/fips140: add certified pointing to v1.0.0-c2097c7c f43caf8712 [release-branch.go1.26] lib/fips140: update inprocess to v1.26.0 19d2ce3401 [release-branch.go1.26] runtime: fix timespec definition on 32bits systems e9df527f06 [release-branch.go1.26] crypto/tls: wrap ML-KEM hybrids in fips140.WithoutEnforcement 73f417a37c [release-branch.go1.26] go/types, types2: handle unconstrained type parameters correctly in a few places 50856a181c [release-branch.go1.26] cmd/go: use MkdirTemp to create temp directory for "go bug" e137885d68 [release-branch.go1.26] cmd/compile/internal/devirtualize: use pointer identity for type comparison c9712872cc [release-branch.go1.26] crypto/internal/fips140/drbg: build tag out entropy generation on Wasm cb994d85ff [release-branch.go1.26] cmd/fix: change -diff to exit 1 if diffs exist 95470667eb [release-branch.go1.26] net/http/httputil: reencode queries with many parameters in proxy 9b01c04815 [release-branch.go1.26] html/template: fix escaper bypass by treating empty script type as JavaScript be12fe151c [release-branch.go1.26] runtime: use uname version check for 64-bit time on 32-bit arch codepaths ec5ebece41 [release-branch.go1.26] all: update x/net to 705de46f 710f29a758 [release-branch.go1.26] runtime: add sysUnreserve to undo sysReserve efdc0fb354 [release-branch.go1.26] cmd/compile: handle min integer step in loop ba4554f03b [release-branch.go1.26] cmd/go: specify full path to go command when running go tool covdata f4e425d342 [release-branch.go1.26] fix incorrect loop trip counts 0b4d5f85e6 [release-branch.go1.26] cmd/link: use bfd ld 2.36+ on linux/arm64 instead of gold
Fixes CVE-2026-42501, CVE-2026-39825, CVE-2026-39836, CVE-2026-42499,
CVE-2026-39820, CVE-2026-39819, CVE-2026-39817, CVE-2026-33814,
CVE-2026-39826, CVE-2026-33811 and CVE-2026-39823.Drop patch handling gold linker as upstream implemented gold linker availability autodetection with [3].
Release information: [2]
[1] https://github.com/golang/go/compare/go1.26.2...go1.26.3
[2] https://groups.google.com/g/golang-announce/c/qcCIEXso47M
[3] https://github.com/golang/go/commit/0b4d5f85e68ea79b61de9989f9f37a984eb11289
(From OE-Core rev: 3d8258a8d3d96dc1225172c2ff9e889fd12cf6bc)
---
.../go/{go-1.26.2.inc => go-1.26.3.inc} | 3 +-
...e_1.26.2.bb => go-binary-native_1.26.3.bb} | 6 +-
..._1.26.2.bb => go-cross-canadian_1.26.3.bb} | 0
...{go-cross_1.26.2.bb => go-cross_1.26.3.bb} | 0
...osssdk_1.26.2.bb => go-crosssdk_1.26.3.bb} | 0
...runtime_1.26.2.bb => go-runtime_1.26.3.bb} | 0
...rcing-binutils-gold-dependency-on-aa.patch | 55 -------------------
.../go/{go_1.26.2.bb => go_1.26.3.bb} | 0
8 files changed, 4 insertions(+), 60 deletions(-)
rename meta/recipes-devtools/go/{go-1.26.2.inc => go-1.26.3.inc} (83%)
rename meta/recipes-devtools/go/{go-binary-native_1.26.2.bb => go-binary-native_1.26.3.bb} (80%)
rename meta/recipes-devtools/go/{go-cross-canadian_1.26.2.bb => go-cross-canadian_1.26.3.bb} (100%)
rename meta/recipes-devtools/go/{go-cross_1.26.2.bb => go-cross_1.26.3.bb} (100%)
rename meta/recipes-devtools/go/{go-crosssdk_1.26.2.bb => go-crosssdk_1.26.3.bb} (100%)
rename meta/recipes-devtools/go/{go-runtime_1.26.2.bb => go-runtime_1.26.3.bb} (100%)
delete mode 100644 meta/recipes-devtools/go/go/0011-cmd-link-stop-forcing-binutils-gold-dependency-on-aa.patch
rename meta/recipes-devtools/go/{go_1.26.2.bb => go_1.26.3.bb} (100%)meta/recipes-devtools/go/go-1.26.3.inc renamed from meta/recipes-devtools/go/go-1.26.2.inc +1 -2
@@ -15,6 +15,5 @@ SRC_URI += "\ file://0008-src-cmd-dist-buildgo.go-do-not-hardcode-host-compile.patch \ file://0009-go-Filter-build-paths-on-staticly-linked-arches.patch \ file://0010-cmd-go-clear-GOROOT-for-func-ldShared-when-trimpath-.patch \ - file://0011-cmd-link-stop-forcing-binutils-gold-dependency-on-aa.patch \ " -SRC_URI[main.sha256sum] = "2e91ebb6947a96e9436fb2b3926a8802efe63a6d375dffec4f82aa9dbd6fd43b" +SRC_URI[main.sha256sum] = "1c646875d0aa8799133184ed57cf79ff24bdefe8c8820470602a9d3d6d9192b8"
meta/recipes-devtools/go/go-binary-native_1.26.3.bb renamed from meta/recipes-devtools/go/go-binary-native_1.26.2.bb +3 -3
@@ -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] = "990e6b4bbba816dc3ee129eaeaf4b42f17c2800b88a2166c265ac1a200262282" -SRC_URI[go_linux_arm64.sha256sum] = "c958a1fe1b361391db163a485e21f5f228142d6f8b584f6bef89b26f66dc5b23" -SRC_URI[go_linux_ppc64le.sha256sum] = "62b7645dd2404052535617c59e91cf03c7aa28e332dbaddbe4c0d7de7bcc6736" +SRC_URI[go_linux_amd64.sha256sum] = "2b2cfc7148493da5e73981bffbf3353af381d5f93e789c82c79aff64962eb556" +SRC_URI[go_linux_arm64.sha256sum] = "9d89a3ea57d141c2b22d70083f2c8459ba3890f2d9e818e7e933b75614936565" +SRC_URI[go_linux_ppc64le.sha256sum] = "dbd82b50530ead2beb1fd72215117380df3cb16332b51467116dc35b3691dd75" UPSTREAM_CHECK_URI = "https://golang.org/dl/" UPSTREAM_CHECK_REGEX = "go(?P<pver>\d+(\.\d+)+)\.linux"
meta/recipes-devtools/go/go-cross-canadian_1.26.3.bb renamed from meta/recipes-devtools/go/go-cross-canadian_1.26.2.bb +0 -0
meta/recipes-devtools/go/go-cross_1.26.3.bb renamed from meta/recipes-devtools/go/go-cross_1.26.2.bb +0 -0
meta/recipes-devtools/go/go-crosssdk_1.26.3.bb renamed from meta/recipes-devtools/go/go-crosssdk_1.26.2.bb +0 -0
meta/recipes-devtools/go/go-runtime_1.26.3.bb renamed from meta/recipes-devtools/go/go-runtime_1.26.2.bb +0 -0
meta/recipes-devtools/go/go/0011-cmd-link-stop-forcing-binutils-gold-dependency-on-aa.patch deleted +0 -55
55 lines not on this page · raw message
meta/recipes-devtools/go/go_1.26.3.bb renamed from meta/recipes-devtools/go/go_1.26.2.bb +0 -0
PATCH 2/2 go: upgrade 1.26.3 -> 1.26.4
From: Peter Marko <[email protected]>
Upgrade to latest 1.26.x release [1]:
$ git --no-pager log --oneline go1.26.3..go1.26.4 a9ce111d58 (tag: go1.26.4) [release-branch.go1.26] go1.26.4 babc19e1ad [release-branch.go1.26] cmd/compile: do not misscompile x+x << 63 to x << 0 on amd64 7d24489b2b [release-branch.go1.26] runtime/race: build race detector linux/arm64 syso with no-outline-atomics ce5a3e718c [release-branch.go1.26] crypto/x509: split candidate hostname only once ec1c380418 [release-branch.go1.26] net/textproto: escape arbitrary input when including them in errors 7f24db453a [release-branch.go1.26] mime: avoid quadratic complexity in WordDecoder.DecodeHeader ccffd99f3c [release-branch.go1.26] cmd/fix: pull in CL 783960 26c2ac5f94 [release-branch.go1.26] crypto/internal/fips140/drbg: fix Wasm stub
Fixes CVE-2026-42504, CVE-2026-42507 and CVE-2026-27145.
Release information: [2]
[1] https://github.com/golang/go/compare/go1.26.3...go1.26.4
[2] https://groups.google.com/g/golang-announce/c/tKs3rmcBcKw
(From OE-Core rev: b9b3b3098eece17d29d41b1923ae5a26511d9b4b)
---
meta/recipes-devtools/go/{go-1.26.3.inc => go-1.26.4.inc} | 2 +-
...o-binary-native_1.26.3.bb => go-binary-native_1.26.4.bb} | 6 +++---
...cross-canadian_1.26.3.bb => go-cross-canadian_1.26.4.bb} | 0
.../go/{go-cross_1.26.3.bb => go-cross_1.26.4.bb} | 0
.../go/{go-crosssdk_1.26.3.bb => go-crosssdk_1.26.4.bb} | 0
.../go/{go-runtime_1.26.3.bb => go-runtime_1.26.4.bb} | 0
meta/recipes-devtools/go/{go_1.26.3.bb => go_1.26.4.bb} | 0
7 files changed, 4 insertions(+), 4 deletions(-)
rename meta/recipes-devtools/go/{go-1.26.3.inc => go-1.26.4.inc} (90%)
rename meta/recipes-devtools/go/{go-binary-native_1.26.3.bb => go-binary-native_1.26.4.bb} (80%)
rename meta/recipes-devtools/go/{go-cross-canadian_1.26.3.bb => go-cross-canadian_1.26.4.bb} (100%)
rename meta/recipes-devtools/go/{go-cross_1.26.3.bb => go-cross_1.26.4.bb} (100%)
rename meta/recipes-devtools/go/{go-crosssdk_1.26.3.bb => go-crosssdk_1.26.4.bb} (100%)
rename meta/recipes-devtools/go/{go-runtime_1.26.3.bb => go-runtime_1.26.4.bb} (100%)
rename meta/recipes-devtools/go/{go_1.26.3.bb => go_1.26.4.bb} (100%)meta/recipes-devtools/go/go-1.26.4.inc renamed from meta/recipes-devtools/go/go-1.26.3.inc +1 -1
@@ -16,4 +16,4 @@ SRC_URI += "\ file://0009-go-Filter-build-paths-on-staticly-linked-arches.patch \ file://0010-cmd-go-clear-GOROOT-for-func-ldShared-when-trimpath-.patch \ " -SRC_URI[main.sha256sum] = "1c646875d0aa8799133184ed57cf79ff24bdefe8c8820470602a9d3d6d9192b8" +SRC_URI[main.sha256sum] = "4f668a32fbfc1132e6a881fb968c2f1dada631492a339211735fbb255a42602d"
meta/recipes-devtools/go/go-binary-native_1.26.4.bb renamed from meta/recipes-devtools/go/go-binary-native_1.26.3.bb +3 -3
@@ -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] = "2b2cfc7148493da5e73981bffbf3353af381d5f93e789c82c79aff64962eb556" -SRC_URI[go_linux_arm64.sha256sum] = "9d89a3ea57d141c2b22d70083f2c8459ba3890f2d9e818e7e933b75614936565" -SRC_URI[go_linux_ppc64le.sha256sum] = "dbd82b50530ead2beb1fd72215117380df3cb16332b51467116dc35b3691dd75" +SRC_URI[go_linux_amd64.sha256sum] = "1153d3d50e0ac764b447adfe05c2bcf08e889d42a02e0fe0259bd47f6733ad7f" +SRC_URI[go_linux_arm64.sha256sum] = "ef758ae7c6cf9267c9c0ef080b8965f453d89ab2d25d9eb22de4405925238768" +SRC_URI[go_linux_ppc64le.sha256sum] = "53f49b8c7eace2d30389327b4a516b13321f90377fdf5929a6b63174609bc22e" UPSTREAM_CHECK_URI = "https://golang.org/dl/" UPSTREAM_CHECK_REGEX = "go(?P<pver>\d+(\.\d+)+)\.linux"