[openwrt/openwrt] toolchain: gcc: update GCC13 to 13.4
LEDE Commits
lede-commits at lists.infradead.org
Wed Aug 20 14:43:11 PDT 2025
nick pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/44a5d1c4488cc57adf806f0cbbee17374feaaf7d
commit 44a5d1c4488cc57adf806f0cbbee17374feaaf7d
Author: Shiji Yang <yangshiji66 at outlook.com>
AuthorDate: Tue Jun 10 21:32:13 2025 +0800
toolchain: gcc: update GCC13 to 13.4
Release Notes:
https://gcc.gnu.org/gcc-13/changes.html
All patches are automatically refreshed.
Build-tested on:
ath79/generic(MIPS)
ipq40xx/generic(ARMv7)
mediatek/filogic(ARMv8)
Signed-off-by: Shiji Yang <yangshiji66 at outlook.com>
Link: https://github.com/openwrt/openwrt/pull/19089
Signed-off-by: Nick Hainke <vincent at systemli.org>
---
toolchain/gcc/Config.version | 2 +-
toolchain/gcc/common.mk | 4 ++--
toolchain/gcc/patches-13.x/010-documentation.patch | 2 +-
toolchain/gcc/patches-13.x/230-musl_libssp.patch | 2 +-
toolchain/gcc/patches-13.x/300-mips_Os_cpu_rtx_cost_model.patch | 2 +-
toolchain/gcc/patches-13.x/920-specs_nonfatal_getenv.patch | 2 +-
6 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/toolchain/gcc/Config.version b/toolchain/gcc/Config.version
index 063a2dc9ce..5960fe3d9b 100644
--- a/toolchain/gcc/Config.version
+++ b/toolchain/gcc/Config.version
@@ -14,7 +14,7 @@ config GCC_VERSION
string
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 "13.4.0" if GCC_VERSION_13
default "15.2.0" if GCC_VERSION_15
default "14.3.0"
diff --git a/toolchain/gcc/common.mk b/toolchain/gcc/common.mk
index 3c1167724e..8bd898e095 100644
--- a/toolchain/gcc/common.mk
+++ b/toolchain/gcc/common.mk
@@ -38,8 +38,8 @@ ifeq ($(PKG_VERSION),12.3.0)
PKG_HASH:=949a5d4f99e786421a93b532b22ffab5578de7321369975b91aec97adfda8c3b
endif
-ifeq ($(PKG_VERSION),13.3.0)
- PKG_HASH:=0845e9621c9543a13f484e94584a49ffc0129970e9914624235fc1d061a0c083
+ifeq ($(PKG_VERSION),13.4.0)
+ PKG_HASH:=9c4ce6dbb040568fdc545588ac03c5cbc95a8dbf0c7aa490170843afb59ca8f5
endif
ifeq ($(PKG_VERSION),14.3.0)
diff --git a/toolchain/gcc/patches-13.x/010-documentation.patch b/toolchain/gcc/patches-13.x/010-documentation.patch
index 9646568afe..cdb0819133 100644
--- a/toolchain/gcc/patches-13.x/010-documentation.patch
+++ b/toolchain/gcc/patches-13.x/010-documentation.patch
@@ -12,7 +12,7 @@ Date: Tue Feb 26 16:16:33 2013 +0000
--- a/gcc/Makefile.in
+++ b/gcc/Makefile.in
-@@ -3397,18 +3397,10 @@ doc/gcc.info: $(TEXI_GCC_FILES)
+@@ -3398,18 +3398,10 @@ doc/gcc.info: $(TEXI_GCC_FILES)
doc/gccint.info: $(TEXI_GCCINT_FILES)
doc/cppinternals.info: $(TEXI_CPPINT_FILES)
diff --git a/toolchain/gcc/patches-13.x/230-musl_libssp.patch b/toolchain/gcc/patches-13.x/230-musl_libssp.patch
index fee068e1d6..aa59f4fa48 100644
--- a/toolchain/gcc/patches-13.x/230-musl_libssp.patch
+++ b/toolchain/gcc/patches-13.x/230-musl_libssp.patch
@@ -1,6 +1,6 @@
--- a/gcc/gcc.cc
+++ b/gcc/gcc.cc
-@@ -972,7 +972,9 @@ proper position among the other output f
+@@ -975,7 +975,9 @@ proper position among the other output f
#endif
#ifndef LINK_SSP_SPEC
diff --git a/toolchain/gcc/patches-13.x/300-mips_Os_cpu_rtx_cost_model.patch b/toolchain/gcc/patches-13.x/300-mips_Os_cpu_rtx_cost_model.patch
index 2ca42ad777..87a3cab838 100644
--- a/toolchain/gcc/patches-13.x/300-mips_Os_cpu_rtx_cost_model.patch
+++ b/toolchain/gcc/patches-13.x/300-mips_Os_cpu_rtx_cost_model.patch
@@ -10,7 +10,7 @@ Signed-off-by: Felix Fietkau <nbd at nbd.name>
--- a/gcc/config/mips/mips.cc
+++ b/gcc/config/mips/mips.cc
-@@ -20219,7 +20219,7 @@ mips_option_override (void)
+@@ -20228,7 +20228,7 @@ mips_option_override (void)
flag_pcc_struct_return = 0;
/* Decide which rtx_costs structure to use. */
diff --git a/toolchain/gcc/patches-13.x/920-specs_nonfatal_getenv.patch b/toolchain/gcc/patches-13.x/920-specs_nonfatal_getenv.patch
index 265ca22c0c..bd965660f4 100644
--- a/toolchain/gcc/patches-13.x/920-specs_nonfatal_getenv.patch
+++ b/toolchain/gcc/patches-13.x/920-specs_nonfatal_getenv.patch
@@ -7,7 +7,7 @@ Date: Sat Apr 21 03:02:39 2012 +0000
--- a/gcc/gcc.cc
+++ b/gcc/gcc.cc
-@@ -10174,8 +10174,10 @@ getenv_spec_function (int argc, const ch
+@@ -10184,8 +10184,10 @@ getenv_spec_function (int argc, const ch
}
if (!value)
More information about the lede-commits
mailing list