Skip to contentSkip to conversation

package/gcc: bump 15.x series to 15.3.0

PATCH Applied Bernd Kuhls 2 participants 9 messages Jun 27 – Jul 10 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 package/gcc: bump 15.x series to 15.3.0

Announcement:
https://gcc.gnu.org/pipermail/gcc-announce/2026/000191.html

GCC 15.3 is a bug-fix release from the GCC 15 branch containing important fixes for regressions and serious bugs in GCC 15.2 with more than 208 bugs fixed since the previous release.

For the list of bugs fixed in this version, see:
https://gcc.gnu.org/gcc-15/changes.html#15.3

Removed patches which are included in this release, renumbered patch 0003.

---
 .checkpackageignore                           |   2 +-
 ...ce-support-for-atomics.-Fix-PR118280.patch | 286 ------------------
 ...mp-Fix-GCC-build-after-glibc-cd748a6.patch |  77 -----
 ...dy-Make-it-buildable-by-C-11-to-C-26.patch | 261 ----------------
 ...le-split-stack-for-non-thread-builds.patch |   0
 ...config-microblaze-fix-ira-for-GCC15.patch} |   0
 package/gcc/Config.in.host                    |   2 +-
 package/gcc/gcc.hash                          |   4 +-
 8 files changed, 4 insertions(+), 628 deletions(-)
 delete mode 100644 package/gcc/15.2.0/0002-MicroBlaze-Enhance-support-for-atomics.-Fix-PR118280.patch
 delete mode 100644 package/gcc/15.2.0/0004-libgomp-Fix-GCC-build-after-glibc-cd748a6.patch
 delete mode 100644 package/gcc/15.2.0/0005-libcody-Make-it-buildable-by-C-11-to-C-26.patch
 rename package/gcc/{15.2.0 => 15.3.0}/0001-disable-split-stack-for-non-thread-builds.patch (100%)
 rename package/gcc/{15.2.0/0003-gcc-config-microblaze-fix-ira-for-GCC15.patch => 15.3.0/0002-gcc-config-microblaze-fix-ira-for-GCC15.patch} (100%)
.checkpackageignore +1 -1
index 94f3b92d9c..3aed62277a 100644
@@ -350,7 +350,7 @@ package/ftop/0001-overflow.patch lib_patch.Upstream
 package/fxdiv/0001-CMake-don-t-enable-CXX-unless-building-tests-benchma.patch lib_patch.Upstream
 package/fxload/0001-fix-static-build.patch lib_patch.Upstream
 package/gcc/14.3.0/0001-disable-split-stack-for-non-thread-builds.patch lib_patch.Upstream
-package/gcc/15.2.0/0001-disable-split-stack-for-non-thread-builds.patch lib_patch.Upstream
+package/gcc/15.3.0/0001-disable-split-stack-for-non-thread-builds.patch lib_patch.Upstream
 package/gcc/16.1.0/0001-disable-split-stack-for-non-thread-builds.patch lib_patch.Upstream
 package/gcc/8.4.0/0001-xtensa-fix-PR-target-91880.patch lib_patch.Upstream
 package/gcc/8.4.0/0002-Revert-re-PR-target-92095-internal-error-with-O1-mcp.patch lib_patch.Upstream
package/gcc/15.2.0/0002-MicroBlaze-Enhance-support-for-atomics.-Fix-PR118280.patch deleted +0 -286

286 lines not on this page · raw message

