public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/golang] f43: Update Fedora 43 to Go 1.26.7
Date: Tue, 25 Aug 2026 12:27:18 GMT	[thread overview]
Message-ID: <178766083830.1.5537034751803766152.rpms-golang-bff2c5fa742d@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/golang
            Branch : f43
            Commit : bff2c5fa742dfcabb13df7f8ec75fe80edf0a474
            Author : Álex Sáez <asm@redhat.com>
            Date   : 2026-08-25T12:15:20+02:00
            Stats  : +8/-167 in 4 file(s)
            URL    : https://src.fedoraproject.org/rpms/golang/c/bff2c5fa742dfcabb13df7f8ec75fe80edf0a474?branch=f43

            Log:
            Update Fedora 43 to Go 1.26.7

Reference: https://forge.fedoraproject.org/fesco/docs/src/branch/main/fesco/modules/ROOT/pages/Updates_Policy.adoc#golang

---
diff --git a/.gitignore b/.gitignore
index cf0a96c..0fd434c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -182,3 +182,4 @@
 /go1.25.12.src.tar.gz
 /go1.25.13.src.tar.gz
 /go1.25.14.src.tar.gz
+/go1.26.7.src.tar.gz

diff --git a/fix-ppc64le-maddld.patch b/fix-ppc64le-maddld.patch
deleted file mode 100644
index 3f43500..0000000
--- a/fix-ppc64le-maddld.patch
+++ /dev/null
@@ -1,158 +0,0 @@
-From 81afd3a59be1a3f343bf2b9d6665cd0fc825c6ba Mon Sep 17 00:00:00 2001
-From: Jorropo <jorropo.pgm@gmail.com>
-Date: Tue, 28 Oct 2025 10:11:03 +0100
-Subject: [PATCH] cmd/compile: extend ppc64 MADDLD to match const ADDconst &
- MULLDconst
-
-Fixes #76084
-
-I was focused on restoring the old behavior and fixing the failing
-test/codegen/arithmetic.go:MergeMuls2 test.
-
-It is probable this same bug hides elsewhere in this file.
-
-Change-Id: I17f2ee6b97a1e33b8132648d9d750749d006f7e0
-Reviewed-on: https://go-review.googlesource.com/c/go/+/715560
-Reviewed-by: Keith Randall <khr@golang.org>
-Reviewed-by: Keith Randall <khr@google.com>
-Reviewed-by: Paul Murphy <paumurph@redhat.com>
-Reviewed-by: Michael Knyszek <mknyszek@google.com>
-Auto-Submit: Jorropo <jorropo.pgm@gmail.com>
-LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
-Reviewed-by: Jayanth Krishnamurthy <jayanth.krishnamurthy@ibm.com>
----
- src/cmd/compile/internal/ssa/_gen/PPC64.rules |  5 +-
- src/cmd/compile/internal/ssa/rewritePPC64.go  | 79 ++++++++++++++++++-
- 2 files changed, 79 insertions(+), 5 deletions(-)
-
-diff --git a/src/cmd/compile/internal/ssa/_gen/PPC64.rules b/src/cmd/compile/internal/ssa/_gen/PPC64.rules
-index f5e381ac41..b5e8d81da2 100644
---- a/src/cmd/compile/internal/ssa/_gen/PPC64.rules
-+++ b/src/cmd/compile/internal/ssa/_gen/PPC64.rules
-@@ -18,7 +18,10 @@
- (Max(32|64)F x y) && buildcfg.GOPPC64 >= 9 => (XSMAXJDP x y)
- 
- // Combine 64 bit integer multiply and adds
--(ADD l:(MULLD x y) z) && buildcfg.GOPPC64 >= 9 && l.Uses == 1 && clobber(l) => (MADDLD x y z)
-+(ADD            z  l:(MULLD            x  y)) && buildcfg.GOPPC64 >= 9 && l.Uses == 1 && clobber(l) => (MADDLD                        x    y                        z   )
-+(ADD            z  l:(MULLDconst <mt> [x] y)) && buildcfg.GOPPC64 >= 9 && l.Uses == 1 && clobber(l) => (MADDLD (MOVDconst <mt> [int64(x)]) y                        z   )
-+(ADDconst <at> [z] l:(MULLD            x  y)) && buildcfg.GOPPC64 >= 9 && l.Uses == 1 && clobber(l) => (MADDLD                        x    y (MOVDconst <at> [int64(z)]))
-+(ADDconst <at> [z] l:(MULLDconst <mt> [x] y)) && buildcfg.GOPPC64 >= 9 && l.Uses == 1 && clobber(l) => (MADDLD (MOVDconst <mt> [int64(x)]) y (MOVDconst <at> [int64(z)]))
- 
- (Mod16 x y) => (Mod32 (SignExt16to32 x) (SignExt16to32 y))
- (Mod16u x y) => (Mod32u (ZeroExt16to32 x) (ZeroExt16to32 y))
-diff --git a/src/cmd/compile/internal/ssa/rewritePPC64.go b/src/cmd/compile/internal/ssa/rewritePPC64.go
-index 050ace83de..2225aee975 100644
---- a/src/cmd/compile/internal/ssa/rewritePPC64.go
-+++ b/src/cmd/compile/internal/ssa/rewritePPC64.go
-@@ -4125,18 +4125,19 @@ func rewriteValuePPC64_OpOffPtr(v *Value) bool {
- func rewriteValuePPC64_OpPPC64ADD(v *Value) bool {
- 	v_1 := v.Args[1]
- 	v_0 := v.Args[0]
--	// match: (ADD l:(MULLD x y) z)
-+	b := v.Block
-+	// match: (ADD z l:(MULLD x y))
- 	// cond: buildcfg.GOPPC64 >= 9 && l.Uses == 1 && clobber(l)
--	// result: (MADDLD x y z)
-+	// result: (MADDLD x y z )
- 	for {
- 		for _i0 := 0; _i0 <= 1; _i0, v_0, v_1 = _i0+1, v_1, v_0 {
--			l := v_0
-+			z := v_0
-+			l := v_1
- 			if l.Op != OpPPC64MULLD {
- 				continue
- 			}
- 			y := l.Args[1]
- 			x := l.Args[0]
--			z := v_1
- 			if !(buildcfg.GOPPC64 >= 9 && l.Uses == 1 && clobber(l)) {
- 				continue
- 			}
-@@ -4146,6 +4147,30 @@ func rewriteValuePPC64_OpPPC64ADD(v *Value) bool {
- 		}
- 		break
- 	}
-+	// match: (ADD z l:(MULLDconst <mt> [x] y))
-+	// cond: buildcfg.GOPPC64 >= 9 && l.Uses == 1 && clobber(l)
-+	// result: (MADDLD (MOVDconst <mt> [int64(x)]) y z )
-+	for {
-+		for _i0 := 0; _i0 <= 1; _i0, v_0, v_1 = _i0+1, v_1, v_0 {
-+			z := v_0
-+			l := v_1
-+			if l.Op != OpPPC64MULLDconst {
-+				continue
-+			}
-+			mt := l.Type
-+			x := auxIntToInt32(l.AuxInt)
-+			y := l.Args[0]
-+			if !(buildcfg.GOPPC64 >= 9 && l.Uses == 1 && clobber(l)) {
-+				continue
-+			}
-+			v.reset(OpPPC64MADDLD)
-+			v0 := b.NewValue0(v.Pos, OpPPC64MOVDconst, mt)
-+			v0.AuxInt = int64ToAuxInt(int64(x))
-+			v.AddArg3(v0, y, z)
-+			return true
-+		}
-+		break
-+	}
- 	// match: (ADD x (MOVDconst <t> [c]))
- 	// cond: is32Bit(c) && !t.IsPtr()
- 	// result: (ADDconst [c] x)
-@@ -4239,6 +4264,52 @@ func rewriteValuePPC64_OpPPC64ADDE(v *Value) bool {
- }
- func rewriteValuePPC64_OpPPC64ADDconst(v *Value) bool {
- 	v_0 := v.Args[0]
-+	b := v.Block
-+	// match: (ADDconst <at> [z] l:(MULLD x y))
-+	// cond: buildcfg.GOPPC64 >= 9 && l.Uses == 1 && clobber(l)
-+	// result: (MADDLD x y (MOVDconst <at> [int64(z)]))
-+	for {
-+		at := v.Type
-+		z := auxIntToInt64(v.AuxInt)
-+		l := v_0
-+		if l.Op != OpPPC64MULLD {
-+			break
-+		}
-+		y := l.Args[1]
-+		x := l.Args[0]
-+		if !(buildcfg.GOPPC64 >= 9 && l.Uses == 1 && clobber(l)) {
-+			break
-+		}
-+		v.reset(OpPPC64MADDLD)
-+		v0 := b.NewValue0(v.Pos, OpPPC64MOVDconst, at)
-+		v0.AuxInt = int64ToAuxInt(int64(z))
-+		v.AddArg3(x, y, v0)
-+		return true
-+	}
-+	// match: (ADDconst <at> [z] l:(MULLDconst <mt> [x] y))
-+	// cond: buildcfg.GOPPC64 >= 9 && l.Uses == 1 && clobber(l)
-+	// result: (MADDLD (MOVDconst <mt> [int64(x)]) y (MOVDconst <at> [int64(z)]))
-+	for {
-+		at := v.Type
-+		z := auxIntToInt64(v.AuxInt)
-+		l := v_0
-+		if l.Op != OpPPC64MULLDconst {
-+			break
-+		}
-+		mt := l.Type
-+		x := auxIntToInt32(l.AuxInt)
-+		y := l.Args[0]
-+		if !(buildcfg.GOPPC64 >= 9 && l.Uses == 1 && clobber(l)) {
-+			break
-+		}
-+		v.reset(OpPPC64MADDLD)
-+		v0 := b.NewValue0(v.Pos, OpPPC64MOVDconst, mt)
-+		v0.AuxInt = int64ToAuxInt(int64(x))
-+		v1 := b.NewValue0(v.Pos, OpPPC64MOVDconst, at)
-+		v1.AuxInt = int64ToAuxInt(int64(z))
-+		v.AddArg3(v0, y, v1)
-+		return true
-+	}
- 	// match: (ADDconst [c] (ADDconst [d] x))
- 	// cond: is32Bit(c+d)
- 	// result: (ADDconst [c+d] x)
--- 
-2.55.0
-

diff --git a/golang.spec b/golang.spec
index 5d7ec85..97386b5 100644
--- a/golang.spec
+++ b/golang.spec
@@ -99,9 +99,9 @@
 %endif
 
 # Comment out go_prerelease and go_patch as needed
-%global go_api 1.25
+%global go_api 1.26
 #global go_prerelease rc2
-%global go_patch 14
+%global go_patch 7
 
 %global go_version %{go_api}%{?go_patch:.%{go_patch}}%{?go_prerelease:~%{go_prerelease}}
 %global go_source %{go_api}%{?go_patch:.%{go_patch}}%{?go_prerelease}
@@ -140,16 +140,15 @@ Provides: bundled(golang(github.com/ianlancetaylor/demangle)) = 0.0.0.2025041719
 Provides: bundled(golang(golang.org/x/arch)) = 0.23.0
 Provides: bundled(golang(golang.org/x/build)) = 0.0.0.20251128064159.b9bfd88b30e8
 Provides: bundled(golang(golang.org/x/crypto)) = 0.46.1.0.20251210140736.7dacc380ba00
-Provides: bundled(golang(golang.org/x/mod)) = 0.30.1.0.20251115032019.269c237cf350
-Provides: bundled(golang(golang.org/x/net)) = 0.47.1.0.20251128220604.7c360367ab7e
-Provides: bundled(golang(golang.org/x/net)) = 0.47.1.0.20260417193450.705de46f8788
+Provides: bundled(golang(golang.org/x/mod)) = 0.30.1.0.20260813213631.9239cba97fbe
+Provides: bundled(golang(golang.org/x/net)) = 0.47.1.0.20260731170545.cb1d721f7fb3
 Provides: bundled(golang(golang.org/x/sync)) = 0.19.0
 Provides: bundled(golang(golang.org/x/sys)) = 0.39.0
 Provides: bundled(golang(golang.org/x/telemetry)) = 0.0.0.20251128220624.abf20d0e57ec
 Provides: bundled(golang(golang.org/x/term)) = 0.38.0
 Provides: bundled(golang(golang.org/x/text)) = 0.32.0
 Provides: bundled(golang(golang.org/x/tools)) = 0.27.0
-Provides: bundled(golang(golang.org/x/tools)) = 0.39.1.0.20260323181443.4f499ecaa91d
+Provides: bundled(golang(golang.org/x/tools)) = 0.39.1.0.20260527181557.0f52e3809b35
 Provides: bundled(golang(rsc.io/markdown)) = 0.0.0.20240306144322.0bf8f97ee8ef
 
 Requires:       %{name}-bin = %{version}-%{release}
@@ -165,8 +164,7 @@ Patch9:         skip_lsan_tests.patch
 
 # Related to the regeneration of `_gen/` in the build phase:
 # git format-patch -1 5d5c7ff1f0 --stdout -- ':!src/cmd/compile/internal/ssa/opGen.go' > fix-s390x-mergelocals.patch
-Patch10:	fix-s390x-mergelocals.patch
-Patch11:	fix-ppc64le-maddld.patch
+Patch10:        fix-s390x-mergelocals.patch
 
 # Having documentation separate was broken
 Obsoletes:      %{name}-docs < 1.1-4

diff --git a/sources b/sources
index e96b8fe..878f94b 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (go1.25.14.src.tar.gz) = 89cf61d27fc5fa179a821feb4fbd0c55bb8340cdab2adcaa95b52ccf4f5d855034f3acff0e2c1c9e9eaed8c833c5139a04144fa92324755abba13502b07184ac
+SHA512 (go1.26.7.src.tar.gz) = 708c8f19d43c7f931287ee0c710eb7a0c4a3d7589f546a59fcdb276f2963d8eb1fba1599977613e751d6de95b8386b6bca8e7d2caf9c555a1d51d1ef0d40289b

                 reply	other threads:[~2026-08-25 12:27 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178766083830.1.5537034751803766152.rpms-golang-bff2c5fa742d@fedoraproject.org \
    --to=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox