From 7bc227b82d8cb0ce2d9f7262efba435b6cc6fb58 Mon Sep 17 00:00:00 2001 From: Robert Marko Date: Fri, 8 Aug 2025 14:31:18 +0200 Subject: [PATCH] gcc: 15.x: update to 15.2 Update GCC15 to 15.2 to include upstream bugfixes. Link: https://github.com/openwrt/openwrt/pull/19713 Signed-off-by: Robert Marko --- toolchain/gcc/Config.version | 2 +- toolchain/gcc/common.mk | 4 ++-- toolchain/gcc/patches-15.x/910-mbsd_multi.patch | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/toolchain/gcc/Config.version b/toolchain/gcc/Config.version index 34e8c177866..063a2dc9ce6 100644 --- a/toolchain/gcc/Config.version +++ b/toolchain/gcc/Config.version @@ -15,7 +15,7 @@ config GCC_VERSION default EXTERNAL_GCC_VERSION if EXTERNAL_TOOLCHAIN && !NATIVE_TOOLCHAIN default "12.3.0" if GCC_VERSION_12 default "13.3.0" if GCC_VERSION_13 - default "15.1.0" if GCC_VERSION_15 + default "15.2.0" if GCC_VERSION_15 default "14.3.0" config GCC_USE_DEFAULT_VERSION diff --git a/toolchain/gcc/common.mk b/toolchain/gcc/common.mk index 23e337dc2f7..3c1167724ee 100644 --- a/toolchain/gcc/common.mk +++ b/toolchain/gcc/common.mk @@ -46,8 +46,8 @@ ifeq ($(PKG_VERSION),14.3.0) PKG_HASH:=e0dc77297625631ac8e50fa92fffefe899a4eb702592da5c32ef04e2293aca3a endif -ifeq ($(PKG_VERSION),15.1.0) - PKG_HASH:=e2b09ec21660f01fecffb715e0120265216943f038d0e48a9868713e54f06cea +ifeq ($(PKG_VERSION),15.2.0) + PKG_HASH:=438fd996826b0c82485a29da03a72d71d6e3541a83ec702df4271f6fe025d24e endif PATCH_DIR=../patches-$(GCC_MAJOR_VERSION).x diff --git a/toolchain/gcc/patches-15.x/910-mbsd_multi.patch b/toolchain/gcc/patches-15.x/910-mbsd_multi.patch index c5462e12c86..4b29ac01ccd 100644 --- a/toolchain/gcc/patches-15.x/910-mbsd_multi.patch +++ b/toolchain/gcc/patches-15.x/910-mbsd_multi.patch @@ -40,7 +40,7 @@ Date: Tue Jul 31 00:52:27 2007 +0000 case OPT_fconstant_string_class_: constant_string_class_name = arg; break; -@@ -1359,6 +1368,47 @@ c_common_init (void) +@@ -1361,6 +1370,47 @@ c_common_init (void) return false; } -- 2.47.2