package/gcc/15.2.0/0004-libgomp-Fix-GCC-build-after-glibc-cd748a6.patch deleted +0 -9
deleted file mode 100644
index e24c4dd57e..0000000000
@@ -1,77 +0,0 @@
-From 9c9d3aef2f66625d9cb03ef4baee10ed6648e681 Mon Sep 17 00:00:00 2001
-From: Frank Scheiner <[email protected]>
-Date: Tue, 25 Nov 2025 16:58:23 -0700
-Subject: [PATCH] [PATCH] libgomp: Fix GCC build after glibc@cd748a6
-
-The toolchain autobuilds for ia64 failed ([1]) yesterday with:
-
-```
-libtool: compile:  /usr/src/t2-src/src.gcc.ia64-toolchain.251121.040147.278918/gcc-16-20251116/objs/gcc/xgcc-wrapper /usr/src/t2-src/src.gcc.ia64-toolchain.251121.040147.278918/gcc-16-20251116/objs/./gcc/xgcc -B/usr/src/t2-src/src.gcc.ia64-toolchain.251121.040147.278918/gcc-16-20251116/objs/./gcc/ -B/usr/src/t2-src/build/ia64-toolchain-24-svn-generic-ia64-itanium2-cross-linux/TOOLCHAIN/cross/usr/ia64-t2-linux-gnu/bin/ -B/usr/src/t2-src/build/ia64-toolchain-24-svn-generic-ia64-itanium2-cross-linux/TOOLCHAIN/cross/usr/ia64-t2-linux-gnu/lib/ -isystem /usr/src/t2-src/build/ia64-toolchain-24-svn-generic-ia64-itanium2-cross-linux/TOOLCHAIN/cross/usr/ia64-t2-linux-gnu/include -isystem /usr/src/t2-src/build/ia64-toolchain-24-svn-generic-ia64-itanium2-cross-linux/TOOLCHAIN/cross/usr/ia64-t2-linux-gnu/sys-include --sysroot=/usr/src/t2-src/build/ia64-toolchain-24-svn-generic-ia64-itanium2-cross-linux -DHAVE_CONFIG_H -I. -I../../../libgomp -I../../../libgomp/config/linux/ia64 -I../../../libgomp

/config/linux -I../../../libgomp/config/posix -I../../../libgomp -I../../../libgomp/../include -Wall -Werror -ftls-model=initial-exec -pthread -DUSING_INITIAL_EXEC_TLS -g -O2 -MT oacc-cuda.lo -MD -MP -MF .deps/oacc-cuda.Tpo -c ../../../libgomp/oacc-cuda.c -o oacc-cuda.o >/dev/null 2>&1
-../../../libgomp/affinity-fmt.c: In function 'gomp_display_affinity':
-../../../libgomp/affinity-fmt.c:330:25: error: initialization discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers]
- 330 | char *q = strchr (p + 1, '}');
- | ^~~~~~
-```
-
-[1]: https://github.com/johnny-mnemonic/toolchain-autobuilds/actions/runs/19559235881
-
-This is not ia64-specific but due to the changes in the recent glibc
-commit "Implement C23 const-preserving standard library macros" (i.e.
-[2]) now requiring "char *q" to be a pointer to a const char to compile
-w/o error because of the return value of strchr() .
-
-[2]: https://sourceware.org/git/?p=glibc.git;a=commit;h=cd748a63ab1a7ae846175c532a3daab341c62690
-
-Also see the related discussion at [3] for details.
-
-[3]: https://sourceware.org/pipermail/libc-alpha/2025-November/172809.html
-
-The GCC build is fixed by the attached patch, see [4] for a successful
-build with the then latest snapshots of binutils, glibc and GCC.
-
-[4]: https://github.com/johnny-mnemonic/toolchain-autobuilds/actions/runs/19585045571
-
-Idea from Tomas, attached patch from me.
-
-Cheers,
-Frank
-
-0001-libgomp-Fix-GCC-build-after-glibc-cd748a6.patch
-
-From 80af9c233c694904174b54a59404d311378f41f8 Mon Sep 17 00:00:00 2001
-From: Frank Scheiner <[email protected]>
-Date: Sat, 22 Nov 2025 14:58:10 +0100
-Subject: [PATCH] libgomp: Fix GCC build after glibc@cd748a6
-
-char *q needs to be a pointer to a const char for the return value of
-strchr() with glibc after "Implement C23 const-preserving standard library
-macros".
-
-[glibc@cd748a6]: https://sourceware.org/git/?p=glibc.git;a=commit;h=cd748a63ab1a7ae846175c532a3daab341c62690
-
-libgomp/ChangeLog:
- * affinity-fmt.c: Make char *q a pointer to a const char.
-
-Upstream: https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=9c9d3aef2f66625d9cb03ef4baee10ed6648e681
-
-Signed-off-by: Bernd Kuhls <[email protected]>
----
- libgomp/affinity-fmt.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/libgomp/affinity-fmt.c b/libgomp/affinity-fmt.c
-index 1fae893cbaca..8d3df5f1cd55 100644
---- a/libgomp/affinity-fmt.c
-+++ b/libgomp/affinity-fmt.c
-@@ -327,7 +327,7 @@ gomp_display_affinity (char *buffer, size_t size,
- }
- if (c == '{')
- {

--	      char *q = strchr (p + 1, '}');
-+	      const char *q = strchr (p + 1, '}');
- 	      if (q)

- gomp_fatal ("unsupported long type name '%.*s' in affinity "
- "format", (int) (q - (p + 1)), p + 1);
---
-2.43.7
-

package/gcc/15.2.0/0005-libcody-Make-it-buildable-by-C-11-to-C-26.patch deleted +0 -261

261 lines not on this page · raw message

package/gcc/15.3.0/0001-disable-split-stack-for-non-thread-builds.patch renamed from package/gcc/15.2.0/0001-disable-split-stack-for-non-thread-builds.patch +0 -0
similarity index 100%
rename from package/gcc/15.2.0/0001-disable-split-stack-for-non-thread-builds.patch
rename to package/gcc/15.3.0/0001-disable-split-stack-for-non-thread-builds.patch
package/gcc/15.3.0/0002-gcc-config-microblaze-fix-ira-for-GCC15.patch renamed from package/gcc/15.2.0/0003-gcc-config-microblaze-fix-ira-for-GCC15.patch +0 -0
similarity index 100%
rename from package/gcc/15.2.0/0003-gcc-config-microblaze-fix-ira-for-GCC15.patch
rename to package/gcc/15.3.0/0002-gcc-config-microblaze-fix-ira-for-GCC15.patch
package/gcc/Config.in.host +1 -1
index 1c4358f448..896bb3cfbb 100644
@@ -69,7 +69,7 @@ config BR2_GCC_VERSION
 	string
 	default "8.4.0"     if BR2_GCC_VERSION_POWERPC_SPE
 	default "14.3.0"    if BR2_GCC_VERSION_14_X
-	default "15.2.0"    if BR2_GCC_VERSION_15_X
+	default "15.3.0"    if BR2_GCC_VERSION_15_X
 	default "16.1.0"    if BR2_GCC_VERSION_16_X
 	default "arc-2024.12-release" if BR2_GCC_VERSION_ARC
 
package/gcc/gcc.hash +2 -2
index 0b17a809c8..0890abc2ea 100644
@@ -2,8 +2,8 @@
 sha512  6de904f552a02de33b11ef52312bb664396efd7e1ce3bbe37bfad5ef617f133095b3767b4804bc7fe78df335cb53bc83f1ac055baed40979ce4c2c3e46b70280  gcc-8.4.0.tar.xz
 # From https://gcc.gnu.org/pub/gcc/releases/gcc-14.3.0/sha512.sum
 sha512  cb4e3259640721bbd275c723fe4df53d12f9b1673afb3db274c22c6aa457865dccf2d6ea20b4fd4c591f6152e6d4b87516c402015900f06ce9d43af66d3b7a93  gcc-14.3.0.tar.xz
-# From https://gcc.gnu.org/pub/gcc/releases/gcc-15.2.0/sha512.sum
-sha512  89047a2e07bd9da265b507b516ed3635adb17491c7f4f67cf090f0bd5b3fc7f2ee6e4cc4008beef7ca884b6b71dffe2bb652b21f01a702e17b468cca2d10b2de  gcc-15.2.0.tar.xz
+# From https://gcc.gnu.org/pub/gcc/releases/gcc-15.3.0/sha512.sum
+sha512  0de9e296153b52c021b1c7e63c9c62151d7a0ac03f23ce6e9f772c1b0eb783f6acdd81cc4567bfe4128a6f64968c2cfc8eff40b36229cba7425349f7d637c654  gcc-15.3.0.tar.xz
 # From https://gcc.gnu.org/pub/gcc/releases/gcc-16.1.0/sha512.sum
 sha512  b3454958891ab47e1e5b6cb9396c0ad3b04f32fe2a7bf1153a143f21013fdb6b295ca94c98964698a688e4c1d7555ffd8ffbc20187507cce6b1c32cbcc09897a  gcc-16.1.0.tar.xz
 
Signature · 6 lines
2.47.3

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw

PATCH 2/2 package/gcc: bump 14.x series to 14.4.0

Announcement:
https://gcc.gnu.org/pipermail/gcc-announce/2026/000192.html

GCC 14.4 is a bug-fix release from the GCC 14 branch containing important fixes for regressions and serious bugs in GCC 14.3 with more than 104 bugs fixed since the previous release.

For the list of bugs fixed in this version, see:
https://gcc.gnu.org/gcc-14/changes.html#14.4

Removed patches which are included in this release.

---
 .checkpackageignore                           |   2 +-
 ...laze-add-atomic-test-and-set-support.patch | 286 ------------------
 ...bsanitizer-Fix-build-with-glibc-2.42.patch |  81 -----
 ...dy-Make-it-buildable-by-C-11-to-C-26.patch | 261 ----------------
 ...am-and-memory-include-above-safe-cty.patch |  78 -----
 ...le-split-stack-for-non-thread-builds.patch |   0
 ...o-undef-_TIME_BITS-in-sanitizer_proc.patch |   0
 package/gcc/Config.in.host                    |   2 +-
 package/gcc/gcc.hash                          |   4 +-
 9 files changed, 4 insertions(+), 710 deletions(-)
 delete mode 100644 package/gcc/14.3.0/0003-microblaze-add-atomic-test-and-set-support.patch
 delete mode 100644 package/gcc/14.3.0/0004-libsanitizer-Fix-build-with-glibc-2.42.patch
 delete mode 100644 package/gcc/14.3.0/0005--libcody-Make-it-buildable-by-C-11-to-C-26.patch
 delete mode 100644 package/gcc/14.3.0/0006-build-Move-sstream-and-memory-include-above-safe-cty.patch
 rename package/gcc/{14.3.0 => 14.4.0}/0001-disable-split-stack-for-non-thread-builds.patch (100%)
 rename package/gcc/{14.3.0 => 14.4.0}/0002-libsanitizer-also-undef-_TIME_BITS-in-sanitizer_proc.patch (100%)
.checkpackageignore +1 -1
index 3aed62277a..6147f35b03 100644
@@ -349,7 +349,7 @@ package/fstrcmp/0001-disable-rpath.patch lib_patch.Upstream
 package/ftop/0001-overflow.patch lib_patch.Upstream
 package/fxdiv/0001-CMake-don-t-enable-CXX-unless-building-tests-benchma.patch lib_patch.Upstream
 package/fxload/0001-fix-static-build.patch lib_patch.Upstream
-package/gcc/14.3.0/0001-disable-split-stack-for-non-thread-builds.patch lib_patch.Upstream
+package/gcc/14.4.0/0001-disable-split-stack-for-non-thread-builds.patch lib_patch.Upstream
 package/gcc/15.3.0/0001-disable-split-stack-for-non-thread-builds.patch lib_patch.Upstream
 package/gcc/16.1.0/0001-disable-split-stack-for-non-thread-builds.patch lib_patch.Upstream
 package/gcc/8.4.0/0001-xtensa-fix-PR-target-91880.patch lib_patch.Upstream
package/gcc/14.3.0/0003-microblaze-add-atomic-test-and-set-support.patch deleted +0 -286

286 lines not on this page · raw message

package/gcc/14.3.0/0004-libsanitizer-Fix-build-with-glibc-2.42.patch deleted +0 -81

81 lines not on this page · raw message

package/gcc/14.3.0/0005--libcody-Make-it-buildable-by-C-11-to-C-26.patch deleted +0 -261

261 lines not on this page · raw message

package/gcc/14.3.0/0006-build-Move-sstream-and-memory-include-above-safe-cty.patch deleted +0 -78

78 lines not on this page · raw message

package/gcc/14.4.0/0001-disable-split-stack-for-non-thread-builds.patch renamed from package/gcc/14.3.0/0001-disable-split-stack-for-non-thread-builds.patch +0 -0
similarity index 100%
rename from package/gcc/14.3.0/0001-disable-split-stack-for-non-thread-builds.patch
rename to package/gcc/14.4.0/0001-disable-split-stack-for-non-thread-builds.patch
package/gcc/14.4.0/0002-libsanitizer-also-undef-_TIME_BITS-in-sanitizer_proc.patch renamed from package/gcc/14.3.0/0002-libsanitizer-also-undef-_TIME_BITS-in-sanitizer_proc.patch +0 -0
similarity index 100%
rename from package/gcc/14.3.0/0002-libsanitizer-also-undef-_TIME_BITS-in-sanitizer_proc.patch
rename to package/gcc/14.4.0/0002-libsanitizer-also-undef-_TIME_BITS-in-sanitizer_proc.patch
package/gcc/Config.in.host +1 -1
index 896bb3cfbb..e80c864cf1 100644
@@ -68,7 +68,7 @@ config BR2_GCC_SUPPORTS_DLANG
 config BR2_GCC_VERSION
 	string
 	default "8.4.0"     if BR2_GCC_VERSION_POWERPC_SPE
-	default "14.3.0"    if BR2_GCC_VERSION_14_X
+	default "14.4.0"    if BR2_GCC_VERSION_14_X
 	default "15.3.0"    if BR2_GCC_VERSION_15_X
 	default "16.1.0"    if BR2_GCC_VERSION_16_X
 	default "arc-2024.12-release" if BR2_GCC_VERSION_ARC
package/gcc/gcc.hash +2 -2
index 0890abc2ea..edd8ab7061 100644
@@ -1,7 +1,7 @@
 # From https://gcc.gnu.org/pub/gcc/releases/gcc-8.4.0/sha512.sum
 sha512  6de904f552a02de33b11ef52312bb664396efd7e1ce3bbe37bfad5ef617f133095b3767b4804bc7fe78df335cb53bc83f1ac055baed40979ce4c2c3e46b70280  gcc-8.4.0.tar.xz
-# From https://gcc.gnu.org/pub/gcc/releases/gcc-14.3.0/sha512.sum
-sha512  cb4e3259640721bbd275c723fe4df53d12f9b1673afb3db274c22c6aa457865dccf2d6ea20b4fd4c591f6152e6d4b87516c402015900f06ce9d43af66d3b7a93  gcc-14.3.0.tar.xz
+# From https://gcc.gnu.org/pub/gcc/releases/gcc-14.4.0/sha512.sum
+sha512  725ed8bdd43ef1726ffe8b5e8615a13e247fac9575b7626ae013a2975d000ea213212dc414b2f2631ac4785c1c8beca85555222faf9904d3b2fa6a3807a83a15  gcc-14.4.0.tar.xz
 # From https://gcc.gnu.org/pub/gcc/releases/gcc-15.3.0/sha512.sum
 sha512  0de9e296153b52c021b1c7e63c9c62151d7a0ac03f23ce6e9f772c1b0eb783f6acdd81cc4567bfe4128a6f64968c2cfc8eff40b36229cba7425349f7d637c654  gcc-15.3.0.tar.xz
 # From https://gcc.gnu.org/pub/gcc/releases/gcc-16.1.0/sha512.sum
Signature · 6 lines
2.47.3

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#2 lore raw

Re: [Buildroot] [PATCH 2/2] package/gcc: bump 14.x series to 14.4.0

In reply of:

Quoted 7 lines

Announcement:
https://gcc.gnu.org/pipermail/gcc-announce/2026/000192.html

GCC 14.4 is a bug-fix release from the GCC 14 branch containing important fixes for regressions and serious bugs in GCC 14.3 with more than 104 bugs fixed since the previous release.

Quoted 6 lines

For the list of bugs fixed in this version, see:
https://gcc.gnu.org/gcc-14/changes.html#14.4

Removed patches which are included in this release.

Applied to 2026.05.x & 2025.02.x. Thanks

Quoted 803 lines
---
 .checkpackageignore                           |   2 +-
 ...laze-add-atomic-test-and-set-support.patch | 286 ------------------
 ...bsanitizer-Fix-build-with-glibc-2.42.patch |  81 -----
 ...dy-Make-it-buildable-by-C-11-to-C-26.patch | 261 ----------------
 ...am-and-memory-include-above-safe-cty.patch |  78 -----
 ...le-split-stack-for-non-thread-builds.patch |   0
 ...o-undef-_TIME_BITS-in-sanitizer_proc.patch |   0
 package/gcc/Config.in.host                    |   2 +-
 package/gcc/gcc.hash                          |   4 +-
 9 files changed, 4 insertions(+), 710 deletions(-)
 delete mode 100644 package/gcc/14.3.0/0003-microblaze-add-atomic-test-and-set-support.patch
 delete mode 100644 package/gcc/14.3.0/0004-libsanitizer-Fix-build-with-glibc-2.42.patch
 delete mode 100644 package/gcc/14.3.0/0005--libcody-Make-it-buildable-by-C-11-to-C-26.patch
 delete mode 100644 package/gcc/14.3.0/0006-build-Move-sstream-and-memory-include-above-safe-cty.patch
 rename package/gcc/{14.3.0 => 14.4.0}/0001-disable-split-stack-for-non-thread-builds.patch (100%)
 rename package/gcc/{14.3.0 => 14.4.0}/0002-libsanitizer-also-undef-_TIME_BITS-in-sanitizer_proc.patch (100%)
.checkpackageignore +1 -1
index 3aed62277a..6147f35b03 100644
@@ -349,7 +349,7 @@ package/fstrcmp/0001-disable-rpath.patch lib_patch.Upstream
 package/ftop/0001-overflow.patch lib_patch.Upstream
 package/fxdiv/0001-CMake-don-t-enable-CXX-unless-building-tests-benchma.patch lib_patch.Upstream
 package/fxload/0001-fix-static-build.patch lib_patch.Upstream
-package/gcc/14.3.0/0001-disable-split-stack-for-non-thread-builds.patch lib_patch.Upstream
+package/gcc/14.4.0/0001-disable-split-stack-for-non-thread-builds.patch lib_patch.Upstream
 package/gcc/15.3.0/0001-disable-split-stack-for-non-thread-builds.patch lib_patch.Upstream
 package/gcc/16.1.0/0001-disable-split-stack-for-non-thread-builds.patch lib_patch.Upstream
 package/gcc/8.4.0/0001-xtensa-fix-PR-target-91880.patch lib_patch.Upstream
package/gcc/14.3.0/0003-microblaze-add-atomic-test-and-set-support.patch deleted +0 -286
deleted file mode 100644
index db6aefaef2..0000000000
@@ -1,286 +0,0 @@
-From cd01b277c4a9e03c83427290228e4b289a169431 Mon Sep 17 00:00:00 2001
-From: Gopi Kumar Bulusu <[email protected]>
-Date: Thu, 10 Jul 2025 12:44:44 +0530
-Subject: [PATCH] MicroBlaze : Enhance support for atomics. Fix PR118280
-
-Atomic support enhanced to fix existing atomic_compare_and_swapsi pattern
-to handle side effects; new patterns atomic_fetch_op and atomic_test_and_set
-added. As MicroBlaze has no QImode test/set instruction, use shift magic
-to implement atomic_test_and_set. This fixes PR118280.
-
-Files Changed
-
-* gcc/config/microblaze/iterators.md: New
-* microblaze-protos.h/microblaze.cc : Add microblaze_subword_address
-* gcc/config/microblaze/microblaze.md: constants: Add UNSPECV_CAS_BOOL,
-  UNSPECV_CAS_MEM, UNSPECV_CAS_VAL, UNSPECV_ATOMIC_FETCH_OP
-  type: add atomic
-* gcc/config/microblaze/sync.md: Add atomic_fetch_<atomic_optab>si
-  atomic_test_and_set
-
-Fixes: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118280
-Upstream: https://patchwork.ozlabs.org/project/gcc/list/?series=466193
-
-Signed-off-by: Kirk Meyer <[email protected]>
-Signed-off-by: David Holsgrove <[email protected]>
-Signed-off-by: Gopi Kumar Bulusu <[email protected]>
----
- gcc/config/microblaze/iterators.md        |  25 +++++
- gcc/config/microblaze/microblaze-protos.h |   1 +
- gcc/config/microblaze/microblaze.cc       |  28 ++++++
- gcc/config/microblaze/microblaze.h        |   2 +-
- gcc/config/microblaze/microblaze.md       |   7 +-
- gcc/config/microblaze/sync.md             | 107 ++++++++++++++++++----
- 6 files changed, 150 insertions(+), 20 deletions(-)
- create mode 100644 gcc/config/microblaze/iterators.md
-
-diff --git a/gcc/config/microblaze/iterators.md b/gcc/config/microblaze/iterators.md
-new file mode 100644
-index 00000000000..2ffc2422a0a
---- /dev/null
-+++ b/gcc/config/microblaze/iterators.md
-@@ -0,0 +1,25 @@ 
-+;; Iterator definitions for GCC MicroBlaze machine description files.
-+;; Copyright (C) 2012-2024 Free Software Foundation, Inc.
-+;;
-+;; This file is part of GCC.
-+;;
-+;; GCC is free software; you can redistribute it and/or modify
-+;; it under the terms of the GNU General Public License as published by
-+;; the Free Software Foundation; either version 3, or (at your option)
-+;; any later version.
-+;;
-+;; GCC is distributed in the hope that it will be useful,
-+;; but WITHOUT ANY WARRANTY; without even the implied warranty of
-+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-+;; GNU General Public License for more details.
-+;;
-+;; You should have received a copy of the GNU General Public License
-+;; along with GCC; see the file COPYING3.  If not see
-+;; <http://www.gnu.org/licenses/>.
-+
-+; atomics code iterator
-+(define_code_iterator any_atomic [plus ior xor and])
-+
-+; atomics code attribute
-+(define_code_attr atomic_optab
-+  [(plus "add") (ior "or") (xor "xor") (and "and")])
-diff --git a/gcc/config/microblaze/microblaze-protos.h b/gcc/config/microblaze/microblaze-protos.h
-index 90b79cfe716..1cee0b3096c 100644
---- a/gcc/config/microblaze/microblaze-protos.h
-+++ b/gcc/config/microblaze/microblaze-protos.h
-@@ -62,6 +62,7 @@  extern int symbol_mentioned_p (rtx);
- extern int label_mentioned_p (rtx);
- extern bool microblaze_cannot_force_const_mem (machine_mode, rtx);
- extern void microblaze_eh_return (rtx op0);
-+extern void microblaze_subword_address (rtx, rtx *, rtx *);
- #endif  /* RTX_CODE */
- 
- /* Declare functions in microblaze-c.cc.  */
-diff --git a/gcc/config/microblaze/microblaze.cc b/gcc/config/microblaze/microblaze.cc
-index 2ab5ada4ec9..80d10ab60e0 100644
---- a/gcc/config/microblaze/microblaze.cc
-+++ b/gcc/config/microblaze/microblaze.cc
-@@ -1299,6 +1299,34 @@  microblaze_expand_block_move (rtx dest, rtx src, rtx length, rtx align_rtx)
-   return false;
- }
- 
-+/* Compute memory address *aligned_mem and corresponding shift value (*shift)
-+   from a QImode memory reference MEM */
-+void
-+microblaze_subword_address (rtx mem, rtx *aligned_mem, rtx *shift)
-+{
-+  /* Align the memory address to a word.  */
-+  rtx addr = force_reg (Pmode, XEXP (mem, 0));
-+
-+  rtx addr_mask = gen_int_mode (-4, Pmode);
-+
-+  rtx aligned_addr = gen_reg_rtx (Pmode);
-+
-+  emit_move_insn (aligned_addr,  gen_rtx_AND (Pmode, addr, addr_mask));
-+
-+  *aligned_mem = change_address (mem, SImode, aligned_addr);
-+
-+  /* Calculate the shift amount.  */
-+  emit_move_insn (*shift, gen_rtx_AND (SImode, addr, gen_int_mode (3, SImode)));
-+
-+  if (TARGET_LITTLE_ENDIAN == 0) {
-+    emit_move_insn (*shift,
-+		    gen_rtx_MINUS (SImode, gen_int_mode (3, SImode), *shift));
-+  }
-+
-+  emit_move_insn (*shift, gen_rtx_ASHIFT (SImode, *shift,
-+					  gen_int_mode (3, SImode)));
-+}
-+
- static bool
- microblaze_rtx_costs (rtx x, machine_mode mode, int outer_code ATTRIBUTE_UNUSED,
- 		      int opno ATTRIBUTE_UNUSED, int *total,
-diff --git a/gcc/config/microblaze/microblaze.h b/gcc/config/microblaze/microblaze.h
-index 2390542434b..b2e9ccde363 100644
---- a/gcc/config/microblaze/microblaze.h
-+++ b/gcc/config/microblaze/microblaze.h
-@@ -57,7 +57,7 @@  extern enum pipeline_type microblaze_pipe;
- 
- /* Default target_flags if no switches are specified  */
- #define TARGET_DEFAULT      (MASK_SOFT_MUL | MASK_SOFT_DIV | MASK_SOFT_FLOAT \
--                             | TARGET_ENDIAN_DEFAULT)
-+			      | TARGET_ENDIAN_DEFAULT)
- 
- /* Do we have CLZ?  */
- #define TARGET_HAS_CLZ      (TARGET_PATTERN_COMPARE && microblaze_has_clz)
-diff --git a/gcc/config/microblaze/microblaze.md b/gcc/config/microblaze/microblaze.md
-index 45c48a71e8d..270df8da0c5 100644
---- a/gcc/config/microblaze/microblaze.md
-+++ b/gcc/config/microblaze/microblaze.md
-@@ -21,6 +21,7 @@ 
- 
- (include "constraints.md")
- (include "predicates.md")
-+(include "iterators.md")
- 
- ;;----------------------------------------------------
- ;; Constants
-@@ -43,6 +44,10 @@ 
-   (UNSPEC_TLS           106)    ;; jump table
-   (UNSPEC_SET_TEXT      107)    ;; set text start
-   (UNSPEC_TEXT          108)    ;; data text relative
-+  (UNSPECV_CAS_BOOL     201)    ;; compare and swap (bool)
-+  (UNSPECV_CAS_VAL      202)    ;; compare and swap (val)
-+  (UNSPECV_CAS_MEM      203)    ;; compare and swap (mem)
-+  (UNSPECV_ATOMIC_FETCH_OP     204)    ;; atomic fetch op
- ])
- 
- (define_c_enum "unspec" [
-@@ -79,7 +84,7 @@ 
- ;; bshift 	Shift operations
- 
- (define_attr "type"
--  "unknown,branch,jump,call,load,store,move,arith,darith,imul,idiv,icmp,multi,nop,no_delay_arith,no_delay_load,no_delay_store,no_delay_imul,no_delay_move,bshift,fadd,frsub,fmul,fdiv,fcmp,fsl,fsqrt,fcvt,trap"
-+  "unknown,branch,jump,call,load,store,move,arith,darith,imul,idiv,icmp,multi,nop,no_delay_arith,no_delay_load,no_delay_store,no_delay_imul,no_delay_move,bshift,fadd,frsub,fmul,fdiv,fcmp,fsl,fsqrt,fcvt,trap,atomic"
-   (const_string "unknown"))
- 
- ;; Main data type used by the insn
-diff --git a/gcc/config/microblaze/sync.md b/gcc/config/microblaze/sync.md
-index db7b11e5379..6478ab6dcac 100644
---- a/gcc/config/microblaze/sync.md
-+++ b/gcc/config/microblaze/sync.md
-@@ -18,26 +18,97 @@ 
- ;; <http://www.gnu.org/licenses/>.
- 
- (define_insn "atomic_compare_and_swapsi"
--  [(match_operand:SI 0 "register_operand" "=&d")	;; bool output
--   (match_operand:SI 1 "register_operand" "=&d")	;; val output
--   (match_operand:SI 2 "nonimmediate_operand" "+Q")	;; memory
--   (match_operand:SI 3 "register_operand" "d")		;; expected value
--   (match_operand:SI 4 "register_operand" "d")		;; desired value
--   (match_operand:SI 5 "const_int_operand" "")		;; is_weak
--   (match_operand:SI 6 "const_int_operand" "")		;; mod_s
--   (match_operand:SI 7 "const_int_operand" "")		;; mod_f
-+  [(set (match_operand:SI 0 "register_operand" "=&d")		;; bool output
-+        (unspec_volatile:SI
-+          [(match_operand:SI 2 "nonimmediate_operand" "+Q")	;; memory
-+           (match_operand:SI 3 "register_operand" "d")		;; expected value
-+           (match_operand:SI 4 "register_operand" "d")]		;; desired value
-+          UNSPECV_CAS_BOOL))
-+   (set (match_operand:SI 1 "register_operand" "=&d")		;; val output
-+        (unspec_volatile:SI [(const_int 0)] UNSPECV_CAS_VAL))
-+   (set (match_dup 2)
-+        (unspec_volatile:SI [(const_int 0)] UNSPECV_CAS_MEM))
-+   (match_operand:SI 5 "const_int_operand" "")			;; is_weak
-+   (match_operand:SI 6 "const_int_operand" "")			;; mod_s
-+   (match_operand:SI 7 "const_int_operand" "")			;; mod_f
-    (clobber (match_scratch:SI 8 "=&d"))]
-   ""
-   {
--    output_asm_insn ("addc \tr0,r0,r0", operands);
--    output_asm_insn ("lwx  \t%1,%y2,r0", operands);
--    output_asm_insn ("addic\t%8,r0,0", operands);
--    output_asm_insn ("bnei \t%8,.-8", operands);
--    output_asm_insn ("cmp  \t%0,%1,%3", operands);
--    output_asm_insn ("bnei \t%0,.+16", operands);
--    output_asm_insn ("swx  \t%4,%y2,r0", operands);
--    output_asm_insn ("addic\t%8,r0,0", operands);
--    output_asm_insn ("bnei \t%8,.-28", operands);
--    return "";
-+    return "add  \t%0,r0,r0\n\t"
-+      "lwx  \t%1,%y2,r0\n\t"
-+      "addic\t%8,r0,0\n\t"
-+      "bnei \t%8,.-8\n\t"
-+      "cmp  \t%8,%1,%3\n\t"
-+      "bnei \t%8,.+20\n\t"
-+      "swx  \t%4,%y2,r0\n\t"
-+      "addic\t%8,r0,0\n\t"
-+      "bnei \t%8,.-28\n\t"
-+      "addi \t%0,r0,1";
-   }
-+  [(set_attr "type"	"atomic")
-+  (set_attr "mode"	"SI")
-+  (set_attr "length"	"40")]
- )
-+
-+;;
-+;;
-+;;
-+;;
-+(define_insn "atomic_fetch_<atomic_optab>si"
-+  [(set (match_operand:SI 0 "register_operand" "=&d")
-+	(match_operand:SI 1 "memory_operand" "+Q"))
-+   (set (match_dup 1)
-+	(unspec_volatile:SI
-+	  [(any_atomic:SI (match_dup 1)
-+		   (match_operand:SI 2 "register_operand" "d"))
-+	   (match_operand:SI 3 "const_int_operand")] ;; model
-+	 UNSPECV_ATOMIC_FETCH_OP))
-+   (clobber (match_scratch:SI 4 "=&d"))]	  ;; tmp_1
-+  ""
-+  {
-+    return 
-+      "lwx  \t%0,%y1,r0\n\t"
-+      "addic\t%4,r0,0\n\t"
-+      "bnei \t%4,.-8\n\t"
-+      "<atomic_optab>\t%4,%0,%2\n\t"
-+      "swx  \t%4,%y1,r0\n\t"
-+      "addic\t%4,r0,0\n\t"
-+      "bnei \t%4,.-24";
-+  }
-+  [(set_attr "type"	"atomic")
-+  (set_attr "mode"	"SI")
-+  (set_attr "length"	"28")])
-+
-+;;
-+;; MicroBlaze only supports lx/sx instructions for word mode only
-+;;
-+;; Use shift|mask magic to implement atomic_test_and_set using lwx/swx
-+;;
-+(define_expand "atomic_test_and_set"
-+  [(match_operand:QI 0 "register_operand" "")    ;; bool output
-+   (match_operand:QI 1 "memory_operand" "m")    ;; memory
-+   (match_operand:SI 2 "const_int_operand" "")]  ;; model
-+  ""
-+{
-+  rtx old = gen_reg_rtx (SImode);
-+  rtx mem = operands[1];
-+  rtx model = operands[2];
-+  rtx set = gen_reg_rtx (SImode);
-+  rtx aligned_mem = gen_reg_rtx (SImode);
-+  rtx shift = gen_reg_rtx (SImode);
-+
-+  microblaze_subword_address (mem, &aligned_mem, &shift);
-+
-+  emit_move_insn (set, GEN_INT (1));
-+  rtx shifted_set = gen_reg_rtx (SImode);
-+
-+  emit_move_insn (shifted_set, gen_rtx_ASHIFT (SImode, set, shift));
-+
-+  emit_insn (gen_atomic_fetch_orsi (old, aligned_mem, shifted_set, model));
-+
-+  emit_move_insn (old, gen_rtx_ASHIFTRT (SImode, old, shift));
-+
-+  emit_move_insn (operands[0], gen_lowpart (QImode, old));
-+
-+  DONE;
-+})
--- 
-2.43.5
-
package/gcc/14.3.0/0004-libsanitizer-Fix-build-with-glibc-2.42.patch deleted +0 -81
deleted file mode 100644
index 13f7f469c4..0000000000
@@ -1,81 +0,0 @@
-From d32ece49d32b00448d967e7dbc6900fb25cbc775 Mon Sep 17 00:00:00 2001
-From: Florian Weimer <[email protected]>
-Date: Fri, 2 May 2025 17:41:43 +0200
-Subject: [PATCH] libsanitizer: Fix build with glibc 2.42
-
-The termio structure will be removed from glibc 2.42.  It has
-been deprecated since the late 80s/early 90s.
-
-Cherry-picked from LLVM commit 59978b21ad9c65276ee8e14f26759691b8a65763
-("[sanitizer_common] Remove interceptors for deprecated struct termio
-(#137403)").
-
-Co-Authored-By: Tom Stellard <[email protected]>
-
-libsanitizer/
-
-	* sanitizer_common/sanitizer_common_interceptors_ioctl.inc: Cherry
-	picked from LLVM commit 59978b21ad9c65276ee8e14f26759691b8a65763.
-	* sanitizer_common/sanitizer_platform_limits_posix.cpp: Likewise.
-	* sanitizer_common/sanitizer_platform_limits_posix.h: Likewise.
-
-Upstream: 1789c57dc97ea2f9819ef89e28bf17208b6208e7 (gcc master branch)
-Upstream: d32ece49d32b00448d967e7dbc6900fb25cbc775 (gcc 15.x branch)
-Signed-off-by: Thomas Petazzoni <[email protected]>
----
- .../sanitizer_common_interceptors_ioctl.inc               | 8 --------
- .../sanitizer_common/sanitizer_platform_limits_posix.cpp  | 3 ---
- .../sanitizer_common/sanitizer_platform_limits_posix.h    | 1 -
- 3 files changed, 12 deletions(-)
-
-diff --git a/libsanitizer/sanitizer_common/sanitizer_common_interceptors_ioctl.inc b/libsanitizer/sanitizer_common/sanitizer_common_interceptors_ioctl.inc
-index 49ec4097c90..dda11daa77f 100644
---- a/libsanitizer/sanitizer_common/sanitizer_common_interceptors_ioctl.inc
-+++ b/libsanitizer/sanitizer_common/sanitizer_common_interceptors_ioctl.inc
-@@ -338,17 +338,9 @@ static void ioctl_table_fill() {
-   _(SOUND_PCM_WRITE_CHANNELS, WRITE, sizeof(int));
-   _(SOUND_PCM_WRITE_FILTER, WRITE, sizeof(int));
-   _(TCFLSH, NONE, 0);
--#if SANITIZER_GLIBC
--  _(TCGETA, WRITE, struct_termio_sz);
--#endif
-   _(TCGETS, WRITE, struct_termios_sz);
-   _(TCSBRK, NONE, 0);
-   _(TCSBRKP, NONE, 0);
--#if SANITIZER_GLIBC
--  _(TCSETA, READ, struct_termio_sz);
--  _(TCSETAF, READ, struct_termio_sz);
--  _(TCSETAW, READ, struct_termio_sz);
--#endif
-   _(TCSETS, READ, struct_termios_sz);
-   _(TCSETSF, READ, struct_termios_sz);
-   _(TCSETSW, READ, struct_termios_sz);
-diff --git a/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cpp b/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cpp
-index c87d5ef42c9..7bbc6f2edac 100644
---- a/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cpp
-+++ b/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cpp
-@@ -485,9 +485,6 @@ unsigned struct_ElfW_Phdr_sz = sizeof(Elf_Phdr);
-   unsigned struct_input_id_sz = sizeof(struct input_id);
-   unsigned struct_mtpos_sz = sizeof(struct mtpos);
-   unsigned struct_rtentry_sz = sizeof(struct rtentry);
--#if SANITIZER_GLIBC || SANITIZER_ANDROID
--  unsigned struct_termio_sz = sizeof(struct termio);
--#endif
-   unsigned struct_vt_consize_sz = sizeof(struct vt_consize);
-   unsigned struct_vt_sizes_sz = sizeof(struct vt_sizes);
-   unsigned struct_vt_stat_sz = sizeof(struct vt_stat);
-diff --git a/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h b/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
-index c07f7cd0b0d..a80df656826 100644
---- a/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
-+++ b/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
-@@ -1029,7 +1029,6 @@ extern unsigned struct_hd_geometry_sz;
- extern unsigned struct_input_absinfo_sz;
- extern unsigned struct_input_id_sz;
- extern unsigned struct_mtpos_sz;
--extern unsigned struct_termio_sz;
- extern unsigned struct_vt_consize_sz;
- extern unsigned struct_vt_sizes_sz;
- extern unsigned struct_vt_stat_sz;
--- 
-2.50.1
-
package/gcc/14.3.0/0005--libcody-Make-it-buildable-by-C-11-to-C-26.patch deleted +0 -261
deleted file mode 100644
index f9f983b464..0000000000
@@ -1,261 +0,0 @@
-From daa3e1ead791bc58208043cfc4595ba1a78cdd34 Mon Sep 17 00:00:00 2001
-From: Jakub Jelinek <[email protected]>
-Date: Fri, 21 Nov 2025 16:25:58 +0100
-Subject: [PATCH] libcody: Make it buildable by C++11 to C++26
-
-The following builds with -std=c++11 and c++14 and c++17 and c++20 and c++23
-and c++26.
-
-I see the u8 string literals are mixed e.g. with strerror, so in
--fexec-charset=IBM1047 there will still be garbage, so am not 100% sure if
-the u8 literals everywhere are worth it either.
-
-2025-11-21  Jakub Jelinek  <[email protected]>
-
-	* cody.hh (S2C): For __cpp_char8_t >= 201811 use char8_t instead of
-	char in argument type.
-	(MessageBuffer::Space): Revert 2025-11-15 change.
-	(MessageBuffer::Append): For __cpp_char8_t >= 201811 add overload
-	with char8_t const * type of first argument.
-	(Packet::Packet): Similarly for first argument.
-	* client.cc (CommunicationError, Client::ProcessResponse,
-	Client::Connect, ConnectResponse, PathnameResponse, OKResponse,
-	IncludeTranslateResponse): Cast u8 string literals to (const char *)
-	where needed.
-	* server.cc (Server::ProcessRequests, ConnectRequest): Likewise.
-
-(cherry picked from commit 07a767c7a50d1daae8ef7d4aba73fe53ad40c0b7)
-Signed-off-by: Marcus Hoffmann <[email protected]>
-Upstream: https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=daa3e1ead791bc58208043cfc4595ba1a78cdd34
----
- libcody/client.cc | 36 +++++++++++++++++++-----------------
- libcody/cody.hh   | 22 ++++++++++++++++++++++
- libcody/server.cc | 28 ++++++++++++++--------------
- 3 files changed, 55 insertions(+), 31 deletions(-)
-
-diff --git a/libcody/client.cc b/libcody/client.cc
-index ae69d190cb7..147fecdbe50 100644
---- a/libcody/client.cc
-+++ b/libcody/client.cc
-@@ -97,7 +97,7 @@ int Client::CommunicateWithServer ()
- 
- static Packet CommunicationError (int err)
- {
--  std::string e {u8"communication error:"};
-+  std::string e {(const char *) u8"communication error:"};
-   e.append (strerror (err));
- 
-   return Packet (Client::PC_ERROR, std::move (e));
-@@ -110,33 +110,34 @@ Packet Client::ProcessResponse (std::vector<std::string> &words,
-     {
-       if (e == EINVAL)
- 	{
--	  std::string msg (u8"malformed string '");
-+	  std::string msg ((const char *) u8"malformed string '");
- 	  msg.append (words[0]);
--	  msg.append (u8"'");
-+	  msg.append ((const char *) u8"'");
- 	  return Packet (Client::PC_ERROR, std::move (msg));
- 	}
-       else
--	return Packet (Client::PC_ERROR, u8"missing response");
-+	return Packet (Client::PC_ERROR, (const char *) u8"missing response");
-     }
- 
-   Assert (!words.empty ());
--  if (words[0] == u8"ERROR")
-+  if (words[0] == (const char *) u8"ERROR")
-     return Packet (Client::PC_ERROR,
--		   words.size () == 2 ? words[1]: u8"malformed error response");
-+		   words.size () == 2 ? words[1]
-+		   : (const char *) u8"malformed error response");
- 
-   if (isLast && !read.IsAtEnd ())
-     return Packet (Client::PC_ERROR,
--		   std::string (u8"unexpected extra response"));
-+		   std::string ((const char *) u8"unexpected extra response"));
- 
-   Assert (code < Detail::RC_HWM);
-   Packet result (responseTable[code] (words));
-   result.SetRequest (code);
-   if (result.GetCode () == Client::PC_ERROR && result.GetString ().empty ())
-     {
--      std::string msg {u8"malformed response '"};
-+      std::string msg {(const char *) u8"malformed response '"};
- 
-       read.LexedLine (msg);
--      msg.append (u8"'");
-+      msg.append ((const char *) u8"'");
-       result.GetString () = std::move (msg);
-     }
-   else if (result.GetCode () == Client::PC_CONNECT)
-@@ -199,7 +200,7 @@ Packet Client::Connect (char const *agent, char const *ident,
- 			  size_t alen, size_t ilen)
- {
-   write.BeginLine ();
--  write.AppendWord (u8"HELLO");
-+  write.AppendWord ((const char *) u8"HELLO");
-   write.AppendInteger (Version);
-   write.AppendWord (agent, true, alen);
-   write.AppendWord (ident, true, ilen);
-@@ -211,7 +212,8 @@ Packet Client::Connect (char const *agent, char const *ident,
- // HELLO $version $agent [$flags]
- Packet ConnectResponse (std::vector<std::string> &words)
- {
--  if (words[0] == u8"HELLO" && (words.size () == 3 || words.size () == 4))
-+  if (words[0] == (const char *) u8"HELLO"
-+      && (words.size () == 3 || words.size () == 4))
-     {
-       char *eptr;
-       unsigned long val = strtoul (words[1].c_str (), &eptr, 10);
-@@ -247,7 +249,7 @@ Packet Client::ModuleRepo ()
- // PATHNAME $dir | ERROR
- Packet PathnameResponse (std::vector<std::string> &words)
- {
--  if (words[0] == u8"PATHNAME" && words.size () == 2)
-+  if (words[0] == (const char *) u8"PATHNAME" && words.size () == 2)
-     return Packet (Client::PC_PATHNAME, std::move (words[1]));
- 
-   return Packet (Client::PC_ERROR, u8"");
-@@ -256,7 +258,7 @@ Packet PathnameResponse (std::vector<std::string> &words)
- // OK or ERROR
- Packet OKResponse (std::vector<std::string> &words)
- {
--  if (words[0] == u8"OK")
-+  if (words[0] == (const char *) u8"OK")
-     return Packet (Client::PC_OK);
-   else
-     return Packet (Client::PC_ERROR,
-@@ -319,11 +321,11 @@ Packet Client::IncludeTranslate (char const *include, Flags flags, size_t ilen)
- // PATHNAME $cmifile
- Packet IncludeTranslateResponse (std::vector<std::string> &words)
- {
--  if (words[0] == u8"BOOL" && words.size () == 2)
-+  if (words[0] == (const char *) u8"BOOL" && words.size () == 2)
-     {
--      if (words[1] == u8"FALSE")
--	return Packet (Client::PC_BOOL, 0);
--      else if (words[1] == u8"TRUE")
-+      if (words[1] == (const char *) u8"FALSE")
-+	return Packet (Client::PC_BOOL);
-+      else if (words[1] == (const char *) u8"TRUE")
- 	return Packet (Client::PC_BOOL, 1);
-       else
- 	return Packet (Client::PC_ERROR, u8"");
-diff --git a/libcody/cody.hh b/libcody/cody.hh
-index 789ce9e70b7..93bce93aa94 100644
---- a/libcody/cody.hh
-+++ b/libcody/cody.hh
-@@ -47,12 +47,21 @@ namespace Detail  {
- 
- // C++11 doesn't have utf8 character literals :(
- 
-+#if __cpp_char8_t >= 201811
-+template<unsigned I>
-+constexpr char S2C (char8_t const (&s)[I])
-+{
-+  static_assert (I == 2, "only single octet strings may be converted");
-+  return s[0];
-+}
-+#else
- template<unsigned I>
- constexpr char S2C (char const (&s)[I])
- {
-   static_assert (I == 2, "only single octet strings may be converted");
-   return s[0];
- }
-+#endif
- 
- /// Internal buffering class.  Used to concatenate outgoing messages
- /// and Lex incoming ones.
-@@ -123,6 +132,13 @@ public:
-       Space ();
-     Append (str, maybe_quote, len);
-   }
-+#if __cpp_char8_t >= 201811
-+  void AppendWord (char8_t const *str, bool maybe_quote = false,
-+		   size_t len = ~size_t (0))
-+  {
-+    AppendWord ((const char *) str, maybe_quote, len);
-+  }
-+#endif
-   /// Add a word as with AppendWord
-   /// @param str the string to append
-   /// @param maybe_quote string might need quoting, as for Append
-@@ -264,6 +280,12 @@ public:
-     : string (s), cat (STRING), code (c)
-   {
-   }
-+#if __cpp_char8_t >= 201811
-+  Packet (unsigned c, const char8_t *s)
-+    : string ((const char *) s), cat (STRING), code (c)
-+  {
-+  }
-+#endif
-   Packet (unsigned c, std::vector<std::string> &&v)
-     : vector (std::move (v)), cat (VECTOR), code (c)
-   {
-diff --git a/libcody/server.cc b/libcody/server.cc
-index e2fa069bb93..c18469fae84 100644
---- a/libcody/server.cc
-+++ b/libcody/server.cc
-@@ -36,12 +36,12 @@ static RequestPair
-   const requestTable[Detail::RC_HWM] =
-   {
-     // Same order as enum RequestCode
--    RequestPair {u8"HELLO", nullptr},
--    RequestPair {u8"MODULE-REPO", ModuleRepoRequest},
--    RequestPair {u8"MODULE-EXPORT", ModuleExportRequest},
--    RequestPair {u8"MODULE-IMPORT", ModuleImportRequest},
--    RequestPair {u8"MODULE-COMPILED", ModuleCompiledRequest},
--    RequestPair {u8"INCLUDE-TRANSLATE", IncludeTranslateRequest},
-+    RequestPair {(const char *) u8"HELLO", nullptr},
-+    RequestPair {(const char *) u8"MODULE-REPO", ModuleRepoRequest},
-+    RequestPair {(const char *) u8"MODULE-EXPORT", ModuleExportRequest},
-+    RequestPair {(const char *) u8"MODULE-IMPORT", ModuleImportRequest},
-+    RequestPair {(const char *) u8"MODULE-COMPILED", ModuleCompiledRequest},
-+    RequestPair {(const char *) u8"INCLUDE-TRANSLATE", IncludeTranslateRequest},
-   };
- }
- 
-@@ -135,21 +135,21 @@ void Server::ProcessRequests (void)
- 	  std::string msg;
- 
- 	  if (err > 0)
--	    msg = u8"error processing '";
-+	    msg = (const char *) u8"error processing '";
- 	  else if (ix >= Detail::RC_HWM)
--	    msg = u8"unrecognized '";
-+	    msg = (const char *) u8"unrecognized '";
- 	  else if (IsConnected () && ix == Detail::RC_CONNECT)
--	    msg = u8"already connected '";
-+	    msg = (const char *) u8"already connected '";
- 	  else if (!IsConnected () && ix != Detail::RC_CONNECT)
--	    msg = u8"not connected '";
-+	    msg = (const char *) u8"not connected '";
- 	  else
--	    msg = u8"malformed '";
-+	    msg = (const char *) u8"malformed '";
- 
- 	  read.LexedLine (msg);
--	  msg.append (u8"'");
-+	  msg.append ((const char *) u8"'");
- 	  if (err > 0)
- 	    {
--	      msg.append (u8" ");
-+	      msg.append ((const char *) u8" ");
- 	      msg.append (strerror (err));
- 	    }
- 	  resolver->ErrorResponse (this, std::move (msg));
-@@ -176,7 +176,7 @@ Resolver *ConnectRequest (Server *s, Resolver *r,
-     return nullptr;
- 
-   if (words.size () == 3)
--    words.emplace_back (u8"");
-+    words.emplace_back ((const char *) u8"");
-   unsigned version = ParseUnsigned (words[1]);
-   if (version == ~0u)
-     return nullptr;
--- 
-2.54.0
-
package/gcc/14.3.0/0006-build-Move-sstream-and-memory-include-above-safe-cty.patch deleted +0 -78
deleted file mode 100644
index e48dd91c18..0000000000
@@ -1,78 +0,0 @@
-From 046776dac7cc74bdbab36f450af80644a045858a Mon Sep 17 00:00:00 2001
-From: Andrew Pinski <[email protected]>
-Date: Mon, 25 Nov 2024 14:03:27 -0800
-Subject: [PATCH] build: Move sstream and memory include above safe-ctype.h
- [PR124830]
-
-This picks r15-5661-gf6e00226a4ca6 to older branches, also moving
-the <memory> include to fix build issues with a C++20 host compiler.
-
-sstream in some versions of libstdc++ include locale which might not have been
-included yet. safe-ctype.h defines the toupper, tolower, etc. as macros so the
-c++ header files needed to be included before hand as comment in system.h says:
-/* Include C++ standard headers before "safe-ctype.h" to avoid GCC
-   poisoning the ctype macros through safe-ctype.h */
-
-I don't understand how it was working before when memory was included after
-safe-ctype.h rather than before. But this makes sstream consistent with the
-other C++ headers.
-
-gcc/ChangeLog:
-
-	PR target/117771
-	PR c/124830
-	* system.h: Move the include of sstream and memory above safe-ctype.h.
-
-Signed-off-by: Andrew Pinski <[email protected]>
-Signed-off-by: Marcus Hoffmann <[email protected]>
-Upstream: https://gcc.gnu.org/git?p=gcc.git;a=commit;h=046776dac7cc74bdbab36f450af80644a045858a
----
- gcc/system.h | 21 +++++++++------------
- 1 file changed, 9 insertions(+), 12 deletions(-)
-
-diff --git a/gcc/system.h b/gcc/system.h
-index b18482c7190..da331f105ba 100644
---- a/gcc/system.h
-+++ b/gcc/system.h
-@@ -222,6 +222,15 @@ extern int fprintf_unlocked (FILE *, const char *, ...);
- #ifdef INCLUDE_FUNCTIONAL
- # include <functional>
- #endif
-+#ifdef INCLUDE_SSTREAM
-+# include <sstream>
-+#endif
-+/* Some of the headers included by <memory> can use "abort" within a
-+   namespace, e.g. "_VSTD::abort();", which fails after we use the
-+   preprocessor to redefine "abort" as "fancy_abort" below.  */
-+#ifdef INCLUDE_MEMORY
-+# include <memory>
-+#endif
- # include <cstring>
- # include <initializer_list>
- # include <new>
-@@ -758,22 +767,10 @@ private:
- #define LIKELY(x) (__builtin_expect ((x), 1))
- #define UNLIKELY(x) (__builtin_expect ((x), 0))
- 
--/* Some of the headers included by <memory> can use "abort" within a
--   namespace, e.g. "_VSTD::abort();", which fails after we use the
--   preprocessor to redefine "abort" as "fancy_abort" below.  */
--
--#ifdef INCLUDE_MEMORY
--# include <memory>
--#endif
--
- #ifdef INCLUDE_MUTEX
- # include <mutex>
- #endif
- 
--#ifdef INCLUDE_SSTREAM
--# include <sstream>
--#endif
--
- #ifdef INCLUDE_MALLOC_H
- #if defined(HAVE_MALLINFO) || defined(HAVE_MALLINFO2)
- #include <malloc.h>
--- 
-2.54.0
-
package/gcc/14.4.0/0001-disable-split-stack-for-non-thread-builds.patch renamed from package/gcc/14.3.0/0001-disable-split-stack-for-non-thread-builds.patch +0 -0
similarity index 100%
rename from package/gcc/14.3.0/0001-disable-split-stack-for-non-thread-builds.patch
rename to package/gcc/14.4.0/0001-disable-split-stack-for-non-thread-builds.patch
package/gcc/14.4.0/0002-libsanitizer-also-undef-_TIME_BITS-in-sanitizer_proc.patch renamed from package/gcc/14.3.0/0002-libsanitizer-also-undef-_TIME_BITS-in-sanitizer_proc.patch +0 -0
similarity index 100%
rename from package/gcc/14.3.0/0002-libsanitizer-also-undef-_TIME_BITS-in-sanitizer_proc.patch
rename to package/gcc/14.4.0/0002-libsanitizer-also-undef-_TIME_BITS-in-sanitizer_proc.patch
package/gcc/Config.in.host +1 -1
index 896bb3cfbb..e80c864cf1 100644
@@ -68,7 +68,7 @@ config BR2_GCC_SUPPORTS_DLANG
 config BR2_GCC_VERSION
 	string
 	default "8.4.0"     if BR2_GCC_VERSION_POWERPC_SPE
-	default "14.3.0"    if BR2_GCC_VERSION_14_X
+	default "14.4.0"    if BR2_GCC_VERSION_14_X
 	default "15.3.0"    if BR2_GCC_VERSION_15_X
 	default "16.1.0"    if BR2_GCC_VERSION_16_X
 	default "arc-2024.12-release" if BR2_GCC_VERSION_ARC
package/gcc/gcc.hash +2 -2
index 0890abc2ea..edd8ab7061 100644
@@ -1,7 +1,7 @@
 # From https://gcc.gnu.org/pub/gcc/releases/gcc-8.4.0/sha512.sum
 sha512  6de904f552a02de33b11ef52312bb664396efd7e1ce3bbe37bfad5ef617f133095b3767b4804bc7fe78df335cb53bc83f1ac055baed40979ce4c2c3e46b70280  gcc-8.4.0.tar.xz
-# From https://gcc.gnu.org/pub/gcc/releases/gcc-14.3.0/sha512.sum
-sha512  cb4e3259640721bbd275c723fe4df53d12f9b1673afb3db274c22c6aa457865dccf2d6ea20b4fd4c591f6152e6d4b87516c402015900f06ce9d43af66d3b7a93  gcc-14.3.0.tar.xz
+# From https://gcc.gnu.org/pub/gcc/releases/gcc-14.4.0/sha512.sum
+sha512  725ed8bdd43ef1726ffe8b5e8615a13e247fac9575b7626ae013a2975d000ea213212dc414b2f2631ac4785c1c8beca85555222faf9904d3b2fa6a3807a83a15  gcc-14.4.0.tar.xz
 # From https://gcc.gnu.org/pub/gcc/releases/gcc-15.3.0/sha512.sum
 sha512  0de9e296153b52c021b1c7e63c9c62151d7a0ac03f23ce6e9f772c1b0eb783f6acdd81cc4567bfe4128a6f64968c2cfc8eff40b36229cba7425349f7d637c654  gcc-15.3.0.tar.xz
 # From https://gcc.gnu.org/pub/gcc/releases/gcc-16.1.0/sha512.sum
Signature · 6 lines
2.47.3

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#3 lore raw
In reply to Bernd Kuhls

Hello Bernd, All,

Le 27/06/2026 à 08:41, Bernd Kuhls a écrit :

Quoted 7 lines

Announcement:
https://gcc.gnu.org/pipermail/gcc-announce/2026/000191.html

GCC 15.3 is a bug-fix release from the GCC 15 branch containing important fixes for regressions and serious bugs in GCC 15.2 with more than 208 bugs fixed since the previous release.

Quoted 7 lines

For the list of bugs fixed in this version, see:
https://gcc.gnu.org/gcc-15/changes.html#15.3

Removed patches which are included in this release, renumbered patch 0003.

Series applied to master. Thanks.

Best regards,
Romain

Quoted 698 lines
---
 .checkpackageignore                           |   2 +-
 ...ce-support-for-atomics.-Fix-PR118280.patch | 286 ------------------
 ...mp-Fix-GCC-build-after-glibc-cd748a6.patch |  77 -----
 ...dy-Make-it-buildable-by-C-11-to-C-26.patch | 261 ----------------
 ...le-split-stack-for-non-thread-builds.patch |   0
 ...config-microblaze-fix-ira-for-GCC15.patch} |   0
 package/gcc/Config.in.host                    |   2 +-
 package/gcc/gcc.hash                          |   4 +-
 8 files changed, 4 insertions(+), 628 deletions(-)
 delete mode 100644 package/gcc/15.2.0/0002-MicroBlaze-Enhance-support-for-atomics.-Fix-PR118280.patch
 delete mode 100644 package/gcc/15.2.0/0004-libgomp-Fix-GCC-build-after-glibc-cd748a6.patch
 delete mode 100644 package/gcc/15.2.0/0005-libcody-Make-it-buildable-by-C-11-to-C-26.patch
 rename package/gcc/{15.2.0 => 15.3.0}/0001-disable-split-stack-for-non-thread-builds.patch (100%)
 rename package/gcc/{15.2.0/0003-gcc-config-microblaze-fix-ira-for-GCC15.patch => 15.3.0/0002-gcc-config-microblaze-fix-ira-for-GCC15.patch} (100%)
.checkpackageignore +1 -1
index 94f3b92d9c..3aed62277a 100644
@@ -350,7 +350,7 @@ package/ftop/0001-overflow.patch lib_patch.Upstream
 package/fxdiv/0001-CMake-don-t-enable-CXX-unless-building-tests-benchma.patch lib_patch.Upstream
 package/fxload/0001-fix-static-build.patch lib_patch.Upstream
 package/gcc/14.3.0/0001-disable-split-stack-for-non-thread-builds.patch lib_patch.Upstream
-package/gcc/15.2.0/0001-disable-split-stack-for-non-thread-builds.patch lib_patch.Upstream
+package/gcc/15.3.0/0001-disable-split-stack-for-non-thread-builds.patch lib_patch.Upstream
 package/gcc/16.1.0/0001-disable-split-stack-for-non-thread-builds.patch lib_patch.Upstream
 package/gcc/8.4.0/0001-xtensa-fix-PR-target-91880.patch lib_patch.Upstream
 package/gcc/8.4.0/0002-Revert-re-PR-target-92095-internal-error-with-O1-mcp.patch lib_patch.Upstream
package/gcc/15.2.0/0002-MicroBlaze-Enhance-support-for-atomics.-Fix-PR118280.patch deleted +0 -286
deleted file mode 100644
index 958339bf6c..0000000000
@@ -1,286 +0,0 @@
-From f14e0b13a5abbc15b4b3b4c0c6a125bbb0509465 Mon Sep 17 00:00:00 2001
-From: Gopi Kumar Bulusu <[email protected]>
-Date: Thu, 10 Jul 2025 12:44:44 +0530
-Subject: [PATCH] MicroBlaze : Enhance support for atomics. Fix PR118280
-
-Atomic support enhanced to fix existing atomic_compare_and_swapsi pattern
-to handle side effects; new patterns atomic_fetch_op and atomic_test_and_set
-added. As MicroBlaze has no QImode test/set instruction, use shift magic
-to implement atomic_test_and_set. This fixes PR118280.
-
-Files Changed
-
-* gcc/config/microblaze/iterators.md: New
-* microblaze-protos.h/microblaze.cc : Add microblaze_subword_address
-* gcc/config/microblaze/microblaze.md: constants: Add UNSPECV_CAS_BOOL,
-  UNSPECV_CAS_MEM, UNSPECV_CAS_VAL, UNSPECV_ATOMIC_FETCH_OP
-  type: add atomic
-* gcc/config/microblaze/sync.md: Add atomic_fetch_<atomic_optab>si
-  atomic_test_and_set
-
-Fixes: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118280
-Upstream: https://patchwork.ozlabs.org/project/gcc/list/?series=466193
-
-Signed-off-by: Kirk Meyer <[email protected]>
-Signed-off-by: David Holsgrove <[email protected]>
-Signed-off-by: Gopi Kumar Bulusu <[email protected]>
----
- gcc/config/microblaze/iterators.md        |  25 +++++
- gcc/config/microblaze/microblaze-protos.h |   1 +
- gcc/config/microblaze/microblaze.cc       |  28 ++++++
- gcc/config/microblaze/microblaze.h        |   2 +-
- gcc/config/microblaze/microblaze.md       |   7 +-
- gcc/config/microblaze/sync.md             | 107 ++++++++++++++++++----
- 6 files changed, 150 insertions(+), 20 deletions(-)
- create mode 100644 gcc/config/microblaze/iterators.md
-
-diff --git a/gcc/config/microblaze/iterators.md b/gcc/config/microblaze/iterators.md
-new file mode 100644
-index 00000000000..2ffc2422a0a
---- /dev/null
-+++ b/gcc/config/microblaze/iterators.md
-@@ -0,0 +1,25 @@
-+;; Iterator definitions for GCC MicroBlaze machine description files.
-+;; Copyright (C) 2012-2024 Free Software Foundation, Inc.
-+;;
-+;; This file is part of GCC.
-+;;
-+;; GCC is free software; you can redistribute it and/or modify
-+;; it under the terms of the GNU General Public License as published by
-+;; the Free Software Foundation; either version 3, or (at your option)
-+;; any later version.
-+;;
-+;; GCC is distributed in the hope that it will be useful,
-+;; but WITHOUT ANY WARRANTY; without even the implied warranty of
-+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-+;; GNU General Public License for more details.
-+;;
-+;; You should have received a copy of the GNU General Public License
-+;; along with GCC; see the file COPYING3.  If not see
-+;; <http://www.gnu.org/licenses/>.
-+
-+; atomics code iterator
-+(define_code_iterator any_atomic [plus ior xor and])
-+
-+; atomics code attribute
-+(define_code_attr atomic_optab
-+  [(plus "add") (ior "or") (xor "xor") (and "and")])
-diff --git a/gcc/config/microblaze/microblaze-protos.h b/gcc/config/microblaze/microblaze-protos.h
-index 90b79cfe716..1cee0b3096c 100644
---- a/gcc/config/microblaze/microblaze-protos.h
-+++ b/gcc/config/microblaze/microblaze-protos.h
-@@ -62,6 +62,7 @@ extern int symbol_mentioned_p (rtx);
- extern int label_mentioned_p (rtx);
- extern bool microblaze_cannot_force_const_mem (machine_mode, rtx);
- extern void microblaze_eh_return (rtx op0);
-+extern void microblaze_subword_address (rtx, rtx *, rtx *);
- #endif  /* RTX_CODE */
- 
- /* Declare functions in microblaze-c.cc.  */
-diff --git a/gcc/config/microblaze/microblaze.cc b/gcc/config/microblaze/microblaze.cc
-index 4b7f0a1a5e0..78b9428ef3b 100644
---- a/gcc/config/microblaze/microblaze.cc
-+++ b/gcc/config/microblaze/microblaze.cc
-@@ -1300,6 +1300,34 @@ microblaze_expand_block_move (rtx dest, rtx src, rtx length, rtx align_rtx)
-   return false;
- }
- 
-+/* Compute memory address *aligned_mem and corresponding shift value (*shift)
-+   from a QImode memory reference MEM */
-+void
-+microblaze_subword_address (rtx mem, rtx *aligned_mem, rtx *shift)
-+{
-+  /* Align the memory address to a word.  */
-+  rtx addr = force_reg (Pmode, XEXP (mem, 0));
-+
-+  rtx addr_mask = gen_int_mode (-4, Pmode);
-+
-+  rtx aligned_addr = gen_reg_rtx (Pmode);
-+
-+  emit_move_insn (aligned_addr,  gen_rtx_AND (Pmode, addr, addr_mask));
-+
-+  *aligned_mem = change_address (mem, SImode, aligned_addr);
-+
-+  /* Calculate the shift amount.  */
-+  emit_move_insn (*shift, gen_rtx_AND (SImode, addr, gen_int_mode (3, SImode)));
-+
-+  if (TARGET_LITTLE_ENDIAN == 0) {
-+    emit_move_insn (*shift,
-+		    gen_rtx_MINUS (SImode, gen_int_mode (3, SImode), *shift));
-+  }
-+
-+  emit_move_insn (*shift, gen_rtx_ASHIFT (SImode, *shift,
-+					  gen_int_mode (3, SImode)));
-+}
-+
- static bool
- microblaze_rtx_costs (rtx x, machine_mode mode, int outer_code ATTRIBUTE_UNUSED,
- 		      int opno ATTRIBUTE_UNUSED, int *total,
-diff --git a/gcc/config/microblaze/microblaze.h b/gcc/config/microblaze/microblaze.h
-index 2390542434b..b2e9ccde363 100644
---- a/gcc/config/microblaze/microblaze.h
-+++ b/gcc/config/microblaze/microblaze.h
-@@ -57,7 +57,7 @@ extern enum pipeline_type microblaze_pipe;
- 
- /* Default target_flags if no switches are specified  */
- #define TARGET_DEFAULT      (MASK_SOFT_MUL | MASK_SOFT_DIV | MASK_SOFT_FLOAT \
--                             | TARGET_ENDIAN_DEFAULT)
-+			      | TARGET_ENDIAN_DEFAULT)
- 
- /* Do we have CLZ?  */
- #define TARGET_HAS_CLZ      (TARGET_PATTERN_COMPARE && microblaze_has_clz)
-diff --git a/gcc/config/microblaze/microblaze.md b/gcc/config/microblaze/microblaze.md
-index 45c48a71e8d..270df8da0c5 100644
---- a/gcc/config/microblaze/microblaze.md
-+++ b/gcc/config/microblaze/microblaze.md
-@@ -21,6 +21,7 @@
- 
- (include "constraints.md")
- (include "predicates.md")
-+(include "iterators.md")
- 
- ;;----------------------------------------------------
- ;; Constants
-@@ -43,6 +44,10 @@
-   (UNSPEC_TLS           106)    ;; jump table
-   (UNSPEC_SET_TEXT      107)    ;; set text start
-   (UNSPEC_TEXT          108)    ;; data text relative
-+  (UNSPECV_CAS_BOOL     201)    ;; compare and swap (bool)
-+  (UNSPECV_CAS_VAL      202)    ;; compare and swap (val)
-+  (UNSPECV_CAS_MEM      203)    ;; compare and swap (mem)
-+  (UNSPECV_ATOMIC_FETCH_OP     204)    ;; atomic fetch op
- ])
- 
- (define_c_enum "unspec" [
-@@ -79,7 +84,7 @@
- ;; bshift 	Shift operations
- 
- (define_attr "type"
--  "unknown,branch,jump,call,load,store,move,arith,darith,imul,idiv,icmp,multi,nop,no_delay_arith,no_delay_load,no_delay_store,no_delay_imul,no_delay_move,bshift,fadd,frsub,fmul,fdiv,fcmp,fsl,fsqrt,fcvt,trap"
-+  "unknown,branch,jump,call,load,store,move,arith,darith,imul,idiv,icmp,multi,nop,no_delay_arith,no_delay_load,no_delay_store,no_delay_imul,no_delay_move,bshift,fadd,frsub,fmul,fdiv,fcmp,fsl,fsqrt,fcvt,trap,atomic"
-   (const_string "unknown"))
- 
- ;; Main data type used by the insn
-diff --git a/gcc/config/microblaze/sync.md b/gcc/config/microblaze/sync.md
-index db7b11e5379..6478ab6dcac 100644
---- a/gcc/config/microblaze/sync.md
-+++ b/gcc/config/microblaze/sync.md
-@@ -18,26 +18,97 @@
- ;; <http://www.gnu.org/licenses/>.
- 
- (define_insn "atomic_compare_and_swapsi"
--  [(match_operand:SI 0 "register_operand" "=&d")	;; bool output
--   (match_operand:SI 1 "register_operand" "=&d")	;; val output
--   (match_operand:SI 2 "nonimmediate_operand" "+Q")	;; memory
--   (match_operand:SI 3 "register_operand" "d")		;; expected value
--   (match_operand:SI 4 "register_operand" "d")		;; desired value
--   (match_operand:SI 5 "const_int_operand" "")		;; is_weak
--   (match_operand:SI 6 "const_int_operand" "")		;; mod_s
--   (match_operand:SI 7 "const_int_operand" "")		;; mod_f
-+  [(set (match_operand:SI 0 "register_operand" "=&d")		;; bool output
-+        (unspec_volatile:SI
-+          [(match_operand:SI 2 "nonimmediate_operand" "+Q")	;; memory
-+           (match_operand:SI 3 "register_operand" "d")		;; expected value
-+           (match_operand:SI 4 "register_operand" "d")]		;; desired value
-+          UNSPECV_CAS_BOOL))
-+   (set (match_operand:SI 1 "register_operand" "=&d")		;; val output
-+        (unspec_volatile:SI [(const_int 0)] UNSPECV_CAS_VAL))
-+   (set (match_dup 2)
-+        (unspec_volatile:SI [(const_int 0)] UNSPECV_CAS_MEM))
-+   (match_operand:SI 5 "const_int_operand" "")			;; is_weak
-+   (match_operand:SI 6 "const_int_operand" "")			;; mod_s
-+   (match_operand:SI 7 "const_int_operand" "")			;; mod_f
-    (clobber (match_scratch:SI 8 "=&d"))]
-   ""
-   {
--    output_asm_insn ("addc \tr0,r0,r0", operands);
--    output_asm_insn ("lwx  \t%1,%y2,r0", operands);
--    output_asm_insn ("addic\t%8,r0,0", operands);
--    output_asm_insn ("bnei \t%8,.-8", operands);
--    output_asm_insn ("cmp  \t%0,%1,%3", operands);
--    output_asm_insn ("bnei \t%0,.+16", operands);
--    output_asm_insn ("swx  \t%4,%y2,r0", operands);
--    output_asm_insn ("addic\t%8,r0,0", operands);
--    output_asm_insn ("bnei \t%8,.-28", operands);
--    return "";
-+    return "add  \t%0,r0,r0\n\t"
-+      "lwx  \t%1,%y2,r0\n\t"
-+      "addic\t%8,r0,0\n\t"
-+      "bnei \t%8,.-8\n\t"
-+      "cmp  \t%8,%1,%3\n\t"
-+      "bnei \t%8,.+20\n\t"
-+      "swx  \t%4,%y2,r0\n\t"
-+      "addic\t%8,r0,0\n\t"
-+      "bnei \t%8,.-28\n\t"
-+      "addi \t%0,r0,1";
-   }
-+  [(set_attr "type"	"atomic")
-+  (set_attr "mode"	"SI")
-+  (set_attr "length"	"40")]
- )
-+
-+;;
-+;;
-+;;
-+;;
-+(define_insn "atomic_fetch_<atomic_optab>si"
-+  [(set (match_operand:SI 0 "register_operand" "=&d")
-+	(match_operand:SI 1 "memory_operand" "+Q"))
-+   (set (match_dup 1)
-+	(unspec_volatile:SI
-+	  [(any_atomic:SI (match_dup 1)
-+		   (match_operand:SI 2 "register_operand" "d"))
-+	   (match_operand:SI 3 "const_int_operand")] ;; model
-+	 UNSPECV_ATOMIC_FETCH_OP))
-+   (clobber (match_scratch:SI 4 "=&d"))]	  ;; tmp_1
-+  ""
-+  {
-+    return 
-+      "lwx  \t%0,%y1,r0\n\t"
-+      "addic\t%4,r0,0\n\t"
-+      "bnei \t%4,.-8\n\t"
-+      "<atomic_optab>\t%4,%0,%2\n\t"
-+      "swx  \t%4,%y1,r0\n\t"
-+      "addic\t%4,r0,0\n\t"
-+      "bnei \t%4,.-24";
-+  }
-+  [(set_attr "type"	"atomic")
-+  (set_attr "mode"	"SI")
-+  (set_attr "length"	"28")])
-+
-+;;
-+;; MicroBlaze only supports lx/sx instructions for word mode only
-+;;
-+;; Use shift|mask magic to implement atomic_test_and_set using lwx/swx
-+;;
-+(define_expand "atomic_test_and_set"
-+  [(match_operand:QI 0 "register_operand" "")    ;; bool output
-+   (match_operand:QI 1 "memory_operand" "m")    ;; memory
-+   (match_operand:SI 2 "const_int_operand" "")]  ;; model
-+  ""
-+{
-+  rtx old = gen_reg_rtx (SImode);
-+  rtx mem = operands[1];
-+  rtx model = operands[2];
-+  rtx set = gen_reg_rtx (SImode);
-+  rtx aligned_mem = gen_reg_rtx (SImode);
-+  rtx shift = gen_reg_rtx (SImode);
-+
-+  microblaze_subword_address (mem, &aligned_mem, &shift);
-+
-+  emit_move_insn (set, GEN_INT (1));
-+  rtx shifted_set = gen_reg_rtx (SImode);
-+
-+  emit_move_insn (shifted_set, gen_rtx_ASHIFT (SImode, set, shift));
-+
-+  emit_insn (gen_atomic_fetch_orsi (old, aligned_mem, shifted_set, model));
-+
-+  emit_move_insn (old, gen_rtx_ASHIFTRT (SImode, old, shift));
-+
-+  emit_move_insn (operands[0], gen_lowpart (QImode, old));
-+
-+  DONE;
-+})
--- 
-2.50.1
-
package/gcc/15.2.0/0004-libgomp-Fix-GCC-build-after-glibc-cd748a6.patch deleted +0 -77
deleted file mode 100644
index e24c4dd57e..0000000000
@@ -1,77 +0,0 @@
-From 9c9d3aef2f66625d9cb03ef4baee10ed6648e681 Mon Sep 17 00:00:00 2001
-From: Frank Scheiner <[email protected]>
-Date: Tue, 25 Nov 2025 16:58:23 -0700
-Subject: [PATCH] [PATCH] libgomp: Fix GCC build after glibc@cd748a6
-
-The toolchain autobuilds for ia64 failed ([1]) yesterday with:
-
-```
-libtool: compile:  /usr/src/t2-src/src.gcc.ia64-toolchain.251121.040147.278918/gcc-16-20251116/objs/gcc/xgcc-wrapper /usr/src/t2-src/src.gcc.ia64-toolchain.251121.040147.278918/gcc-16-20251116/objs/./gcc/xgcc -B/usr/src/t2-src/src.gcc.ia64-toolchain.251121.040147.278918/gcc-16-20251116/objs/./gcc/ -B/usr/src/t2-src/build/ia64-toolchain-24-svn-generic-ia64-itanium2-cross-linux/TOOLCHAIN/cross/usr/ia64-t2-linux-gnu/bin/ -B/usr/src/t2-src/build/ia64-toolchain-24-svn-generic-ia64-itanium2-cross-linux/TOOLCHAIN/cross/usr/ia64-t2-linux-gnu/lib/ -isystem /usr/src/t2-src/build/ia64-toolchain-24-svn-generic-ia64-itanium2-cross-linux/TOOLCHAIN/cross/usr/ia64-t2-linux-gnu/include -isystem /usr/src/t2-src/build/ia64-toolchain-24-svn-generic-ia64-itanium2-cross-linux/TOOLCHAIN/cross/usr/ia64-t2-linux-gnu/sys-include --sysroot=/usr/src/t2-src/build/ia64-toolchain-24-svn-generic-ia64-itanium2-cross-linux -DHAVE_CONFIG_H -I. -I../../../libgomp -I../../../libgomp/config/linux/ia64 -I../../../libgomp
 /config/linux -I../../../libgomp/config/posix -I../../../libgomp -I../../../libgomp/../include -Wall -Werror -ftls-model=initial-exec -pthread -DUSING_INITIAL_EXEC_TLS -g -O2 -MT oacc-cuda.lo -MD -MP -MF .deps/oacc-cuda.Tpo -c ../../../libgomp/oacc-cuda.c -o oacc-cuda.o >/dev/null 2>&1
-../../../libgomp/affinity-fmt.c: In function 'gomp_display_affinity':
-../../../libgomp/affinity-fmt.c:330:25: error: initialization discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers]
-  330 |               char *q = strchr (p + 1, '}');
-      |                         ^~~~~~
-```
-
-[1]: https://github.com/johnny-mnemonic/toolchain-autobuilds/actions/runs/19559235881
-
-This is not ia64-specific but due to the changes in the recent glibc
-commit "Implement C23 const-preserving standard library macros" (i.e.
-[2]) now requiring "char *q" to be a pointer to a const char to compile
-w/o error because of the return value of strchr() .
-
-[2]: https://sourceware.org/git/?p=glibc.git;a=commit;h=cd748a63ab1a7ae846175c532a3daab341c62690
-
-Also see the related discussion at [3] for details.
-
-[3]: https://sourceware.org/pipermail/libc-alpha/2025-November/172809.html
-
-The GCC build is fixed by the attached patch, see [4] for a successful
-build with the then latest snapshots of binutils, glibc and GCC.
-
-[4]: https://github.com/johnny-mnemonic/toolchain-autobuilds/actions/runs/19585045571
-
-Idea from Tomas, attached patch from me.
-
-Cheers,
-Frank
-
-0001-libgomp-Fix-GCC-build-after-glibc-cd748a6.patch
-
-From 80af9c233c694904174b54a59404d311378f41f8 Mon Sep 17 00:00:00 2001
-From: Frank Scheiner <[email protected]>
-Date: Sat, 22 Nov 2025 14:58:10 +0100
-Subject: [PATCH] libgomp: Fix GCC build after glibc@cd748a6
-
-char *q needs to be a pointer to a const char for the return value of
-strchr() with glibc after "Implement C23 const-preserving standard library
-macros".
-
-[glibc@cd748a6]: https://sourceware.org/git/?p=glibc.git;a=commit;h=cd748a63ab1a7ae846175c532a3daab341c62690
-
-libgomp/ChangeLog:
-	* affinity-fmt.c: Make char *q a pointer to a const char.
-
-Upstream: https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=9c9d3aef2f66625d9cb03ef4baee10ed6648e681
-
-Signed-off-by: Bernd Kuhls <[email protected]>
----
- libgomp/affinity-fmt.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/libgomp/affinity-fmt.c b/libgomp/affinity-fmt.c
-index 1fae893cbaca..8d3df5f1cd55 100644
---- a/libgomp/affinity-fmt.c
-+++ b/libgomp/affinity-fmt.c
-@@ -327,7 +327,7 @@ gomp_display_affinity (char *buffer, size_t size,
- 	      }
- 	  if (c == '{')
- 	    {
--	      char *q = strchr (p + 1, '}');
-+	      const char *q = strchr (p + 1, '}');
- 	      if (q)
- 		gomp_fatal ("unsupported long type name '%.*s' in affinity "
- 			    "format", (int) (q - (p + 1)), p + 1);
--- 
-2.43.7
-
package/gcc/15.2.0/0005-libcody-Make-it-buildable-by-C-11-to-C-26.patch deleted +0 -261
deleted file mode 100644
index 8788a0c0bd..0000000000
@@ -1,261 +0,0 @@
-From 1f0224e8ddb3d3d0bf4c7a11769b193a4df5cc37 Mon Sep 17 00:00:00 2001
-From: Jakub Jelinek <[email protected]>
-Date: Fri, 21 Nov 2025 16:25:58 +0100
-Subject: [PATCH] libcody: Make it buildable by C++11 to C++26
-
-The following builds with -std=c++11 and c++14 and c++17 and c++20 and c++23
-and c++26.
-
-I see the u8 string literals are mixed e.g. with strerror, so in
--fexec-charset=IBM1047 there will still be garbage, so am not 100% sure if
-the u8 literals everywhere are worth it either.
-
-2025-11-21  Jakub Jelinek  <[email protected]>
-
-	* cody.hh (S2C): For __cpp_char8_t >= 201811 use char8_t instead of
-	char in argument type.
-	(MessageBuffer::Space): Revert 2025-11-15 change.
-	(MessageBuffer::Append): For __cpp_char8_t >= 201811 add overload
-	with char8_t const * type of first argument.
-	(Packet::Packet): Similarly for first argument.
-	* client.cc (CommunicationError, Client::ProcessResponse,
-	Client::Connect, ConnectResponse, PathnameResponse, OKResponse,
-	IncludeTranslateResponse): Cast u8 string literals to (const char *)
-	where needed.
-	* server.cc (Server::ProcessRequests, ConnectRequest): Likewise.
-
-(cherry picked from commit 07a767c7a50d1daae8ef7d4aba73fe53ad40c0b7)
-Signed-off-by: Marcus Hoffmann <[email protected]>
-Upstream: https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=1f0224e8ddb3d3d0bf4c7a11769b193a4df5cc37
----
- libcody/client.cc | 36 +++++++++++++++++++-----------------
- libcody/cody.hh   | 22 ++++++++++++++++++++++
- libcody/server.cc | 28 ++++++++++++++--------------
- 3 files changed, 55 insertions(+), 31 deletions(-)
-
-diff --git a/libcody/client.cc b/libcody/client.cc
-index ae69d190cb7..147fecdbe50 100644
---- a/libcody/client.cc
-+++ b/libcody/client.cc
-@@ -97,7 +97,7 @@ int Client::CommunicateWithServer ()
- 
- static Packet CommunicationError (int err)
- {
--  std::string e {u8"communication error:"};
-+  std::string e {(const char *) u8"communication error:"};
-   e.append (strerror (err));
- 
-   return Packet (Client::PC_ERROR, std::move (e));
-@@ -110,33 +110,34 @@ Packet Client::ProcessResponse (std::vector<std::string> &words,
-     {
-       if (e == EINVAL)
- 	{
--	  std::string msg (u8"malformed string '");
-+	  std::string msg ((const char *) u8"malformed string '");
- 	  msg.append (words[0]);
--	  msg.append (u8"'");
-+	  msg.append ((const char *) u8"'");
- 	  return Packet (Client::PC_ERROR, std::move (msg));
- 	}
-       else
--	return Packet (Client::PC_ERROR, u8"missing response");
-+	return Packet (Client::PC_ERROR, (const char *) u8"missing response");
-     }
- 
-   Assert (!words.empty ());
--  if (words[0] == u8"ERROR")
-+  if (words[0] == (const char *) u8"ERROR")
-     return Packet (Client::PC_ERROR,
--		   words.size () == 2 ? words[1]: u8"malformed error response");
-+		   words.size () == 2 ? words[1]
-+		   : (const char *) u8"malformed error response");
- 
-   if (isLast && !read.IsAtEnd ())
-     return Packet (Client::PC_ERROR,
--		   std::string (u8"unexpected extra response"));
-+		   std::string ((const char *) u8"unexpected extra response"));
- 
-   Assert (code < Detail::RC_HWM);
-   Packet result (responseTable[code] (words));
-   result.SetRequest (code);
-   if (result.GetCode () == Client::PC_ERROR && result.GetString ().empty ())
-     {
--      std::string msg {u8"malformed response '"};
-+      std::string msg {(const char *) u8"malformed response '"};
- 
-       read.LexedLine (msg);
--      msg.append (u8"'");
-+      msg.append ((const char *) u8"'");
-       result.GetString () = std::move (msg);
-     }
-   else if (result.GetCode () == Client::PC_CONNECT)
-@@ -199,7 +200,7 @@ Packet Client::Connect (char const *agent, char const *ident,
- 			  size_t alen, size_t ilen)
- {
-   write.BeginLine ();
--  write.AppendWord (u8"HELLO");
-+  write.AppendWord ((const char *) u8"HELLO");
-   write.AppendInteger (Version);
-   write.AppendWord (agent, true, alen);
-   write.AppendWord (ident, true, ilen);
-@@ -211,7 +212,8 @@ Packet Client::Connect (char const *agent, char const *ident,
- // HELLO $version $agent [$flags]
- Packet ConnectResponse (std::vector<std::string> &words)
- {
--  if (words[0] == u8"HELLO" && (words.size () == 3 || words.size () == 4))
-+  if (words[0] == (const char *) u8"HELLO"
-+      && (words.size () == 3 || words.size () == 4))
-     {
-       char *eptr;
-       unsigned long val = strtoul (words[1].c_str (), &eptr, 10);
-@@ -247,7 +249,7 @@ Packet Client::ModuleRepo ()
- // PATHNAME $dir | ERROR
- Packet PathnameResponse (std::vector<std::string> &words)
- {
--  if (words[0] == u8"PATHNAME" && words.size () == 2)
-+  if (words[0] == (const char *) u8"PATHNAME" && words.size () == 2)
-     return Packet (Client::PC_PATHNAME, std::move (words[1]));
- 
-   return Packet (Client::PC_ERROR, u8"");
-@@ -256,7 +258,7 @@ Packet PathnameResponse (std::vector<std::string> &words)
- // OK or ERROR
- Packet OKResponse (std::vector<std::string> &words)
- {
--  if (words[0] == u8"OK")
-+  if (words[0] == (const char *) u8"OK")
-     return Packet (Client::PC_OK);
-   else
-     return Packet (Client::PC_ERROR,
-@@ -319,11 +321,11 @@ Packet Client::IncludeTranslate (char const *include, Flags flags, size_t ilen)
- // PATHNAME $cmifile
- Packet IncludeTranslateResponse (std::vector<std::string> &words)
- {
--  if (words[0] == u8"BOOL" && words.size () == 2)
-+  if (words[0] == (const char *) u8"BOOL" && words.size () == 2)
-     {
--      if (words[1] == u8"FALSE")
--	return Packet (Client::PC_BOOL, 0);
--      else if (words[1] == u8"TRUE")
-+      if (words[1] == (const char *) u8"FALSE")
-+	return Packet (Client::PC_BOOL);
-+      else if (words[1] == (const char *) u8"TRUE")
- 	return Packet (Client::PC_BOOL, 1);
-       else
- 	return Packet (Client::PC_ERROR, u8"");
-diff --git a/libcody/cody.hh b/libcody/cody.hh
-index 789ce9e70b7..93bce93aa94 100644
---- a/libcody/cody.hh
-+++ b/libcody/cody.hh
-@@ -47,12 +47,21 @@ namespace Detail  {
- 
- // C++11 doesn't have utf8 character literals :(
- 
-+#if __cpp_char8_t >= 201811
-+template<unsigned I>
-+constexpr char S2C (char8_t const (&s)[I])
-+{
-+  static_assert (I == 2, "only single octet strings may be converted");
-+  return s[0];
-+}
-+#else
- template<unsigned I>
- constexpr char S2C (char const (&s)[I])
- {
-   static_assert (I == 2, "only single octet strings may be converted");
-   return s[0];
- }
-+#endif
- 
- /// Internal buffering class.  Used to concatenate outgoing messages
- /// and Lex incoming ones.
-@@ -123,6 +132,13 @@ public:
-       Space ();
-     Append (str, maybe_quote, len);
-   }
-+#if __cpp_char8_t >= 201811
-+  void AppendWord (char8_t const *str, bool maybe_quote = false,
-+		   size_t len = ~size_t (0))
-+  {
-+    AppendWord ((const char *) str, maybe_quote, len);
-+  }
-+#endif
-   /// Add a word as with AppendWord
-   /// @param str the string to append
-   /// @param maybe_quote string might need quoting, as for Append
-@@ -264,6 +280,12 @@ public:
-     : string (s), cat (STRING), code (c)
-   {
-   }
-+#if __cpp_char8_t >= 201811
-+  Packet (unsigned c, const char8_t *s)
-+    : string ((const char *) s), cat (STRING), code (c)
-+  {
-+  }
-+#endif
-   Packet (unsigned c, std::vector<std::string> &&v)
-     : vector (std::move (v)), cat (VECTOR), code (c)
-   {
-diff --git a/libcody/server.cc b/libcody/server.cc
-index e2fa069bb93..c18469fae84 100644
---- a/libcody/server.cc
-+++ b/libcody/server.cc
-@@ -36,12 +36,12 @@ static RequestPair
-   const requestTable[Detail::RC_HWM] =
-   {
-     // Same order as enum RequestCode
--    RequestPair {u8"HELLO", nullptr},
--    RequestPair {u8"MODULE-REPO", ModuleRepoRequest},
--    RequestPair {u8"MODULE-EXPORT", ModuleExportRequest},
--    RequestPair {u8"MODULE-IMPORT", ModuleImportRequest},
--    RequestPair {u8"MODULE-COMPILED", ModuleCompiledRequest},
--    RequestPair {u8"INCLUDE-TRANSLATE", IncludeTranslateRequest},
-+    RequestPair {(const char *) u8"HELLO", nullptr},
-+    RequestPair {(const char *) u8"MODULE-REPO", ModuleRepoRequest},
-+    RequestPair {(const char *) u8"MODULE-EXPORT", ModuleExportRequest},
-+    RequestPair {(const char *) u8"MODULE-IMPORT", ModuleImportRequest},
-+    RequestPair {(const char *) u8"MODULE-COMPILED", ModuleCompiledRequest},
-+    RequestPair {(const char *) u8"INCLUDE-TRANSLATE", IncludeTranslateRequest},
-   };
- }
- 
-@@ -135,21 +135,21 @@ void Server::ProcessRequests (void)
- 	  std::string msg;
- 
- 	  if (err > 0)
--	    msg = u8"error processing '";
-+	    msg = (const char *) u8"error processing '";
- 	  else if (ix >= Detail::RC_HWM)
--	    msg = u8"unrecognized '";
-+	    msg = (const char *) u8"unrecognized '";
- 	  else if (IsConnected () && ix == Detail::RC_CONNECT)
--	    msg = u8"already connected '";
-+	    msg = (const char *) u8"already connected '";
- 	  else if (!IsConnected () && ix != Detail::RC_CONNECT)
--	    msg = u8"not connected '";
-+	    msg = (const char *) u8"not connected '";
- 	  else
--	    msg = u8"malformed '";
-+	    msg = (const char *) u8"malformed '";
- 
- 	  read.LexedLine (msg);
--	  msg.append (u8"'");
-+	  msg.append ((const char *) u8"'");
- 	  if (err > 0)
- 	    {
--	      msg.append (u8" ");
-+	      msg.append ((const char *) u8" ");
- 	      msg.append (strerror (err));
- 	    }
- 	  resolver->ErrorResponse (this, std::move (msg));
-@@ -176,7 +176,7 @@ Resolver *ConnectRequest (Server *s, Resolver *r,
-     return nullptr;
- 
-   if (words.size () == 3)
--    words.emplace_back (u8"");
-+    words.emplace_back ((const char *) u8"");
-   unsigned version = ParseUnsigned (words[1]);
-   if (version == ~0u)
-     return nullptr;
--- 
-2.54.0
-
package/gcc/15.3.0/0001-disable-split-stack-for-non-thread-builds.patch renamed from package/gcc/15.2.0/0001-disable-split-stack-for-non-thread-builds.patch +0 -0
similarity index 100%
rename from package/gcc/15.2.0/0001-disable-split-stack-for-non-thread-builds.patch
rename to package/gcc/15.3.0/0001-disable-split-stack-for-non-thread-builds.patch
package/gcc/15.3.0/0002-gcc-config-microblaze-fix-ira-for-GCC15.patch renamed from package/gcc/15.2.0/0003-gcc-config-microblaze-fix-ira-for-GCC15.patch +0 -0
similarity index 100%
rename from package/gcc/15.2.0/0003-gcc-config-microblaze-fix-ira-for-GCC15.patch
rename to package/gcc/15.3.0/0002-gcc-config-microblaze-fix-ira-for-GCC15.patch
package/gcc/Config.in.host +1 -1
index 1c4358f448..896bb3cfbb 100644
@@ -69,7 +69,7 @@ config BR2_GCC_VERSION
 	string
 	default "8.4.0"     if BR2_GCC_VERSION_POWERPC_SPE
 	default "14.3.0"    if BR2_GCC_VERSION_14_X
-	default "15.2.0"    if BR2_GCC_VERSION_15_X
+	default "15.3.0"    if BR2_GCC_VERSION_15_X
 	default "16.1.0"    if BR2_GCC_VERSION_16_X
 	default "arc-2024.12-release" if BR2_GCC_VERSION_ARC
 
package/gcc/gcc.hash +0 -0
index 0b17a809c8..0890abc2ea 100644

package/gcc/gcc.hash line 9

Quoted 10 lines
package/gcc/gcc.hash +2 -2
@@ -2,8 +2,8 @@
 sha512  6de904f552a02de33b11ef52312bb664396efd7e1ce3bbe37bfad5ef617f133095b3767b4804bc7fe78df335cb53bc83f1ac055baed40979ce4c2c3e46b70280  gcc-8.4.0.tar.xz
 # From https://gcc.gnu.org/pub/gcc/releases/gcc-14.3.0/sha512.sum
 sha512  cb4e3259640721bbd275c723fe4df53d12f9b1673afb3db274c22c6aa457865dccf2d6ea20b4fd4c591f6152e6d4b87516c402015900f06ce9d43af66d3b7a93  gcc-14.3.0.tar.xz
-# From https://gcc.gnu.org/pub/gcc/releases/gcc-15.2.0/sha512.sum
-sha512  89047a2e07bd9da265b507b516ed3635adb17491c7f4f67cf090f0bd5b3fc7f2ee6e4cc4008beef7ca884b6b71dffe2bb652b21f01a702e17b468cca2d10b2de  gcc-15.2.0.tar.xz
+# From https://gcc.gnu.org/pub/gcc/releases/gcc-15.3.0/sha512.sum
+sha512  0de9e296153b52c021b1c7e63c9c62151d7a0ac03f23ce6e9f772c1b0eb783f6acdd81cc4567bfe4128a6f64968c2cfc8eff40b36229cba7425349f7d637c654  gcc-15.3.0.tar.xz
 # From https://gcc.gnu.org/pub/gcc/releases/gcc-16.1.0/sha512.sum
 sha512  b3454958891ab47e1e5b6cb9396c0ad3b04f32fe2a7bf1153a143f21013fdb6b295ca94c98964698a688e4c1d7555ffd8ffbc20187507cce6b1c32cbcc09897a  gcc-16.1.0.tar.xz
 

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#4 lore raw

In reply of:

Quoted 728 lines

Hello Bernd, All,

Le 27/06/2026 à 08:41, Bernd Kuhls a écrit :

Quoted 7 lines

Announcement:
https://gcc.gnu.org/pipermail/gcc-announce/2026/000191.html

GCC 15.3 is a bug-fix release from the GCC 15 branch containing important fixes for regressions and serious bugs in GCC 15.2 with more than 208 bugs fixed since the previous release.

Quoted 7 lines

For the list of bugs fixed in this version, see:
https://gcc.gnu.org/gcc-15/changes.html#15.3

Removed patches which are included in this release, renumbered patch 0003.

Series applied to master. Thanks.

Best regards,
Romain

Quoted 705 lines
---
 .checkpackageignore                           |   2 +-
 ...ce-support-for-atomics.-Fix-PR118280.patch | 286 ------------------
 ...mp-Fix-GCC-build-after-glibc-cd748a6.patch |  77 -----
 ...dy-Make-it-buildable-by-C-11-to-C-26.patch | 261 ----------------
 ...le-split-stack-for-non-thread-builds.patch |   0
 ...config-microblaze-fix-ira-for-GCC15.patch} |   0
 package/gcc/Config.in.host                    |   2 +-
 package/gcc/gcc.hash                          |   4 +-
 8 files changed, 4 insertions(+), 628 deletions(-)
 delete mode 100644 package/gcc/15.2.0/0002-MicroBlaze-Enhance-support-for-atomics.-Fix-PR118280.patch
 delete mode 100644 package/gcc/15.2.0/0004-libgomp-Fix-GCC-build-after-glibc-cd748a6.patch
 delete mode 100644 package/gcc/15.2.0/0005-libcody-Make-it-buildable-by-C-11-to-C-26.patch
 rename package/gcc/{15.2.0 => 15.3.0}/0001-disable-split-stack-for-non-thread-builds.patch (100%)
 rename package/gcc/{15.2.0/0003-gcc-config-microblaze-fix-ira-for-GCC15.patch => 15.3.0/0002-gcc-config-microblaze-fix-ira-for-GCC15.patch} (100%)
.checkpackageignore +1 -1
index 94f3b92d9c..3aed62277a 100644
@@ -350,7 +350,7 @@ package/ftop/0001-overflow.patch lib_patch.Upstream
 package/fxdiv/0001-CMake-don-t-enable-CXX-unless-building-tests-benchma.patch lib_patch.Upstream
 package/fxload/0001-fix-static-build.patch lib_patch.Upstream
 package/gcc/14.3.0/0001-disable-split-stack-for-non-thread-builds.patch lib_patch.Upstream
-package/gcc/15.2.0/0001-disable-split-stack-for-non-thread-builds.patch lib_patch.Upstream
+package/gcc/15.3.0/0001-disable-split-stack-for-non-thread-builds.patch lib_patch.Upstream
 package/gcc/16.1.0/0001-disable-split-stack-for-non-thread-builds.patch lib_patch.Upstream
 package/gcc/8.4.0/0001-xtensa-fix-PR-target-91880.patch lib_patch.Upstream
 package/gcc/8.4.0/0002-Revert-re-PR-target-92095-internal-error-with-O1-mcp.patch lib_patch.Upstream
package/gcc/15.2.0/0002-MicroBlaze-Enhance-support-for-atomics.-Fix-PR118280.patch deleted +0 -286
deleted file mode 100644
index 958339bf6c..0000000000
@@ -1,286 +0,0 @@
-From f14e0b13a5abbc15b4b3b4c0c6a125bbb0509465 Mon Sep 17 00:00:00 2001
-From: Gopi Kumar Bulusu <[email protected]>
-Date: Thu, 10 Jul 2025 12:44:44 +0530
-Subject: [PATCH] MicroBlaze : Enhance support for atomics. Fix PR118280
-
-Atomic support enhanced to fix existing atomic_compare_and_swapsi pattern
-to handle side effects; new patterns atomic_fetch_op and atomic_test_and_set
-added. As MicroBlaze has no QImode test/set instruction, use shift magic
-to implement atomic_test_and_set. This fixes PR118280.
-
-Files Changed
-
-* gcc/config/microblaze/iterators.md: New
-* microblaze-protos.h/microblaze.cc : Add microblaze_subword_address
-* gcc/config/microblaze/microblaze.md: constants: Add UNSPECV_CAS_BOOL,
-  UNSPECV_CAS_MEM, UNSPECV_CAS_VAL, UNSPECV_ATOMIC_FETCH_OP
-  type: add atomic
-* gcc/config/microblaze/sync.md: Add atomic_fetch_<atomic_optab>si
-  atomic_test_and_set
-
-Fixes: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118280
-Upstream: https://patchwork.ozlabs.org/project/gcc/list/?series=466193
-
-Signed-off-by: Kirk Meyer <[email protected]>
-Signed-off-by: David Holsgrove <[email protected]>
-Signed-off-by: Gopi Kumar Bulusu <[email protected]>
----
- gcc/config/microblaze/iterators.md        |  25 +++++
- gcc/config/microblaze/microblaze-protos.h |   1 +
- gcc/config/microblaze/microblaze.cc       |  28 ++++++
- gcc/config/microblaze/microblaze.h        |   2 +-
- gcc/config/microblaze/microblaze.md       |   7 +-
- gcc/config/microblaze/sync.md             | 107 ++++++++++++++++++----
- 6 files changed, 150 insertions(+), 20 deletions(-)
- create mode 100644 gcc/config/microblaze/iterators.md
-
-diff --git a/gcc/config/microblaze/iterators.md b/gcc/config/microblaze/iterators.md
-new file mode 100644
-index 00000000000..2ffc2422a0a
---- /dev/null
-+++ b/gcc/config/microblaze/iterators.md
-@@ -0,0 +1,25 @@
-+;; Iterator definitions for GCC MicroBlaze machine description files.
-+;; Copyright (C) 2012-2024 Free Software Foundation, Inc.
-+;;
-+;; This file is part of GCC.
-+;;
-+;; GCC is free software; you can redistribute it and/or modify
-+;; it under the terms of the GNU General Public License as published by
-+;; the Free Software Foundation; either version 3, or (at your option)
-+;; any later version.
-+;;
-+;; GCC is distributed in the hope that it will be useful,
-+;; but WITHOUT ANY WARRANTY; without even the implied warranty of
-+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-+;; GNU General Public License for more details.
-+;;
-+;; You should have received a copy of the GNU General Public License
-+;; along with GCC; see the file COPYING3.  If not see
-+;; <http://www.gnu.org/licenses/>.
-+
-+; atomics code iterator
-+(define_code_iterator any_atomic [plus ior xor and])
-+
-+; atomics code attribute
-+(define_code_attr atomic_optab
-+  [(plus "add") (ior "or") (xor "xor") (and "and")])
-diff --git a/gcc/config/microblaze/microblaze-protos.h b/gcc/config/microblaze/microblaze-protos.h
-index 90b79cfe716..1cee0b3096c 100644
---- a/gcc/config/microblaze/microblaze-protos.h
-+++ b/gcc/config/microblaze/microblaze-protos.h
-@@ -62,6 +62,7 @@ extern int symbol_mentioned_p (rtx);
- extern int label_mentioned_p (rtx);
- extern bool microblaze_cannot_force_const_mem (machine_mode, rtx);
- extern void microblaze_eh_return (rtx op0);
-+extern void microblaze_subword_address (rtx, rtx *, rtx *);
- #endif  /* RTX_CODE */
- 
- /* Declare functions in microblaze-c.cc.  */
-diff --git a/gcc/config/microblaze/microblaze.cc b/gcc/config/microblaze/microblaze.cc
-index 4b7f0a1a5e0..78b9428ef3b 100644
---- a/gcc/config/microblaze/microblaze.cc
-+++ b/gcc/config/microblaze/microblaze.cc
-@@ -1300,6 +1300,34 @@ microblaze_expand_block_move (rtx dest, rtx src, rtx length, rtx align_rtx)
-   return false;
- }
- 
-+/* Compute memory address *aligned_mem and corresponding shift value (*shift)
-+   from a QImode memory reference MEM */
-+void
-+microblaze_subword_address (rtx mem, rtx *aligned_mem, rtx *shift)
-+{
-+  /* Align the memory address to a word.  */
-+  rtx addr = force_reg (Pmode, XEXP (mem, 0));
-+
-+  rtx addr_mask = gen_int_mode (-4, Pmode);
-+
-+  rtx aligned_addr = gen_reg_rtx (Pmode);
-+
-+  emit_move_insn (aligned_addr,  gen_rtx_AND (Pmode, addr, addr_mask));
-+
-+  *aligned_mem = change_address (mem, SImode, aligned_addr);
-+
-+  /* Calculate the shift amount.  */
-+  emit_move_insn (*shift, gen_rtx_AND (SImode, addr, gen_int_mode (3, SImode)));
-+
-+  if (TARGET_LITTLE_ENDIAN == 0) {
-+    emit_move_insn (*shift,
-+		    gen_rtx_MINUS (SImode, gen_int_mode (3, SImode), *shift));
-+  }
-+
-+  emit_move_insn (*shift, gen_rtx_ASHIFT (SImode, *shift,
-+					  gen_int_mode (3, SImode)));
-+}
-+
- static bool
- microblaze_rtx_costs (rtx x, machine_mode mode, int outer_code ATTRIBUTE_UNUSED,
- 		      int opno ATTRIBUTE_UNUSED, int *total,
-diff --git a/gcc/config/microblaze/microblaze.h b/gcc/config/microblaze/microblaze.h
-index 2390542434b..b2e9ccde363 100644
---- a/gcc/config/microblaze/microblaze.h
-+++ b/gcc/config/microblaze/microblaze.h
-@@ -57,7 +57,7 @@ extern enum pipeline_type microblaze_pipe;
- 
- /* Default target_flags if no switches are specified  */
- #define TARGET_DEFAULT      (MASK_SOFT_MUL | MASK_SOFT_DIV | MASK_SOFT_FLOAT \
--                             | TARGET_ENDIAN_DEFAULT)
-+			      | TARGET_ENDIAN_DEFAULT)
- 
- /* Do we have CLZ?  */
- #define TARGET_HAS_CLZ      (TARGET_PATTERN_COMPARE && microblaze_has_clz)
-diff --git a/gcc/config/microblaze/microblaze.md b/gcc/config/microblaze/microblaze.md
-index 45c48a71e8d..270df8da0c5 100644
---- a/gcc/config/microblaze/microblaze.md
-+++ b/gcc/config/microblaze/microblaze.md
-@@ -21,6 +21,7 @@
- 
- (include "constraints.md")
- (include "predicates.md")
-+(include "iterators.md")
- 
- ;;----------------------------------------------------
- ;; Constants
-@@ -43,6 +44,10 @@
-   (UNSPEC_TLS           106)    ;; jump table
-   (UNSPEC_SET_TEXT      107)    ;; set text start
-   (UNSPEC_TEXT          108)    ;; data text relative
-+  (UNSPECV_CAS_BOOL     201)    ;; compare and swap (bool)
-+  (UNSPECV_CAS_VAL      202)    ;; compare and swap (val)
-+  (UNSPECV_CAS_MEM      203)    ;; compare and swap (mem)
-+  (UNSPECV_ATOMIC_FETCH_OP     204)    ;; atomic fetch op
- ])
- 
- (define_c_enum "unspec" [
-@@ -79,7 +84,7 @@
- ;; bshift 	Shift operations
- 
- (define_attr "type"
--  "unknown,branch,jump,call,load,store,move,arith,darith,imul,idiv,icmp,multi,nop,no_delay_arith,no_delay_load,no_delay_store,no_delay_imul,no_delay_move,bshift,fadd,frsub,fmul,fdiv,fcmp,fsl,fsqrt,fcvt,trap"
-+  "unknown,branch,jump,call,load,store,move,arith,darith,imul,idiv,icmp,multi,nop,no_delay_arith,no_delay_load,no_delay_store,no_delay_imul,no_delay_move,bshift,fadd,frsub,fmul,fdiv,fcmp,fsl,fsqrt,fcvt,trap,atomic"
-   (const_string "unknown"))
- 
- ;; Main data type used by the insn
-diff --git a/gcc/config/microblaze/sync.md b/gcc/config/microblaze/sync.md
-index db7b11e5379..6478ab6dcac 100644
---- a/gcc/config/microblaze/sync.md
-+++ b/gcc/config/microblaze/sync.md
-@@ -18,26 +18,97 @@
- ;; <http://www.gnu.org/licenses/>.
- 
- (define_insn "atomic_compare_and_swapsi"
--  [(match_operand:SI 0 "register_operand" "=&d")	;; bool output
--   (match_operand:SI 1 "register_operand" "=&d")	;; val output
--   (match_operand:SI 2 "nonimmediate_operand" "+Q")	;; memory
--   (match_operand:SI 3 "register_operand" "d")		;; expected value
--   (match_operand:SI 4 "register_operand" "d")		;; desired value
--   (match_operand:SI 5 "const_int_operand" "")		;; is_weak
--   (match_operand:SI 6 "const_int_operand" "")		;; mod_s
--   (match_operand:SI 7 "const_int_operand" "")		;; mod_f
-+  [(set (match_operand:SI 0 "register_operand" "=&d")		;; bool output
-+        (unspec_volatile:SI
-+          [(match_operand:SI 2 "nonimmediate_operand" "+Q")	;; memory
-+           (match_operand:SI 3 "register_operand" "d")		;; expected value
-+           (match_operand:SI 4 "register_operand" "d")]		;; desired value
-+          UNSPECV_CAS_BOOL))
-+   (set (match_operand:SI 1 "register_operand" "=&d")		;; val output
-+        (unspec_volatile:SI [(const_int 0)] UNSPECV_CAS_VAL))
-+   (set (match_dup 2)
-+        (unspec_volatile:SI [(const_int 0)] UNSPECV_CAS_MEM))
-+   (match_operand:SI 5 "const_int_operand" "")			;; is_weak
-+   (match_operand:SI 6 "const_int_operand" "")			;; mod_s
-+   (match_operand:SI 7 "const_int_operand" "")			;; mod_f
-    (clobber (match_scratch:SI 8 "=&d"))]
-   ""
-   {
--    output_asm_insn ("addc \tr0,r0,r0", operands);
--    output_asm_insn ("lwx  \t%1,%y2,r0", operands);
--    output_asm_insn ("addic\t%8,r0,0", operands);
--    output_asm_insn ("bnei \t%8,.-8", operands);
--    output_asm_insn ("cmp  \t%0,%1,%3", operands);
--    output_asm_insn ("bnei \t%0,.+16", operands);
--    output_asm_insn ("swx  \t%4,%y2,r0", operands);
--    output_asm_insn ("addic\t%8,r0,0", operands);
--    output_asm_insn ("bnei \t%8,.-28", operands);
--    return "";
-+    return "add  \t%0,r0,r0\n\t"
-+      "lwx  \t%1,%y2,r0\n\t"
-+      "addic\t%8,r0,0\n\t"
-+      "bnei \t%8,.-8\n\t"
-+      "cmp  \t%8,%1,%3\n\t"
-+      "bnei \t%8,.+20\n\t"
-+      "swx  \t%4,%y2,r0\n\t"
-+      "addic\t%8,r0,0\n\t"
-+      "bnei \t%8,.-28\n\t"
-+      "addi \t%0,r0,1";
-   }
-+  [(set_attr "type"	"atomic")
-+  (set_attr "mode"	"SI")
-+  (set_attr "length"	"40")]
- )
-+
-+;;
-+;;
-+;;
-+;;
-+(define_insn "atomic_fetch_<atomic_optab>si"
-+  [(set (match_operand:SI 0 "register_operand" "=&d")
-+	(match_operand:SI 1 "memory_operand" "+Q"))
-+   (set (match_dup 1)
-+	(unspec_volatile:SI
-+	  [(any_atomic:SI (match_dup 1)
-+		   (match_operand:SI 2 "register_operand" "d"))
-+	   (match_operand:SI 3 "const_int_operand")] ;; model
-+	 UNSPECV_ATOMIC_FETCH_OP))
-+   (clobber (match_scratch:SI 4 "=&d"))]	  ;; tmp_1
-+  ""
-+  {
-+    return 
-+      "lwx  \t%0,%y1,r0\n\t"
-+      "addic\t%4,r0,0\n\t"
-+      "bnei \t%4,.-8\n\t"
-+      "<atomic_optab>\t%4,%0,%2\n\t"
-+      "swx  \t%4,%y1,r0\n\t"
-+      "addic\t%4,r0,0\n\t"
-+      "bnei \t%4,.-24";
-+  }
-+  [(set_attr "type"	"atomic")
-+  (set_attr "mode"	"SI")
-+  (set_attr "length"	"28")])
-+
-+;;
-+;; MicroBlaze only supports lx/sx instructions for word mode only
-+;;
-+;; Use shift|mask magic to implement atomic_test_and_set using lwx/swx
-+;;
-+(define_expand "atomic_test_and_set"
-+  [(match_operand:QI 0 "register_operand" "")    ;; bool output
-+   (match_operand:QI 1 "memory_operand" "m")    ;; memory
-+   (match_operand:SI 2 "const_int_operand" "")]  ;; model
-+  ""
-+{
-+  rtx old = gen_reg_rtx (SImode);
-+  rtx mem = operands[1];
-+  rtx model = operands[2];
-+  rtx set = gen_reg_rtx (SImode);
-+  rtx aligned_mem = gen_reg_rtx (SImode);
-+  rtx shift = gen_reg_rtx (SImode);
-+
-+  microblaze_subword_address (mem, &aligned_mem, &shift);
-+
-+  emit_move_insn (set, GEN_INT (1));
-+  rtx shifted_set = gen_reg_rtx (SImode);
-+
-+  emit_move_insn (shifted_set, gen_rtx_ASHIFT (SImode, set, shift));
-+
-+  emit_insn (gen_atomic_fetch_orsi (old, aligned_mem, shifted_set, model));
-+
-+  emit_move_insn (old, gen_rtx_ASHIFTRT (SImode, old, shift));
-+
-+  emit_move_insn (operands[0], gen_lowpart (QImode, old));
-+
-+  DONE;
-+})
--- 
-2.50.1
-
package/gcc/15.2.0/0004-libgomp-Fix-GCC-build-after-glibc-cd748a6.patch deleted +0 -77
deleted file mode 100644
index e24c4dd57e..0000000000
@@ -1,77 +0,0 @@
-From 9c9d3aef2f66625d9cb03ef4baee10ed6648e681 Mon Sep 17 00:00:00 2001
-From: Frank Scheiner <[email protected]>
-Date: Tue, 25 Nov 2025 16:58:23 -0700
-Subject: [PATCH] [PATCH] libgomp: Fix GCC build after glibc@cd748a6
-
-The toolchain autobuilds for ia64 failed ([1]) yesterday with:
-
-```
-libtool: compile:  /usr/src/t2-src/src.gcc.ia64-toolchain.251121.040147.278918/gcc-16-20251116/objs/gcc/xgcc-wrapper /usr/src/t2-src/src.gcc.ia64-toolchain.251121.040147.278918/gcc-16-20251116/objs/./gcc/xgcc -B/usr/src/t2-src/src.gcc.ia64-toolchain.251121.040147.278918/gcc-16-20251116/objs/./gcc/ -B/usr/src/t2-src/build/ia64-toolchain-24-svn-generic-ia64-itanium2-cross-linux/TOOLCHAIN/cross/usr/ia64-t2-linux-gnu/bin/ -B/usr/src/t2-src/build/ia64-toolchain-24-svn-generic-ia64-itanium2-cross-linux/TOOLCHAIN/cross/usr/ia64-t2-linux-gnu/lib/ -isystem /usr/src/t2-src/build/ia64-toolchain-24-svn-generic-ia64-itanium2-cross-linux/TOOLCHAIN/cross/usr/ia64-t2-linux-gnu/include -isystem /usr/src/t2-src/build/ia64-toolchain-24-svn-generic-ia64-itanium2-cross-linux/TOOLCHAIN/cross/usr/ia64-t2-linux-gnu/sys-include --sysroot=/usr/src/t2-src/build/ia64-toolchain-24-svn-generic-ia64-itanium2-cross-linux -DHAVE_CONFIG_H -I. -I../../../libgomp -I../../../libgomp/config/linux/ia64 -I../../../libgomp
 /config/linux -I../../../libgomp/config/posix -I../../../libgomp -I../../../libgomp/../include -Wall -Werror -ftls-model=initial-exec -pthread -DUSING_INITIAL_EXEC_TLS -g -O2 -MT oacc-cuda.lo -MD -MP -MF .deps/oacc-cuda.Tpo -c ../../../libgomp/oacc-cuda.c -o oacc-cuda.o >/dev/null 2>&1
-../../../libgomp/affinity-fmt.c: In function 'gomp_display_affinity':
-../../../libgomp/affinity-fmt.c:330:25: error: initialization discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers]
-  330 |               char *q = strchr (p + 1, '}');
-      |                         ^~~~~~
-```
-
-[1]: https://github.com/johnny-mnemonic/toolchain-autobuilds/actions/runs/19559235881
-
-This is not ia64-specific but due to the changes in the recent glibc
-commit "Implement C23 const-preserving standard library macros" (i.e.
-[2]) now requiring "char *q" to be a pointer to a const char to compile
-w/o error because of the return value of strchr() .
-
-[2]: https://sourceware.org/git/?p=glibc.git;a=commit;h=cd748a63ab1a7ae846175c532a3daab341c62690
-
-Also see the related discussion at [3] for details.
-
-[3]: https://sourceware.org/pipermail/libc-alpha/2025-November/172809.html
-
-The GCC build is fixed by the attached patch, see [4] for a successful
-build with the then latest snapshots of binutils, glibc and GCC.
-
-[4]: https://github.com/johnny-mnemonic/toolchain-autobuilds/actions/runs/19585045571
-
-Idea from Tomas, attached patch from me.
-
-Cheers,
-Frank
-
-0001-libgomp-Fix-GCC-build-after-glibc-cd748a6.patch
-
-From 80af9c233c694904174b54a59404d311378f41f8 Mon Sep 17 00:00:00 2001
-From: Frank Scheiner <[email protected]>
-Date: Sat, 22 Nov 2025 14:58:10 +0100
-Subject: [PATCH] libgomp: Fix GCC build after glibc@cd748a6
-
-char *q needs to be a pointer to a const char for the return value of
-strchr() with glibc after "Implement C23 const-preserving standard library
-macros".
-
-[glibc@cd748a6]: https://sourceware.org/git/?p=glibc.git;a=commit;h=cd748a63ab1a7ae846175c532a3daab341c62690
-
-libgomp/ChangeLog:
-	* affinity-fmt.c: Make char *q a pointer to a const char.
-
-Upstream: https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=9c9d3aef2f66625d9cb03ef4baee10ed6648e681
-
-Signed-off-by: Bernd Kuhls <[email protected]>
----
- libgomp/affinity-fmt.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/libgomp/affinity-fmt.c b/libgomp/affinity-fmt.c
-index 1fae893cbaca..8d3df5f1cd55 100644
---- a/libgomp/affinity-fmt.c
-+++ b/libgomp/affinity-fmt.c
-@@ -327,7 +327,7 @@ gomp_display_affinity (char *buffer, size_t size,
- 	      }
- 	  if (c == '{')
- 	    {
--	      char *q = strchr (p + 1, '}');
-+	      const char *q = strchr (p + 1, '}');
- 	      if (q)
- 		gomp_fatal ("unsupported long type name '%.*s' in affinity "
- 			    "format", (int) (q - (p + 1)), p + 1);
--- 
-2.43.7
-
package/gcc/15.2.0/0005-libcody-Make-it-buildable-by-C-11-to-C-26.patch deleted +0 -261
deleted file mode 100644
index 8788a0c0bd..0000000000
@@ -1,261 +0,0 @@
-From 1f0224e8ddb3d3d0bf4c7a11769b193a4df5cc37 Mon Sep 17 00:00:00 2001
-From: Jakub Jelinek <[email protected]>
-Date: Fri, 21 Nov 2025 16:25:58 +0100
-Subject: [PATCH] libcody: Make it buildable by C++11 to C++26
-
-The following builds with -std=c++11 and c++14 and c++17 and c++20 and c++23
-and c++26.
-
-I see the u8 string literals are mixed e.g. with strerror, so in
--fexec-charset=IBM1047 there will still be garbage, so am not 100% sure if
-the u8 literals everywhere are worth it either.
-
-2025-11-21  Jakub Jelinek  <[email protected]>
-
-	* cody.hh (S2C): For __cpp_char8_t >= 201811 use char8_t instead of
-	char in argument type.
-	(MessageBuffer::Space): Revert 2025-11-15 change.
-	(MessageBuffer::Append): For __cpp_char8_t >= 201811 add overload
-	with char8_t const * type of first argument.
-	(Packet::Packet): Similarly for first argument.
-	* client.cc (CommunicationError, Client::ProcessResponse,
-	Client::Connect, ConnectResponse, PathnameResponse, OKResponse,
-	IncludeTranslateResponse): Cast u8 string literals to (const char *)
-	where needed.
-	* server.cc (Server::ProcessRequests, ConnectRequest): Likewise.
-
-(cherry picked from commit 07a767c7a50d1daae8ef7d4aba73fe53ad40c0b7)
-Signed-off-by: Marcus Hoffmann <[email protected]>
-Upstream: https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=1f0224e8ddb3d3d0bf4c7a11769b193a4df5cc37
----
- libcody/client.cc | 36 +++++++++++++++++++-----------------
- libcody/cody.hh   | 22 ++++++++++++++++++++++
- libcody/server.cc | 28 ++++++++++++++--------------
- 3 files changed, 55 insertions(+), 31 deletions(-)
-
-diff --git a/libcody/client.cc b/libcody/client.cc
-index ae69d190cb7..147fecdbe50 100644
---- a/libcody/client.cc
-+++ b/libcody/client.cc
-@@ -97,7 +97,7 @@ int Client::CommunicateWithServer ()
- 
- static Packet CommunicationError (int err)
- {
--  std::string e {u8"communication error:"};
-+  std::string e {(const char *) u8"communication error:"};
-   e.append (strerror (err));
- 
-   return Packet (Client::PC_ERROR, std::move (e));
-@@ -110,33 +110,34 @@ Packet Client::ProcessResponse (std::vector<std::string> &words,
-     {
-       if (e == EINVAL)
- 	{
--	  std::string msg (u8"malformed string '");
-+	  std::string msg ((const char *) u8"malformed string '");
- 	  msg.append (words[0]);
--	  msg.append (u8"'");
-+	  msg.append ((const char *) u8"'");
- 	  return Packet (Client::PC_ERROR, std::move (msg));
- 	}
-       else
--	return Packet (Client::PC_ERROR, u8"missing response");
-+	return Packet (Client::PC_ERROR, (const char *) u8"missing response");
-     }
- 
-   Assert (!words.empty ());
--  if (words[0] == u8"ERROR")
-+  if (words[0] == (const char *) u8"ERROR")
-     return Packet (Client::PC_ERROR,
--		   words.size () == 2 ? words[1]: u8"malformed error response");
-+		   words.size () == 2 ? words[1]
-+		   : (const char *) u8"malformed error response");
- 
-   if (isLast && !read.IsAtEnd ())
-     return Packet (Client::PC_ERROR,
--		   std::string (u8"unexpected extra response"));
-+		   std::string ((const char *) u8"unexpected extra response"));
- 
-   Assert (code < Detail::RC_HWM);
-   Packet result (responseTable[code] (words));
-   result.SetRequest (code);
-   if (result.GetCode () == Client::PC_ERROR && result.GetString ().empty ())
-     {
--      std::string msg {u8"malformed response '"};
-+      std::string msg {(const char *) u8"malformed response '"};
- 
-       read.LexedLine (msg);
--      msg.append (u8"'");
-+      msg.append ((const char *) u8"'");
-       result.GetString () = std::move (msg);
-     }
-   else if (result.GetCode () == Client::PC_CONNECT)
-@@ -199,7 +200,7 @@ Packet Client::Connect (char const *agent, char const *ident,
- 			  size_t alen, size_t ilen)
- {
-   write.BeginLine ();
--  write.AppendWord (u8"HELLO");
-+  write.AppendWord ((const char *) u8"HELLO");
-   write.AppendInteger (Version);
-   write.AppendWord (agent, true, alen);
-   write.AppendWord (ident, true, ilen);
-@@ -211,7 +212,8 @@ Packet Client::Connect (char const *agent, char const *ident,
- // HELLO $version $agent [$flags]
- Packet ConnectResponse (std::vector<std::string> &words)
- {
--  if (words[0] == u8"HELLO" && (words.size () == 3 || words.size () == 4))
-+  if (words[0] == (const char *) u8"HELLO"
-+      && (words.size () == 3 || words.size () == 4))
-     {
-       char *eptr;
-       unsigned long val = strtoul (words[1].c_str (), &eptr, 10);
-@@ -247,7 +249,7 @@ Packet Client::ModuleRepo ()
- // PATHNAME $dir | ERROR
- Packet PathnameResponse (std::vector<std::string> &words)
- {
--  if (words[0] == u8"PATHNAME" && words.size () == 2)
-+  if (words[0] == (const char *) u8"PATHNAME" && words.size () == 2)
-     return Packet (Client::PC_PATHNAME, std::move (words[1]));
- 
-   return Packet (Client::PC_ERROR, u8"");
-@@ -256,7 +258,7 @@ Packet PathnameResponse (std::vector<std::string> &words)
- // OK or ERROR
- Packet OKResponse (std::vector<std::string> &words)
- {
--  if (words[0] == u8"OK")
-+  if (words[0] == (const char *) u8"OK")
-     return Packet (Client::PC_OK);
-   else
-     return Packet (Client::PC_ERROR,
-@@ -319,11 +321,11 @@ Packet Client::IncludeTranslate (char const *include, Flags flags, size_t ilen)
- // PATHNAME $cmifile
- Packet IncludeTranslateResponse (std::vector<std::string> &words)
- {
--  if (words[0] == u8"BOOL" && words.size () == 2)
-+  if (words[0] == (const char *) u8"BOOL" && words.size () == 2)
-     {
--      if (words[1] == u8"FALSE")
--	return Packet (Client::PC_BOOL, 0);
--      else if (words[1] == u8"TRUE")
-+      if (words[1] == (const char *) u8"FALSE")
-+	return Packet (Client::PC_BOOL);
-+      else if (words[1] == (const char *) u8"TRUE")
- 	return Packet (Client::PC_BOOL, 1);
-       else
- 	return Packet (Client::PC_ERROR, u8"");
-diff --git a/libcody/cody.hh b/libcody/cody.hh
-index 789ce9e70b7..93bce93aa94 100644
---- a/libcody/cody.hh
-+++ b/libcody/cody.hh
-@@ -47,12 +47,21 @@ namespace Detail  {
- 
- // C++11 doesn't have utf8 character literals :(
- 
-+#if __cpp_char8_t >= 201811
-+template<unsigned I>
-+constexpr char S2C (char8_t const (&s)[I])
-+{
-+  static_assert (I == 2, "only single octet strings may be converted");
-+  return s[0];
-+}
-+#else
- template<unsigned I>
- constexpr char S2C (char const (&s)[I])
- {
-   static_assert (I == 2, "only single octet strings may be converted");
-   return s[0];
- }
-+#endif
- 
- /// Internal buffering class.  Used to concatenate outgoing messages
- /// and Lex incoming ones.
-@@ -123,6 +132,13 @@ public:
-       Space ();
-     Append (str, maybe_quote, len);
-   }
-+#if __cpp_char8_t >= 201811
-+  void AppendWord (char8_t const *str, bool maybe_quote = false,
-+		   size_t len = ~size_t (0))
-+  {
-+    AppendWord ((const char *) str, maybe_quote, len);
-+  }
-+#endif
-   /// Add a word as with AppendWord
-   /// @param str the string to append
-   /// @param maybe_quote string might need quoting, as for Append
-@@ -264,6 +280,12 @@ public:
-     : string (s), cat (STRING), code (c)
-   {
-   }
-+#if __cpp_char8_t >= 201811
-+  Packet (unsigned c, const char8_t *s)
-+    : string ((const char *) s), cat (STRING), code (c)
-+  {
-+  }
-+#endif
-   Packet (unsigned c, std::vector<std::string> &&v)
-     : vector (std::move (v)), cat (VECTOR), code (c)
-   {
-diff --git a/libcody/server.cc b/libcody/server.cc
-index e2fa069bb93..c18469fae84 100644
---- a/libcody/server.cc
-+++ b/libcody/server.cc
-@@ -36,12 +36,12 @@ static RequestPair
-   const requestTable[Detail::RC_HWM] =
-   {
-     // Same order as enum RequestCode
--    RequestPair {u8"HELLO", nullptr},
--    RequestPair {u8"MODULE-REPO", ModuleRepoRequest},
--    RequestPair {u8"MODULE-EXPORT", ModuleExportRequest},
--    RequestPair {u8"MODULE-IMPORT", ModuleImportRequest},
--    RequestPair {u8"MODULE-COMPILED", ModuleCompiledRequest},
--    RequestPair {u8"INCLUDE-TRANSLATE", IncludeTranslateRequest},
-+    RequestPair {(const char *) u8"HELLO", nullptr},
-+    RequestPair {(const char *) u8"MODULE-REPO", ModuleRepoRequest},
-+    RequestPair {(const char *) u8"MODULE-EXPORT", ModuleExportRequest},
-+    RequestPair {(const char *) u8"MODULE-IMPORT", ModuleImportRequest},
-+    RequestPair {(const char *) u8"MODULE-COMPILED", ModuleCompiledRequest},
-+    RequestPair {(const char *) u8"INCLUDE-TRANSLATE", IncludeTranslateRequest},
-   };
- }
- 
-@@ -135,21 +135,21 @@ void Server::ProcessRequests (void)
- 	  std::string msg;
- 
- 	  if (err > 0)
--	    msg = u8"error processing '";
-+	    msg = (const char *) u8"error processing '";
- 	  else if (ix >= Detail::RC_HWM)
--	    msg = u8"unrecognized '";
-+	    msg = (const char *) u8"unrecognized '";
- 	  else if (IsConnected () && ix == Detail::RC_CONNECT)
--	    msg = u8"already connected '";
-+	    msg = (const char *) u8"already connected '";
- 	  else if (!IsConnected () && ix != Detail::RC_CONNECT)
--	    msg = u8"not connected '";
-+	    msg = (const char *) u8"not connected '";
- 	  else
--	    msg = u8"malformed '";
-+	    msg = (const char *) u8"malformed '";
- 
- 	  read.LexedLine (msg);
--	  msg.append (u8"'");
-+	  msg.append ((const char *) u8"'");
- 	  if (err > 0)
- 	    {
--	      msg.append (u8" ");
-+	      msg.append ((const char *) u8" ");
- 	      msg.append (strerror (err));
- 	    }
- 	  resolver->ErrorResponse (this, std::move (msg));
-@@ -176,7 +176,7 @@ Resolver *ConnectRequest (Server *s, Resolver *r,
-     return nullptr;
- 
-   if (words.size () == 3)
--    words.emplace_back (u8"");
-+    words.emplace_back ((const char *) u8"");
-   unsigned version = ParseUnsigned (words[1]);
-   if (version == ~0u)
-     return nullptr;
--- 
-2.54.0
-
package/gcc/15.3.0/0001-disable-split-stack-for-non-thread-builds.patch renamed from package/gcc/15.2.0/0001-disable-split-stack-for-non-thread-builds.patch +0 -0
similarity index 100%
rename from package/gcc/15.2.0/0001-disable-split-stack-for-non-thread-builds.patch
rename to package/gcc/15.3.0/0001-disable-split-stack-for-non-thread-builds.patch
package/gcc/15.3.0/0002-gcc-config-microblaze-fix-ira-for-GCC15.patch renamed from package/gcc/15.2.0/0003-gcc-config-microblaze-fix-ira-for-GCC15.patch +0 -0
similarity index 100%
rename from package/gcc/15.2.0/0003-gcc-config-microblaze-fix-ira-for-GCC15.patch
rename to package/gcc/15.3.0/0002-gcc-config-microblaze-fix-ira-for-GCC15.patch
package/gcc/Config.in.host +1 -1
index 1c4358f448..896bb3cfbb 100644
@@ -69,7 +69,7 @@ config BR2_GCC_VERSION
 	string
 	default "8.4.0"     if BR2_GCC_VERSION_POWERPC_SPE
 	default "14.3.0"    if BR2_GCC_VERSION_14_X
-	default "15.2.0"    if BR2_GCC_VERSION_15_X
+	default "15.3.0"    if BR2_GCC_VERSION_15_X
 	default "16.1.0"    if BR2_GCC_VERSION_16_X
 	default "arc-2024.12-release" if BR2_GCC_VERSION_ARC
 
package/gcc/gcc.hash +2 -2
index 0b17a809c8..0890abc2ea 100644
@@ -2,8 +2,8 @@
 sha512  6de904f552a02de33b11ef52312bb664396efd7e1ce3bbe37bfad5ef617f133095b3767b4804bc7fe78df335cb53bc83f1ac055baed40979ce4c2c3e46b70280  gcc-8.4.0.tar.xz
 # From https://gcc.gnu.org/pub/gcc/releases/gcc-14.3.0/sha512.sum
 sha512  cb4e3259640721bbd275c723fe4df53d12f9b1673afb3db274c22c6aa457865dccf2d6ea20b4fd4c591f6152e6d4b87516c402015900f06ce9d43af66d3b7a93  gcc-14.3.0.tar.xz
-# From https://gcc.gnu.org/pub/gcc/releases/gcc-15.2.0/sha512.sum
-sha512  89047a2e07bd9da265b507b516ed3635adb17491c7f4f67cf090f0bd5b3fc7f2ee6e4cc4008beef7ca884b6b71dffe2bb652b21f01a702e17b468cca2d10b2de  gcc-15.2.0.tar.xz
+# From https://gcc.gnu.org/pub/gcc/releases/gcc-15.3.0/sha512.sum
+sha512  0de9e296153b52c021b1c7e63c9c62151d7a0ac03f23ce6e9f772c1b0eb783f6acdd81cc4567bfe4128a6f64968c2cfc8eff40b36229cba7425349f7d637c654  gcc-15.3.0.tar.xz
Quoted 8 lines

package/gcc/gcc.hash line 9

Quoted 3 lines
package/gcc/gcc.hash +0 -0
 # From https://gcc.gnu.org/pub/gcc/releases/gcc-16.1.0/sha512.sum
 sha512  b3454958891ab47e1e5b6cb9396c0ad3b04f32fe2a7bf1153a143f21013fdb6b295ca94c98964698a688e4c1d7555ffd8ffbc20187507cce6b1c32cbcc09897a  gcc-16.1.0.tar.xz
 

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

Applied to 2026.05.x. Thanks

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

A message that is not in the archive (sent off-list or not yet received): c145e709-580f-447e-99c3-03bab062cf7f__16883.8836414338$1782762233$gmane$org@smile.fr

#6 lore raw

Am Mon, 29 Jun 2026 21:43:13 +0200 schrieb Romain Naour via buildroot:

Quoted 9 lines
Quoted 4 lines

Removed patches which are included in this release, renumbered patch 0003.

Series applied to master. Thanks.

Best regards,
Romain

Hi Romain,

https://patchwork.ozlabs.org/project/buildroot/patch/
[email protected]/

contains two renames:

 rename package/gcc/{15.2.0 => 15.3.0}/0001-disable-split-stack-for-non-

thread-builds.patch (100%)

 rename package/gcc/{15.2.0/0003-gcc-config-microblaze-fix-ira-for-

GCC15.patch => 15.3.0/0002-gcc-config-microblaze-fix-ira-for-GCC15.patch} (100%)

Both of them were not applied with your commit:
https://gitlab.com/buildroot.org/buildroot/-/commit/
f8f6bcec0f523510a22882e4391999be81dc0e94

The directory package/gcc/15.3.0/ does not even exist and the buildroot pipelines are failing:
https://gitlab.com/buildroot.org/buildroot/-/jobs/15090816570

.checkpackageignore:353: ignored file package/gcc/15.3.0/0001-disable- split-stack-for-non-thread-builds.patch is missing

Regards, Bernd

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#7 lore raw

Hello Bernd, All,

Le 29/06/2026 à 22:44, Bernd Kuhls a écrit :

Quoted 30 lines

Am Mon, 29 Jun 2026 21:43:13 +0200 schrieb Romain Naour via buildroot:

Quoted 9 lines
Quoted 4 lines

Removed patches which are included in this release, renumbered patch 0003.

Series applied to master. Thanks.

Best regards,
Romain

Hi Romain,

https://patchwork.ozlabs.org/project/buildroot/patch/
[email protected]/

contains two renames:

 rename package/gcc/{15.2.0 => 15.3.0}/0001-disable-split-stack-for-non-

thread-builds.patch (100%)

 rename package/gcc/{15.2.0/0003-gcc-config-microblaze-fix-ira-for-

GCC15.patch => 15.3.0/0002-gcc-config-microblaze-fix-ira-for-GCC15.patch} (100%)

Both of them were not applied with your commit:
https://gitlab.com/buildroot.org/buildroot/-/commit/
f8f6bcec0f523510a22882e4391999be81dc0e94

Quoted 6 lines

The directory package/gcc/15.3.0/ does not even exist and the buildroot pipelines are failing:
https://gitlab.com/buildroot.org/buildroot/-/jobs/15090816570

.checkpackageignore:353: ignored file package/gcc/15.3.0/0001-disable- split-stack-for-non-thread-builds.patch is missing

I had an issue while applying your patch from patchwork, your patch got corrupted by patchwork somehow.
I applied manually the patch fixing the git am issue.

But indeed the two patches for 15.3.0 is still in my work directory:
0001-disable-split-stack-for-non-thread-builds.patch 0002-gcc-config-microblaze-fix-ira-for-GCC15.patch

Best regards,
Romain

Quoted 7 lines

Regards, Bernd

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#8 lore raw

Am Mon, 29 Jun 2026 23:03:00 +0200 schrieb Romain Naour via buildroot:

Quoted 2 lines

I had an issue while applying your patch from patchwork, your patch got corrupted by patchwork somehow.

Hi Romain,

line 471[1] originally has 1283 chars but got split during SMTP transfer to patchworks at 998 chars according to RFC2822: "Each line of characters MUST be no more than 998 characters".

A quick search shows that this is not a new problem:
https://git.vger.kernel.narkive.com/CRuhIPUZ/bug-send-email-brakes-
patches-with-very-long-lines

Regards, Bernd

[1] "libtool: compile: /usr/src/t2-src/src.gcc.ia64[...]"

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#9 lore raw

Hi Bernd, All,
Le 29/06/2026 à 23:32, Bernd Kuhls a écrit :

Quoted 7 lines

Am Mon, 29 Jun 2026 23:03:00 +0200 schrieb Romain Naour via buildroot:

Quoted 2 lines

I had an issue while applying your patch from patchwork, your patch got corrupted by patchwork somehow.

Hi Romain,

Quoted 7 lines

line 471[1] originally has 1283 chars but got split during SMTP transfer to patchworks at 998 chars according to RFC2822: "Each line of characters MUST be no more than 998 characters".

A quick search shows that this is not a new problem:
https://git.vger.kernel.narkive.com/CRuhIPUZ/bug-send-email-brakes-
patches-with-very-long-lines

Indeed, we still need to be careful with patches send by email, handled in patchwork etc.

It's definitively my fault here 🙂

Sorry for messing up your patch today.

Best regards,
Romain

Quoted 9 lines

Regards, Bernd

[1] "libtool: compile: /usr/src/t2-src/src.gcc.ia64[...]"

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot