summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJose Quaresma <quaresma.jose@gmail.com>2024-02-28 18:30:11 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-03-06 12:13:16 +0000
commitc28c8e67f70f6ef17c5bb44cc59311d0a395bdb9 (patch)
tree22418f362fc2e08c0f66afedeb97491d39e9ff7c
parente9870028b71c1794cba59c99bc6477e3cfacab24 (diff)
downloadpoky-c28c8e67f70f6ef17c5bb44cc59311d0a395bdb9.tar.gz
go: bump 1.22.0
Go 1.22 Release Notes https://go.dev/doc/go1.22 (From OE-Core rev: 170d7bc91537d723790dbe07c5b875b5e3ce57ee) Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/conf/distro/include/tcmode-default.inc2
-rw-r--r--meta/recipes-devtools/go/go-1.22.0.inc (renamed from meta/recipes-devtools/go/go-1.21.7.inc)2
-rw-r--r--meta/recipes-devtools/go/go-binary-native_1.22.0.bb (renamed from meta/recipes-devtools/go/go-binary-native_1.21.7.bb)6
-rw-r--r--meta/recipes-devtools/go/go-cross-canadian_1.22.0.bb (renamed from meta/recipes-devtools/go/go-cross-canadian_1.21.7.bb)0
-rw-r--r--meta/recipes-devtools/go/go-cross_1.22.0.bb (renamed from meta/recipes-devtools/go/go-cross_1.21.7.bb)0
-rw-r--r--meta/recipes-devtools/go/go-crosssdk_1.22.0.bb (renamed from meta/recipes-devtools/go/go-crosssdk_1.21.7.bb)0
-rw-r--r--meta/recipes-devtools/go/go-native_1.22.0.bb (renamed from meta/recipes-devtools/go/go-native_1.21.7.bb)0
-rw-r--r--meta/recipes-devtools/go/go-runtime_1.22.0.bb (renamed from meta/recipes-devtools/go/go-runtime_1.21.7.bb)0
-rw-r--r--meta/recipes-devtools/go/go/0001-cmd-go-make-content-based-hash-generation-less-pedan.patch32
-rw-r--r--meta/recipes-devtools/go/go/0002-cmd-go-Allow-GOTOOLDIR-to-be-overridden-in-the-envir.patch8
-rw-r--r--meta/recipes-devtools/go/go/0003-ld-add-soname-to-shareable-objects.patch10
-rw-r--r--meta/recipes-devtools/go/go/0004-make.bash-override-CC-when-building-dist-and-go_boot.patch6
-rw-r--r--meta/recipes-devtools/go/go/0005-cmd-dist-separate-host-and-target-builds.patch18
-rw-r--r--meta/recipes-devtools/go/go/0006-cmd-go-make-GOROOT-precious-by-default.patch22
-rw-r--r--meta/recipes-devtools/go/go/0007-exec.go-do-not-write-linker-flags-into-buildids.patch8
-rw-r--r--meta/recipes-devtools/go/go/0008-src-cmd-dist-buildgo.go-do-not-hardcode-host-compile.patch4
-rw-r--r--meta/recipes-devtools/go/go/0009-go-Filter-build-paths-on-staticly-linked-arches.patch10
-rw-r--r--meta/recipes-devtools/go/go_1.22.0.bb (renamed from meta/recipes-devtools/go/go_1.21.7.bb)0
18 files changed, 64 insertions, 64 deletions
diff --git a/meta/conf/distro/include/tcmode-default.inc b/meta/conf/distro/include/tcmode-default.inc
index cc303afda9..643394f3eb 100644
--- a/meta/conf/distro/include/tcmode-default.inc
+++ b/meta/conf/distro/include/tcmode-default.inc
@@ -23,7 +23,7 @@ GDBVERSION ?= "14.%"
23GLIBCVERSION ?= "2.39%" 23GLIBCVERSION ?= "2.39%"
24LINUXLIBCVERSION ?= "6.6%" 24LINUXLIBCVERSION ?= "6.6%"
25QEMUVERSION ?= "8.2%" 25QEMUVERSION ?= "8.2%"
26GOVERSION ?= "1.21%" 26GOVERSION ?= "1.22%"
27RUSTVERSION ?= "1.75%" 27RUSTVERSION ?= "1.75%"
28 28
29PREFERRED_VERSION_gcc ?= "${GCCVERSION}" 29PREFERRED_VERSION_gcc ?= "${GCCVERSION}"
diff --git a/meta/recipes-devtools/go/go-1.21.7.inc b/meta/recipes-devtools/go/go-1.22.0.inc
index 6de24e1e22..230ada5e4b 100644
--- a/meta/recipes-devtools/go/go-1.21.7.inc
+++ b/meta/recipes-devtools/go/go-1.22.0.inc
@@ -15,4 +15,4 @@ SRC_URI += "\
15 file://0008-src-cmd-dist-buildgo.go-do-not-hardcode-host-compile.patch \ 15 file://0008-src-cmd-dist-buildgo.go-do-not-hardcode-host-compile.patch \
16 file://0009-go-Filter-build-paths-on-staticly-linked-arches.patch \ 16 file://0009-go-Filter-build-paths-on-staticly-linked-arches.patch \
17" 17"
18SRC_URI[main.sha256sum] = "00197ab20f33813832bff62fd93cca1c42a08cc689a32a6672ca49591959bff6" 18SRC_URI[main.sha256sum] = "4d196c3d41a0d6c1dfc64d04e3cc1f608b0c436bd87b7060ce3e23234e1f4d5c"
diff --git a/meta/recipes-devtools/go/go-binary-native_1.21.7.bb b/meta/recipes-devtools/go/go-binary-native_1.22.0.bb
index 18779b18b6..acd2018dc3 100644
--- a/meta/recipes-devtools/go/go-binary-native_1.21.7.bb
+++ b/meta/recipes-devtools/go/go-binary-native_1.22.0.bb
@@ -9,9 +9,9 @@ PROVIDES = "go-native"
9 9
10# Checksums available at https://go.dev/dl/ 10# Checksums available at https://go.dev/dl/
11SRC_URI = "https://dl.google.com/go/go${PV}.${BUILD_GOOS}-${BUILD_GOARCH}.tar.gz;name=go_${BUILD_GOTUPLE}" 11SRC_URI = "https://dl.google.com/go/go${PV}.${BUILD_GOOS}-${BUILD_GOARCH}.tar.gz;name=go_${BUILD_GOTUPLE}"
12SRC_URI[go_linux_amd64.sha256sum] = "13b76a9b2a26823e53062fa841b07087d48ae2ef2936445dc34c4ae03293702c" 12SRC_URI[go_linux_amd64.sha256sum] = "f6c8a87aa03b92c4b0bf3d558e28ea03006eb29db78917daec5cfb6ec1046265"
13SRC_URI[go_linux_arm64.sha256sum] = "a9bc1ccedbfde059f25b3a2ad81ae4cdf21192ae207dfd3ccbbfe99c3749e233" 13SRC_URI[go_linux_arm64.sha256sum] = "6a63fef0e050146f275bf02a0896badfe77c11b6f05499bb647e7bd613a45a10"
14SRC_URI[go_linux_ppc64le.sha256sum] = "48a99ecce9b1e632870c29420088f61cf17a6f0c5bdb3cc821ff5c00e14b1a8a" 14SRC_URI[go_linux_ppc64le.sha256sum] = "0e57f421df9449066f00155ce98a5be93744b3d81b00ee4c2c9b511be2a31d93"
15 15
16UPSTREAM_CHECK_URI = "https://golang.org/dl/" 16UPSTREAM_CHECK_URI = "https://golang.org/dl/"
17UPSTREAM_CHECK_REGEX = "go(?P<pver>\d+(\.\d+)+)\.linux" 17UPSTREAM_CHECK_REGEX = "go(?P<pver>\d+(\.\d+)+)\.linux"
diff --git a/meta/recipes-devtools/go/go-cross-canadian_1.21.7.bb b/meta/recipes-devtools/go/go-cross-canadian_1.22.0.bb
index 7ac9449e47..7ac9449e47 100644
--- a/meta/recipes-devtools/go/go-cross-canadian_1.21.7.bb
+++ b/meta/recipes-devtools/go/go-cross-canadian_1.22.0.bb
diff --git a/meta/recipes-devtools/go/go-cross_1.21.7.bb b/meta/recipes-devtools/go/go-cross_1.22.0.bb
index 80b5a03f6c..80b5a03f6c 100644
--- a/meta/recipes-devtools/go/go-cross_1.21.7.bb
+++ b/meta/recipes-devtools/go/go-cross_1.22.0.bb
diff --git a/meta/recipes-devtools/go/go-crosssdk_1.21.7.bb b/meta/recipes-devtools/go/go-crosssdk_1.22.0.bb
index 1857c8a577..1857c8a577 100644
--- a/meta/recipes-devtools/go/go-crosssdk_1.21.7.bb
+++ b/meta/recipes-devtools/go/go-crosssdk_1.22.0.bb
diff --git a/meta/recipes-devtools/go/go-native_1.21.7.bb b/meta/recipes-devtools/go/go-native_1.22.0.bb
index ddf25b2c9b..ddf25b2c9b 100644
--- a/meta/recipes-devtools/go/go-native_1.21.7.bb
+++ b/meta/recipes-devtools/go/go-native_1.22.0.bb
diff --git a/meta/recipes-devtools/go/go-runtime_1.21.7.bb b/meta/recipes-devtools/go/go-runtime_1.22.0.bb
index 63464a1501..63464a1501 100644
--- a/meta/recipes-devtools/go/go-runtime_1.21.7.bb
+++ b/meta/recipes-devtools/go/go-runtime_1.22.0.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 3bd756449e..564837c7cd 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
@@ -32,7 +32,7 @@ Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
32 2 files changed, 36 insertions(+), 10 deletions(-) 32 2 files changed, 36 insertions(+), 10 deletions(-)
33 33
34diff --git a/src/cmd/go/internal/envcmd/env.go b/src/cmd/go/internal/envcmd/env.go 34diff --git a/src/cmd/go/internal/envcmd/env.go b/src/cmd/go/internal/envcmd/env.go
35index c7c2e83..4a90d9d 100644 35index c7c2e83e0f..4a90d9da5c 100644
36--- a/src/cmd/go/internal/envcmd/env.go 36--- a/src/cmd/go/internal/envcmd/env.go
37+++ b/src/cmd/go/internal/envcmd/env.go 37+++ b/src/cmd/go/internal/envcmd/env.go
38@@ -189,7 +189,7 @@ func ExtraEnvVarsCostly() []cfg.EnvVar { 38@@ -189,7 +189,7 @@ func ExtraEnvVarsCostly() []cfg.EnvVar {
@@ -45,10 +45,10 @@ index c7c2e83..4a90d9d 100644
45 // Should not happen - b.CFlags was given an empty package. 45 // Should not happen - b.CFlags was given an empty package.
46 fmt.Fprintf(os.Stderr, "go: invalid cflags: %v\n", err) 46 fmt.Fprintf(os.Stderr, "go: invalid cflags: %v\n", err)
47diff --git a/src/cmd/go/internal/work/exec.go b/src/cmd/go/internal/work/exec.go 47diff --git a/src/cmd/go/internal/work/exec.go b/src/cmd/go/internal/work/exec.go
48index 13d2a78..e3dd486 100644 48index e05471b06c..9724cd07d0 100644
49--- a/src/cmd/go/internal/work/exec.go 49--- a/src/cmd/go/internal/work/exec.go
50+++ b/src/cmd/go/internal/work/exec.go 50+++ b/src/cmd/go/internal/work/exec.go
51@@ -231,6 +231,8 @@ func (b *Builder) Do(ctx context.Context, root *Action) { 51@@ -232,6 +232,8 @@ func (b *Builder) Do(ctx context.Context, root *Action) {
52 writeActionGraph() 52 writeActionGraph()
53 } 53 }
54 54
@@ -57,7 +57,7 @@ index 13d2a78..e3dd486 100644
57 // buildActionID computes the action ID for a build action. 57 // buildActionID computes the action ID for a build action.
58 func (b *Builder) buildActionID(a *Action) cache.ActionID { 58 func (b *Builder) buildActionID(a *Action) cache.ActionID {
59 p := a.Package 59 p := a.Package
60@@ -252,7 +254,7 @@ func (b *Builder) buildActionID(a *Action) cache.ActionID { 60@@ -253,7 +255,7 @@ func (b *Builder) buildActionID(a *Action) cache.ActionID {
61 if p.Module != nil { 61 if p.Module != nil {
62 fmt.Fprintf(h, "module %s@%s\n", p.Module.Path, p.Module.Version) 62 fmt.Fprintf(h, "module %s@%s\n", p.Module.Path, p.Module.Version)
63 } 63 }
@@ -66,7 +66,7 @@ index 13d2a78..e3dd486 100644
66 // The Go compiler always hides the exact value of $GOROOT 66 // The Go compiler always hides the exact value of $GOROOT
67 // when building things in GOROOT. 67 // when building things in GOROOT.
68 // 68 //
69@@ -284,9 +286,9 @@ func (b *Builder) buildActionID(a *Action) cache.ActionID { 69@@ -285,9 +287,9 @@ func (b *Builder) buildActionID(a *Action) cache.ActionID {
70 } 70 }
71 if len(p.CgoFiles)+len(p.SwigFiles)+len(p.SwigCXXFiles) > 0 { 71 if len(p.CgoFiles)+len(p.SwigFiles)+len(p.SwigCXXFiles) > 0 {
72 fmt.Fprintf(h, "cgo %q\n", b.toolID("cgo")) 72 fmt.Fprintf(h, "cgo %q\n", b.toolID("cgo"))
@@ -78,7 +78,7 @@ index 13d2a78..e3dd486 100644
78 fmt.Fprintf(h, "CC=%q %q %q %q\n", ccExe, cppflags, cflags, ldflags) 78 fmt.Fprintf(h, "CC=%q %q %q %q\n", ccExe, cppflags, cflags, ldflags)
79 // Include the C compiler tool ID so that if the C 79 // Include the C compiler tool ID so that if the C
80 // compiler changes we rebuild the package. 80 // compiler changes we rebuild the package.
81@@ -294,14 +296,14 @@ func (b *Builder) buildActionID(a *Action) cache.ActionID { 81@@ -295,14 +297,14 @@ func (b *Builder) buildActionID(a *Action) cache.ActionID {
82 fmt.Fprintf(h, "CC ID=%q\n", ccID) 82 fmt.Fprintf(h, "CC ID=%q\n", ccID)
83 } 83 }
84 if len(p.CXXFiles)+len(p.SwigCXXFiles) > 0 { 84 if len(p.CXXFiles)+len(p.SwigCXXFiles) > 0 {
@@ -95,7 +95,7 @@ index 13d2a78..e3dd486 100644
95 fmt.Fprintf(h, "FC=%q %q\n", fcExe, fflags) 95 fmt.Fprintf(h, "FC=%q %q\n", fcExe, fflags)
96 if fcID, _, err := b.gccToolID(fcExe[0], "f95"); err == nil { 96 if fcID, _, err := b.gccToolID(fcExe[0], "f95"); err == nil {
97 fmt.Fprintf(h, "FC ID=%q\n", fcID) 97 fmt.Fprintf(h, "FC ID=%q\n", fcID)
98@@ -318,7 +320,7 @@ func (b *Builder) buildActionID(a *Action) cache.ActionID { 98@@ -319,7 +321,7 @@ func (b *Builder) buildActionID(a *Action) cache.ActionID {
99 } 99 }
100 } 100 }
101 if p.Internal.BuildInfo != nil { 101 if p.Internal.BuildInfo != nil {
@@ -104,7 +104,7 @@ index 13d2a78..e3dd486 100644
104 } 104 }
105 105
106 // Configuration specific to compiler toolchain. 106 // Configuration specific to compiler toolchain.
107@@ -3137,8 +3139,25 @@ func envList(key, def string) []string { 107@@ -2679,8 +2681,25 @@ func envList(key, def string) []string {
108 return args 108 return args
109 } 109 }
110 110
@@ -131,7 +131,7 @@ index 13d2a78..e3dd486 100644
131 if cppflags, err = buildFlags("CPPFLAGS", "", p.CgoCPPFLAGS, checkCompilerFlags); err != nil { 131 if cppflags, err = buildFlags("CPPFLAGS", "", p.CgoCPPFLAGS, checkCompilerFlags); err != nil {
132 return 132 return
133 } 133 }
134@@ -3154,6 +3173,13 @@ func (b *Builder) CFlags(p *load.Package) (cppflags, cflags, cxxflags, fflags, l 134@@ -2696,6 +2715,13 @@ func (b *Builder) CFlags(p *load.Package) (cppflags, cflags, cxxflags, fflags, l
135 if ldflags, err = buildFlags("LDFLAGS", defaultCFlags, p.CgoLDFLAGS, checkLinkerFlags); err != nil { 135 if ldflags, err = buildFlags("LDFLAGS", defaultCFlags, p.CgoLDFLAGS, checkLinkerFlags); err != nil {
136 return 136 return
137 } 137 }
@@ -145,24 +145,24 @@ index 13d2a78..e3dd486 100644
145 145
146 return 146 return
147 } 147 }
148@@ -3169,7 +3195,7 @@ var cgoRe = lazyregexp.New(`[/\\:]`) 148@@ -2713,7 +2739,7 @@ func (b *Builder) cgo(a *Action, cgoExe, objdir string, pcCFLAGS, pcLDFLAGS, cgo
149
150 func (b *Builder) cgo(a *Action, cgoExe, objdir string, pcCFLAGS, pcLDFLAGS, cgofiles, gccfiles, gxxfiles, mfiles, ffiles []string) (outGo, outObj []string, err error) {
151 p := a.Package 149 p := a.Package
150 sh := b.Shell(a)
151
152- cgoCPPFLAGS, cgoCFLAGS, cgoCXXFLAGS, cgoFFLAGS, cgoLDFLAGS, err := b.CFlags(p) 152- cgoCPPFLAGS, cgoCFLAGS, cgoCXXFLAGS, cgoFFLAGS, cgoLDFLAGS, err := b.CFlags(p)
153+ cgoCPPFLAGS, cgoCFLAGS, cgoCXXFLAGS, cgoFFLAGS, cgoLDFLAGS, err := b.CFlags(p, false) 153+ cgoCPPFLAGS, cgoCFLAGS, cgoCXXFLAGS, cgoFFLAGS, cgoLDFLAGS, err := b.CFlags(p, false)
154 if err != nil { 154 if err != nil {
155 return nil, nil, err 155 return nil, nil, err
156 } 156 }
157@@ -3725,7 +3751,7 @@ func (b *Builder) swigIntSize(objdir string) (intsize string, err error) { 157@@ -3268,7 +3294,7 @@ func (b *Builder) swigOne(a *Action, file, objdir string, pcCFLAGS []string, cxx
158 p := a.Package
159 sh := b.Shell(a)
158 160
159 // Run SWIG on one SWIG input file.
160 func (b *Builder) swigOne(a *Action, p *load.Package, file, objdir string, pcCFLAGS []string, cxx bool, intgosize string) (outGo, outC string, err error) {
161- cgoCPPFLAGS, cgoCFLAGS, cgoCXXFLAGS, _, _, err := b.CFlags(p) 161- cgoCPPFLAGS, cgoCFLAGS, cgoCXXFLAGS, _, _, err := b.CFlags(p)
162+ cgoCPPFLAGS, cgoCFLAGS, cgoCXXFLAGS, _, _, err := b.CFlags(p, false) 162+ cgoCPPFLAGS, cgoCFLAGS, cgoCXXFLAGS, _, _, err := b.CFlags(p, false)
163 if err != nil { 163 if err != nil {
164 return "", "", err 164 return "", "", err
165 } 165 }
166-- 166--
1672.43.0 1672.44.0
168 168
diff --git a/meta/recipes-devtools/go/go/0002-cmd-go-Allow-GOTOOLDIR-to-be-overridden-in-the-envir.patch b/meta/recipes-devtools/go/go/0002-cmd-go-Allow-GOTOOLDIR-to-be-overridden-in-the-envir.patch
index 6d1a02e6c0..001c94a4e7 100644
--- a/meta/recipes-devtools/go/go/0002-cmd-go-Allow-GOTOOLDIR-to-be-overridden-in-the-envir.patch
+++ b/meta/recipes-devtools/go/go/0002-cmd-go-Allow-GOTOOLDIR-to-be-overridden-in-the-envir.patch
@@ -20,7 +20,7 @@ Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
20 2 files changed, 8 insertions(+), 2 deletions(-) 20 2 files changed, 8 insertions(+), 2 deletions(-)
21 21
22diff --git a/src/cmd/dist/build.go b/src/cmd/dist/build.go 22diff --git a/src/cmd/dist/build.go b/src/cmd/dist/build.go
23index 8973a87..adc9fd2 100644 23index 32e59b446a..06ee4de8a9 100644
24--- a/src/cmd/dist/build.go 24--- a/src/cmd/dist/build.go
25+++ b/src/cmd/dist/build.go 25+++ b/src/cmd/dist/build.go
26@@ -259,7 +259,9 @@ func xinit() { 26@@ -259,7 +259,9 @@ func xinit() {
@@ -35,10 +35,10 @@ index 8973a87..adc9fd2 100644
35 goversion := findgoversion() 35 goversion := findgoversion()
36 isRelease = strings.HasPrefix(goversion, "release.") || strings.HasPrefix(goversion, "go") 36 isRelease = strings.HasPrefix(goversion, "release.") || strings.HasPrefix(goversion, "go")
37diff --git a/src/cmd/go/internal/cfg/cfg.go b/src/cmd/go/internal/cfg/cfg.go 37diff --git a/src/cmd/go/internal/cfg/cfg.go b/src/cmd/go/internal/cfg/cfg.go
38index 8caa22a..0c322fb 100644 38index a8daa2dfc3..393ada39c9 100644
39--- a/src/cmd/go/internal/cfg/cfg.go 39--- a/src/cmd/go/internal/cfg/cfg.go
40+++ b/src/cmd/go/internal/cfg/cfg.go 40+++ b/src/cmd/go/internal/cfg/cfg.go
41@@ -231,7 +231,11 @@ func SetGOROOT(goroot string, isTestGo bool) { 41@@ -230,7 +230,11 @@ func SetGOROOT(goroot string, isTestGo bool) {
42 // This matches the initialization of ToolDir in go/build, except for 42 // This matches the initialization of ToolDir in go/build, except for
43 // using ctxt.GOROOT and the installed GOOS and GOARCH rather than the 43 // using ctxt.GOROOT and the installed GOOS and GOARCH rather than the
44 // GOROOT, GOOS, and GOARCH reported by the runtime package. 44 // GOROOT, GOOS, and GOARCH reported by the runtime package.
@@ -52,5 +52,5 @@ index 8caa22a..0c322fb 100644
52 } 52 }
53 } 53 }
54-- 54--
552.43.0 552.44.0
56 56
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 d0cd8d244e..9cab2969c8 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
@@ -19,10 +19,10 @@ Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
19 1 file changed, 3 insertions(+) 19 1 file changed, 3 insertions(+)
20 20
21diff --git a/src/cmd/link/internal/ld/lib.go b/src/cmd/link/internal/ld/lib.go 21diff --git a/src/cmd/link/internal/ld/lib.go b/src/cmd/link/internal/ld/lib.go
22index 5e5d255..459e9dc 100644 22index eab74dc328..ae9bbc9093 100644
23--- a/src/cmd/link/internal/ld/lib.go 23--- a/src/cmd/link/internal/ld/lib.go
24+++ b/src/cmd/link/internal/ld/lib.go 24+++ b/src/cmd/link/internal/ld/lib.go
25@@ -1563,6 +1563,7 @@ func (ctxt *Link) hostlink() { 25@@ -1576,6 +1576,7 @@ func (ctxt *Link) hostlink() {
26 argv = append(argv, "-Wl,-z,relro") 26 argv = append(argv, "-Wl,-z,relro")
27 } 27 }
28 argv = append(argv, "-shared") 28 argv = append(argv, "-shared")
@@ -30,7 +30,7 @@ index 5e5d255..459e9dc 100644
30 if ctxt.HeadType == objabi.Hwindows { 30 if ctxt.HeadType == objabi.Hwindows {
31 argv = addASLRargs(argv, *flagAslr) 31 argv = addASLRargs(argv, *flagAslr)
32 } else { 32 } else {
33@@ -1578,6 +1579,7 @@ func (ctxt *Link) hostlink() { 33@@ -1591,6 +1592,7 @@ func (ctxt *Link) hostlink() {
34 argv = append(argv, "-Wl,-z,relro") 34 argv = append(argv, "-Wl,-z,relro")
35 } 35 }
36 argv = append(argv, "-shared") 36 argv = append(argv, "-shared")
@@ -38,7 +38,7 @@ index 5e5d255..459e9dc 100644
38 case BuildModePlugin: 38 case BuildModePlugin:
39 if ctxt.HeadType == objabi.Hdarwin { 39 if ctxt.HeadType == objabi.Hdarwin {
40 argv = append(argv, "-dynamiclib") 40 argv = append(argv, "-dynamiclib")
41@@ -1586,6 +1588,7 @@ func (ctxt *Link) hostlink() { 41@@ -1599,6 +1601,7 @@ func (ctxt *Link) hostlink() {
42 argv = append(argv, "-Wl,-z,relro") 42 argv = append(argv, "-Wl,-z,relro")
43 } 43 }
44 argv = append(argv, "-shared") 44 argv = append(argv, "-shared")
@@ -47,5 +47,5 @@ index 5e5d255..459e9dc 100644
47 } 47 }
48 48
49-- 49--
502.30.2 502.44.0
51 51
diff --git a/meta/recipes-devtools/go/go/0004-make.bash-override-CC-when-building-dist-and-go_boot.patch b/meta/recipes-devtools/go/go/0004-make.bash-override-CC-when-building-dist-and-go_boot.patch
index 5dd2621adc..8889aef1cf 100644
--- a/meta/recipes-devtools/go/go/0004-make.bash-override-CC-when-building-dist-and-go_boot.patch
+++ b/meta/recipes-devtools/go/go/0004-make.bash-override-CC-when-building-dist-and-go_boot.patch
@@ -19,10 +19,10 @@ Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
19 1 file changed, 2 insertions(+), 2 deletions(-) 19 1 file changed, 2 insertions(+), 2 deletions(-)
20 20
21diff --git a/src/make.bash b/src/make.bash 21diff --git a/src/make.bash b/src/make.bash
22index 755b3b0..eddfc3c 100755 22index 76ad51624a..074e129a24 100755
23--- a/src/make.bash 23--- a/src/make.bash
24+++ b/src/make.bash 24+++ b/src/make.bash
25@@ -198,7 +198,7 @@ if [ "$GOROOT_BOOTSTRAP" = "$GOROOT" ]; then 25@@ -198,7 +198,7 @@ if [[ "$GOROOT_BOOTSTRAP" == "$GOROOT" ]]; then
26 exit 1 26 exit 1
27 fi 27 fi
28 rm -f cmd/dist/dist 28 rm -f cmd/dist/dist
@@ -41,5 +41,5 @@ index 755b3b0..eddfc3c 100755
41 41
42 # DO NOT ADD ANY NEW CODE HERE. 42 # DO NOT ADD ANY NEW CODE HERE.
43-- 43--
442.43.0 442.44.0
45 45
diff --git a/meta/recipes-devtools/go/go/0005-cmd-dist-separate-host-and-target-builds.patch b/meta/recipes-devtools/go/go/0005-cmd-dist-separate-host-and-target-builds.patch
index f8dca65ed4..02269be969 100644
--- a/meta/recipes-devtools/go/go/0005-cmd-dist-separate-host-and-target-builds.patch
+++ b/meta/recipes-devtools/go/go/0005-cmd-dist-separate-host-and-target-builds.patch
@@ -44,7 +44,7 @@ Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
44 1 file changed, 75 insertions(+), 1 deletion(-) 44 1 file changed, 75 insertions(+), 1 deletion(-)
45 45
46diff --git a/src/cmd/dist/build.go b/src/cmd/dist/build.go 46diff --git a/src/cmd/dist/build.go b/src/cmd/dist/build.go
47index adc9fd2..5fff592 100644 47index 06ee4de8a9..74b7c7098f 100644
48--- a/src/cmd/dist/build.go 48--- a/src/cmd/dist/build.go
49+++ b/src/cmd/dist/build.go 49+++ b/src/cmd/dist/build.go
50@@ -46,6 +46,7 @@ var ( 50@@ -46,6 +46,7 @@ var (
@@ -83,7 +83,7 @@ index adc9fd2..5fff592 100644
83 xatexit(func() { 83 xatexit(func() {
84 if files := xreaddir(goosGoarch); len(files) == 0 { 84 if files := xreaddir(goosGoarch); len(files) == 0 {
85 xremove(goosGoarch) 85 xremove(goosGoarch)
86@@ -1344,14 +1350,20 @@ func cmdbootstrap() { 86@@ -1338,14 +1344,20 @@ func cmdbootstrap() {
87 defer timelog("end", "dist bootstrap") 87 defer timelog("end", "dist bootstrap")
88 88
89 var debug, distpack, force, noBanner, noClean bool 89 var debug, distpack, force, noBanner, noClean bool
@@ -105,7 +105,7 @@ index adc9fd2..5fff592 100644
105 105
106 if noClean { 106 if noClean {
107 xprintf("warning: --no-clean is deprecated and has no effect; use 'go install std cmd' instead\n") 107 xprintf("warning: --no-clean is deprecated and has no effect; use 'go install std cmd' instead\n")
108@@ -1363,6 +1375,18 @@ func cmdbootstrap() { 108@@ -1357,6 +1369,18 @@ func cmdbootstrap() {
109 "Use the -force flag to build anyway.\n", goos, goarch) 109 "Use the -force flag to build anyway.\n", goos, goarch)
110 } 110 }
111 111
@@ -124,7 +124,7 @@ index adc9fd2..5fff592 100644
124 // Set GOPATH to an internal directory. We shouldn't actually 124 // Set GOPATH to an internal directory. We shouldn't actually
125 // need to store files here, since the toolchain won't 125 // need to store files here, since the toolchain won't
126 // depend on modules outside of vendor directories, but if 126 // depend on modules outside of vendor directories, but if
127@@ -1440,9 +1464,14 @@ func cmdbootstrap() { 127@@ -1434,9 +1458,14 @@ func cmdbootstrap() {
128 xprintf("\n") 128 xprintf("\n")
129 } 129 }
130 130
@@ -139,7 +139,7 @@ index adc9fd2..5fff592 100644
139 goBootstrap := pathf("%s/go_bootstrap", tooldir) 139 goBootstrap := pathf("%s/go_bootstrap", tooldir)
140 if debug { 140 if debug {
141 run("", ShowOutput|CheckExit, pathf("%s/compile", tooldir), "-V=full") 141 run("", ShowOutput|CheckExit, pathf("%s/compile", tooldir), "-V=full")
142@@ -1470,7 +1499,11 @@ func cmdbootstrap() { 142@@ -1464,7 +1493,11 @@ func cmdbootstrap() {
143 xprintf("\n") 143 xprintf("\n")
144 } 144 }
145 xprintf("Building Go toolchain2 using go_bootstrap and Go toolchain1.\n") 145 xprintf("Building Go toolchain2 using go_bootstrap and Go toolchain1.\n")
@@ -151,7 +151,7 @@ index adc9fd2..5fff592 100644
151 // Now that cmd/go is in charge of the build process, enable GOEXPERIMENT. 151 // Now that cmd/go is in charge of the build process, enable GOEXPERIMENT.
152 os.Setenv("GOEXPERIMENT", goexperiment) 152 os.Setenv("GOEXPERIMENT", goexperiment)
153 // No need to enable PGO for toolchain2. 153 // No need to enable PGO for toolchain2.
154@@ -1523,6 +1556,7 @@ func cmdbootstrap() { 154@@ -1517,6 +1550,7 @@ func cmdbootstrap() {
155 os.Setenv("GOCACHE", oldgocache) 155 os.Setenv("GOCACHE", oldgocache)
156 } 156 }
157 157
@@ -159,7 +159,7 @@ index adc9fd2..5fff592 100644
159 if goos == oldgoos && goarch == oldgoarch { 159 if goos == oldgoos && goarch == oldgoarch {
160 // Common case - not setting up for cross-compilation. 160 // Common case - not setting up for cross-compilation.
161 timelog("build", "toolchain") 161 timelog("build", "toolchain")
162@@ -1566,6 +1600,42 @@ func cmdbootstrap() { 162@@ -1560,6 +1594,42 @@ func cmdbootstrap() {
163 checkNotStale(toolenv(), goBootstrap, toolchain...) 163 checkNotStale(toolenv(), goBootstrap, toolchain...)
164 copyfile(pathf("%s/compile4", tooldir), pathf("%s/compile", tooldir), writeExec) 164 copyfile(pathf("%s/compile4", tooldir), pathf("%s/compile", tooldir), writeExec)
165 } 165 }
@@ -202,7 +202,7 @@ index adc9fd2..5fff592 100644
202 202
203 // Check that there are no new files in $GOROOT/bin other than 203 // Check that there are no new files in $GOROOT/bin other than
204 // go and gofmt and $GOOS_$GOARCH (target bin when cross-compiling). 204 // go and gofmt and $GOOS_$GOARCH (target bin when cross-compiling).
205@@ -1585,8 +1655,12 @@ func cmdbootstrap() { 205@@ -1582,8 +1652,12 @@ func cmdbootstrap() {
206 } 206 }
207 } 207 }
208 208
@@ -216,5 +216,5 @@ index adc9fd2..5fff592 100644
216 if goos == "android" { 216 if goos == "android" {
217 // Make sure the exec wrapper will sync a fresh $GOROOT to the device. 217 // Make sure the exec wrapper will sync a fresh $GOROOT to the device.
218-- 218--
2192.43.0 2192.44.0
220 220
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 d118e726c6..262f1e96b8 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
@@ -29,10 +29,10 @@ Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
29 3 files changed, 34 insertions(+) 29 3 files changed, 34 insertions(+)
30 30
31diff --git a/src/cmd/go/internal/work/action.go b/src/cmd/go/internal/work/action.go 31diff --git a/src/cmd/go/internal/work/action.go b/src/cmd/go/internal/work/action.go
32index d4d0a71..42149d2 100644 32index a59072e591..9e35ebde0c 100644
33--- a/src/cmd/go/internal/work/action.go 33--- a/src/cmd/go/internal/work/action.go
34+++ b/src/cmd/go/internal/work/action.go 34+++ b/src/cmd/go/internal/work/action.go
35@@ -730,6 +730,9 @@ func (b *Builder) addTransitiveLinkDeps(a, a1 *Action, shlib string) { 35@@ -754,6 +754,9 @@ func (b *Builder) addTransitiveLinkDeps(a, a1 *Action, shlib string) {
36 if p1 == nil || p1.Shlib == "" || haveShlib[filepath.Base(p1.Shlib)] { 36 if p1 == nil || p1.Shlib == "" || haveShlib[filepath.Base(p1.Shlib)] {
37 continue 37 continue
38 } 38 }
@@ -43,10 +43,10 @@ index d4d0a71..42149d2 100644
43 // TODO(rsc): The use of ModeInstall here is suspect, but if we only do ModeBuild, 43 // TODO(rsc): The use of ModeInstall here is suspect, but if we only do ModeBuild,
44 // we'll end up building an overall library or executable that depends at runtime 44 // we'll end up building an overall library or executable that depends at runtime
45diff --git a/src/cmd/go/internal/work/build.go b/src/cmd/go/internal/work/build.go 45diff --git a/src/cmd/go/internal/work/build.go b/src/cmd/go/internal/work/build.go
46index e2e0e07..1c84137 100644 46index 408edb5119..3d60252127 100644
47--- a/src/cmd/go/internal/work/build.go 47--- a/src/cmd/go/internal/work/build.go
48+++ b/src/cmd/go/internal/work/build.go 48+++ b/src/cmd/go/internal/work/build.go
49@@ -228,6 +228,8 @@ See also: go install, go get, go clean. 49@@ -233,6 +233,8 @@ See also: go install, go get, go clean.
50 50
51 const concurrentGCBackendCompilationEnabledByDefault = true 51 const concurrentGCBackendCompilationEnabledByDefault = true
52 52
@@ -55,7 +55,7 @@ index e2e0e07..1c84137 100644
55 func init() { 55 func init() {
56 // break init cycle 56 // break init cycle
57 CmdBuild.Run = runBuild 57 CmdBuild.Run = runBuild
58@@ -241,6 +243,10 @@ func init() { 58@@ -246,6 +248,10 @@ func init() {
59 AddCoverFlags(CmdBuild, nil) 59 AddCoverFlags(CmdBuild, nil)
60 AddCoverFlags(CmdInstall, nil) 60 AddCoverFlags(CmdInstall, nil)
61 } 61 }
@@ -67,10 +67,10 @@ index e2e0e07..1c84137 100644
67 67
68 // Note that flags consulted by other parts of the code 68 // Note that flags consulted by other parts of the code
69diff --git a/src/cmd/go/internal/work/exec.go b/src/cmd/go/internal/work/exec.go 69diff --git a/src/cmd/go/internal/work/exec.go b/src/cmd/go/internal/work/exec.go
70index e3dd486..0ea5316 100644 70index 9724cd07d0..544df461a2 100644
71--- a/src/cmd/go/internal/work/exec.go 71--- a/src/cmd/go/internal/work/exec.go
72+++ b/src/cmd/go/internal/work/exec.go 72+++ b/src/cmd/go/internal/work/exec.go
73@@ -539,6 +539,23 @@ func (b *Builder) build(ctx context.Context, a *Action) (err error) { 73@@ -544,6 +544,23 @@ func (b *Builder) build(ctx context.Context, a *Action) (err error) {
74 return err 74 return err
75 } 75 }
76 76
@@ -91,10 +91,10 @@ index e3dd486..0ea5316 100644
91+ } 91+ }
92+ } 92+ }
93+ 93+
94 if err := b.Mkdir(a.Objdir); err != nil { 94 if err := sh.Mkdir(a.Objdir); err != nil {
95 return err 95 return err
96 } 96 }
97@@ -1722,6 +1739,14 @@ func (b *Builder) linkShared(ctx context.Context, a *Action) (err error) { 97@@ -1737,6 +1754,14 @@ func (b *Builder) linkShared(ctx context.Context, a *Action) (err error) {
98 return err 98 return err
99 } 99 }
100 100
@@ -106,9 +106,9 @@ index e3dd486..0ea5316 100644
106+ } 106+ }
107+ } 107+ }
108+ 108+
109 if err := b.Mkdir(a.Objdir); err != nil { 109 if err := b.Shell(a).Mkdir(a.Objdir); err != nil {
110 return err 110 return err
111 } 111 }
112-- 112--
1132.43.0 1132.44.0
114 114
diff --git a/meta/recipes-devtools/go/go/0007-exec.go-do-not-write-linker-flags-into-buildids.patch b/meta/recipes-devtools/go/go/0007-exec.go-do-not-write-linker-flags-into-buildids.patch
index 3e0ba35d81..35f3a98d80 100644
--- a/meta/recipes-devtools/go/go/0007-exec.go-do-not-write-linker-flags-into-buildids.patch
+++ b/meta/recipes-devtools/go/go/0007-exec.go-do-not-write-linker-flags-into-buildids.patch
@@ -17,10 +17,10 @@ Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
17 1 file changed, 2 insertions(+), 2 deletions(-) 17 1 file changed, 2 insertions(+), 2 deletions(-)
18 18
19diff --git a/src/cmd/go/internal/work/exec.go b/src/cmd/go/internal/work/exec.go 19diff --git a/src/cmd/go/internal/work/exec.go b/src/cmd/go/internal/work/exec.go
20index 0ea5316..d7e2d51 100644 20index 544df461a2..75df5a4aa8 100644
21--- a/src/cmd/go/internal/work/exec.go 21--- a/src/cmd/go/internal/work/exec.go
22+++ b/src/cmd/go/internal/work/exec.go 22+++ b/src/cmd/go/internal/work/exec.go
23@@ -1357,7 +1357,7 @@ func (b *Builder) linkActionID(a *Action) cache.ActionID { 23@@ -1374,7 +1374,7 @@ func (b *Builder) linkActionID(a *Action) cache.ActionID {
24 } 24 }
25 25
26 // Toolchain-dependent configuration, shared with b.linkSharedActionID. 26 // Toolchain-dependent configuration, shared with b.linkSharedActionID.
@@ -29,7 +29,7 @@ index 0ea5316..d7e2d51 100644
29 29
30 // Input files. 30 // Input files.
31 for _, a1 := range a.Deps { 31 for _, a1 := range a.Deps {
32@@ -1705,7 +1705,7 @@ func (b *Builder) linkSharedActionID(a *Action) cache.ActionID { 32@@ -1720,7 +1720,7 @@ func (b *Builder) linkSharedActionID(a *Action) cache.ActionID {
33 fmt.Fprintf(h, "goos %s goarch %s\n", cfg.Goos, cfg.Goarch) 33 fmt.Fprintf(h, "goos %s goarch %s\n", cfg.Goos, cfg.Goarch)
34 34
35 // Toolchain-dependent configuration, shared with b.linkActionID. 35 // Toolchain-dependent configuration, shared with b.linkActionID.
@@ -39,5 +39,5 @@ index 0ea5316..d7e2d51 100644
39 // Input files. 39 // Input files.
40 for _, a1 := range a.Deps { 40 for _, a1 := range a.Deps {
41-- 41--
422.43.0 422.44.0
43 43
diff --git a/meta/recipes-devtools/go/go/0008-src-cmd-dist-buildgo.go-do-not-hardcode-host-compile.patch b/meta/recipes-devtools/go/go/0008-src-cmd-dist-buildgo.go-do-not-hardcode-host-compile.patch
index 58512207a8..0662f66af5 100644
--- a/meta/recipes-devtools/go/go/0008-src-cmd-dist-buildgo.go-do-not-hardcode-host-compile.patch
+++ b/meta/recipes-devtools/go/go/0008-src-cmd-dist-buildgo.go-do-not-hardcode-host-compile.patch
@@ -16,7 +16,7 @@ Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
16 1 file changed, 4 insertions(+), 4 deletions(-) 16 1 file changed, 4 insertions(+), 4 deletions(-)
17 17
18diff --git a/src/cmd/dist/buildgo.go b/src/cmd/dist/buildgo.go 18diff --git a/src/cmd/dist/buildgo.go b/src/cmd/dist/buildgo.go
19index 884e9d7..2f52eda 100644 19index 884e9d729a..2f52edacfe 100644
20--- a/src/cmd/dist/buildgo.go 20--- a/src/cmd/dist/buildgo.go
21+++ b/src/cmd/dist/buildgo.go 21+++ b/src/cmd/dist/buildgo.go
22@@ -51,8 +51,8 @@ func mkzdefaultcc(dir, file string) { 22@@ -51,8 +51,8 @@ func mkzdefaultcc(dir, file string) {
@@ -42,5 +42,5 @@ index 884e9d7..2f52eda 100644
42 } 42 }
43 43
44-- 44--
452.43.0 452.44.0
46 46
diff --git a/meta/recipes-devtools/go/go/0009-go-Filter-build-paths-on-staticly-linked-arches.patch b/meta/recipes-devtools/go/go/0009-go-Filter-build-paths-on-staticly-linked-arches.patch
index 597a4e2104..cc45496e9c 100644
--- a/meta/recipes-devtools/go/go/0009-go-Filter-build-paths-on-staticly-linked-arches.patch
+++ b/meta/recipes-devtools/go/go/0009-go-Filter-build-paths-on-staticly-linked-arches.patch
@@ -17,10 +17,10 @@ Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
17 1 file changed, 13 insertions(+), 2 deletions(-) 17 1 file changed, 13 insertions(+), 2 deletions(-)
18 18
19diff --git a/src/cmd/go/internal/load/pkg.go b/src/cmd/go/internal/load/pkg.go 19diff --git a/src/cmd/go/internal/load/pkg.go b/src/cmd/go/internal/load/pkg.go
20index c0e6265..b199fee 100644 20index 1549800afb..f41fb2c4ef 100644
21--- a/src/cmd/go/internal/load/pkg.go 21--- a/src/cmd/go/internal/load/pkg.go
22+++ b/src/cmd/go/internal/load/pkg.go 22+++ b/src/cmd/go/internal/load/pkg.go
23@@ -2269,6 +2269,17 @@ func appendBuildSetting(info *debug.BuildInfo, key, value string) { 23@@ -2277,6 +2277,17 @@ func appendBuildSetting(info *debug.BuildInfo, key, value string) {
24 info.Settings = append(info.Settings, debug.BuildSetting{Key: key, Value: value}) 24 info.Settings = append(info.Settings, debug.BuildSetting{Key: key, Value: value})
25 } 25 }
26 26
@@ -38,7 +38,7 @@ index c0e6265..b199fee 100644
38 // setBuildInfo gathers build information and sets it into 38 // setBuildInfo gathers build information and sets it into
39 // p.Internal.BuildInfo, which will later be formatted as a string and embedded 39 // p.Internal.BuildInfo, which will later be formatted as a string and embedded
40 // in the binary. setBuildInfo should only be called on a main package with no 40 // in the binary. setBuildInfo should only be called on a main package with no
41@@ -2376,7 +2387,7 @@ func (p *Package) setBuildInfo(ctx context.Context, autoVCS bool) { 41@@ -2384,7 +2395,7 @@ func (p *Package) setBuildInfo(ctx context.Context, autoVCS bool) {
42 if gcflags := BuildGcflags.String(); gcflags != "" && cfg.BuildContext.Compiler == "gc" { 42 if gcflags := BuildGcflags.String(); gcflags != "" && cfg.BuildContext.Compiler == "gc" {
43 appendSetting("-gcflags", gcflags) 43 appendSetting("-gcflags", gcflags)
44 } 44 }
@@ -47,7 +47,7 @@ index c0e6265..b199fee 100644
47 // https://go.dev/issue/52372: only include ldflags if -trimpath is not set, 47 // https://go.dev/issue/52372: only include ldflags if -trimpath is not set,
48 // since it can include system paths through various linker flags (notably 48 // since it can include system paths through various linker flags (notably
49 // -extar, -extld, and -extldflags). 49 // -extar, -extld, and -extldflags).
50@@ -2419,7 +2430,7 @@ func (p *Package) setBuildInfo(ctx context.Context, autoVCS bool) { 50@@ -2427,7 +2438,7 @@ func (p *Package) setBuildInfo(ctx context.Context, autoVCS bool) {
51 // subset of flags that are known not to be paths? 51 // subset of flags that are known not to be paths?
52 if cfg.BuildContext.CgoEnabled && !cfg.BuildTrimpath { 52 if cfg.BuildContext.CgoEnabled && !cfg.BuildTrimpath {
53 for _, name := range []string{"CGO_CFLAGS", "CGO_CPPFLAGS", "CGO_CXXFLAGS", "CGO_LDFLAGS"} { 53 for _, name := range []string{"CGO_CFLAGS", "CGO_CPPFLAGS", "CGO_CXXFLAGS", "CGO_LDFLAGS"} {
@@ -57,5 +57,5 @@ index c0e6265..b199fee 100644
57 } 57 }
58 appendSetting("GOARCH", cfg.BuildContext.GOARCH) 58 appendSetting("GOARCH", cfg.BuildContext.GOARCH)
59-- 59--
602.43.0 602.44.0
61 61
diff --git a/meta/recipes-devtools/go/go_1.21.7.bb b/meta/recipes-devtools/go/go_1.22.0.bb
index 46f5fbc6be..46f5fbc6be 100644
--- a/meta/recipes-devtools/go/go_1.21.7.bb
+++ b/meta/recipes-devtools/go/go_1.22.0.bb