From 1e8c1e0ef097732ea8dad116dc64fc3c3654df94 Mon Sep 17 00:00:00 2001 From: Kadambini Nema Date: Fri, 30 May 2025 17:22:16 -0700 Subject: [PATCH] package/gcc: update to 14.3.0 Release announcement: https://gcc.gnu.org/pipermail/gcc-announce/2025/000186.html List of bugs which were resolved in 14.3.0: https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=14.3 Drop upstream patch 0003-libquadmath-Fix-up-libquadmath-math-sqrtq.c-compilat.patch https://gcc.gnu.org/cgit/gcc/commit/?id=3fe5720430a9ba61ed7562aac4d758cc77d49a28 Signed-off-by: Kadambini Nema [Julien: - rebase on branch next - fix patch 0003 upstream merge URL ] Signed-off-by: Julien Olivain (cherry picked from commit e9227311d9a63c9a829316e2ffb91cb70ed127f1) Signed-off-by: Thomas Perale --- .checkpackageignore | 2 +- ...up-libquadmath-math-sqrtq.c-compilat.patch | 57 ------------------- ...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 +- 6 files changed, 4 insertions(+), 61 deletions(-) delete mode 100644 package/gcc/14.2.0/0003-libquadmath-Fix-up-libquadmath-math-sqrtq.c-compilat.patch rename package/gcc/{14.2.0 => 14.3.0}/0001-disable-split-stack-for-non-thread-builds.patch (100%) rename package/gcc/{14.2.0 => 14.3.0}/0002-libsanitizer-also-undef-_TIME_BITS-in-sanitizer_proc.patch (100%) diff --git a/.checkpackageignore b/.checkpackageignore index 42594dace2..1bb20bce2c 100644 --- a/.checkpackageignore +++ b/.checkpackageignore @@ -479,7 +479,7 @@ package/fxdiv/0001-CMake-don-t-enable-CXX-unless-building-tests-benchma.patch li package/fxload/0001-fix-static-build.patch lib_patch.Upstream package/gcc/12.4.0/0001-disable-split-stack-for-non-thread-builds.patch lib_patch.Upstream package/gcc/13.4.0/0001-disable-split-stack-for-non-thread-builds.patch lib_patch.Upstream -package/gcc/14.2.0/0001-disable-split-stack-for-non-thread-builds.patch lib_patch.Upstream +package/gcc/14.3.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/8.4.0/0003-libsanitizer-Remove-cyclades-from-libsanitizer.patch lib_patch.Upstream diff --git a/package/gcc/14.2.0/0003-libquadmath-Fix-up-libquadmath-math-sqrtq.c-compilat.patch b/package/gcc/14.2.0/0003-libquadmath-Fix-up-libquadmath-math-sqrtq.c-compilat.patch deleted file mode 100644 index b6ed2ffed8..0000000000 --- a/package/gcc/14.2.0/0003-libquadmath-Fix-up-libquadmath-math-sqrtq.c-compilat.patch +++ /dev/null @@ -1,57 +0,0 @@ -From ba9356565695728ce0c852f7de3de27f8745611d Mon Sep 17 00:00:00 2001 -From: Jakub Jelinek -Date: Sat, 3 Aug 2024 20:37:54 +0200 -Subject: [PATCH] libquadmath: Fix up libquadmath/math/sqrtq.c compilation in - some powerpc* configurations [PR116007] - -My PR114623 change started using soft-fp.h and quad.h for the sqrtq implementation. -Unfortunately, that seems to fail building in some powerpc* configurations, where -TFmode isn't available. -quad.h has: - #ifndef TFtype - typedef float TFtype __attribute__ ((mode (TF))); - #endif -and uses TFtype. quad.h has: - /* Define the complex type corresponding to __float128 - ("_Complex __float128" is not allowed) */ - #if (!defined(_ARCH_PPC)) || defined(__LONG_DOUBLE_IEEE128__) - typedef _Complex float __attribute__((mode(TC))) __complex128; - #else - typedef _Complex float __attribute__((mode(KC))) __complex128; - #endif -with the conditional and KCmode use added during porting of libquadmath -to powerpc*, so I've just defined TFtype for powerpc when __LONG_DOUBLE_IEEE128__ -isn't defined; I could define it to float __attribute__ ((mode (KF))) but it -seemed easier to just define it to __float128 which should do the same thing. - -2024-08-03 Jakub Jelinek - - PR target/116007 - * math/sqrtq.c (TFtype): For PowerPC without __LONG_DOUBLE_IEEE128__ - define to __float128 before including soft-fp.h and quad.h. - -(cherry picked from commit 3ac02e67503ccffa3dfeeffc0a60fce6bdaca43b) -Upstream: https://gcc.gnu.org/g:3ac02e67503ccffa3dfeeffc0a60fce6bdaca43b -Upstream: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116007 -Signed-off-by: Thomas Petazzoni ---- - libquadmath/math/sqrtq.c | 3 +++ - 1 file changed, 3 insertions(+) - -diff --git a/libquadmath/math/sqrtq.c b/libquadmath/math/sqrtq.c -index 8ca2828d42c..a58998a0667 100644 ---- a/libquadmath/math/sqrtq.c -+++ b/libquadmath/math/sqrtq.c -@@ -9,6 +9,9 @@ - && defined(FE_TOWARDZERO) \ - && defined(FE_INEXACT) - #define USE_SOFT_FP 1 -+#if defined(_ARCH_PPC) && !defined(__LONG_DOUBLE_IEEE128__) -+#define TFtype __float128 -+#endif - #include "../../libgcc/soft-fp/soft-fp.h" - #include "../../libgcc/soft-fp/quad.h" - #endif --- -2.46.0 - diff --git a/package/gcc/14.2.0/0001-disable-split-stack-for-non-thread-builds.patch b/package/gcc/14.3.0/0001-disable-split-stack-for-non-thread-builds.patch similarity index 100% rename from package/gcc/14.2.0/0001-disable-split-stack-for-non-thread-builds.patch rename to package/gcc/14.3.0/0001-disable-split-stack-for-non-thread-builds.patch diff --git a/package/gcc/14.2.0/0002-libsanitizer-also-undef-_TIME_BITS-in-sanitizer_proc.patch b/package/gcc/14.3.0/0002-libsanitizer-also-undef-_TIME_BITS-in-sanitizer_proc.patch similarity index 100% rename from package/gcc/14.2.0/0002-libsanitizer-also-undef-_TIME_BITS-in-sanitizer_proc.patch rename to package/gcc/14.3.0/0002-libsanitizer-also-undef-_TIME_BITS-in-sanitizer_proc.patch diff --git a/package/gcc/Config.in.host b/package/gcc/Config.in.host index 1cbfaad59b..ebd6e073c0 100644 --- a/package/gcc/Config.in.host +++ b/package/gcc/Config.in.host @@ -75,7 +75,7 @@ config BR2_GCC_VERSION default "8.4.0" if BR2_GCC_VERSION_POWERPC_SPE default "12.4.0" if BR2_GCC_VERSION_12_X default "13.4.0" if BR2_GCC_VERSION_13_X - default "14.2.0" if BR2_GCC_VERSION_14_X + default "14.3.0" if BR2_GCC_VERSION_14_X default "arc-2023.09-release" if BR2_GCC_VERSION_ARC config BR2_EXTRA_GCC_CONFIG_OPTIONS diff --git a/package/gcc/gcc.hash b/package/gcc/gcc.hash index 0da5cd26e8..168c6643ce 100644 --- a/package/gcc/gcc.hash +++ b/package/gcc/gcc.hash @@ -4,8 +4,8 @@ sha512 6de904f552a02de33b11ef52312bb664396efd7e1ce3bbe37bfad5ef617f133095b3767b sha512 5bd29402cad2deb5d9388d0236c7146414d77e5b8d5f1c6c941c7a1f47691c3389f08656d5f6e8e2d6717bf2c81f018d326f632fb468f42925b40bd217fc4853 gcc-12.4.0.tar.xz # From https://gcc.gnu.org/pub/gcc/releases/gcc-13.4.0/sha512.sum sha512 9b4b83ecf51ef355b868608b8d257b2fa435c06d2719cb86657a7c2c2a0828ff4ce04e9bac1055bbcad8ed5b4da524cafaef654785e23a50233d95d89201e35f gcc-13.4.0.tar.xz -# From https://gcc.gnu.org/pub/gcc/releases/gcc-14.2.0/sha512.sum -sha512 932bdef0cda94bacedf452ab17f103c0cb511ff2cec55e9112fc0328cbf1d803b42595728ea7b200e0a057c03e85626f937012e49a7515bc5dd256b2bf4bc396 gcc-14.2.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 # Locally calculated (fetched from Github) sha512 4dca20f517a42bb027fec605965b09fb917a535eebf3fe3e811d93476b02b1962df5ad4665f117bd44c2ec8e8015d51a44c00591761fe5f259c201ac5c7d920f gcc-arc-2023.09-release.tar.gz