]> Git Repo - buildroot-mgba.git/commitdiff
package/gcc: add version 14.x
authorWaldemar Brodkorb <[email protected]>
Sat, 11 May 2024 11:56:35 +0000 (13:56 +0200)
committerThomas Petazzoni <[email protected]>
Sat, 11 May 2024 20:50:00 +0000 (22:50 +0200)
See here for changes:
https://gcc.gnu.org/gcc-14/changes.html

Patches 0002/0003 are upstream.

Signed-off-by: Waldemar Brodkorb <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
.checkpackageignore
package/gcc/14.1.0/0001-disable-split-stack-for-non-thread-builds.patch [new file with mode: 0644]
package/gcc/Config.in.host
package/gcc/gcc.hash

index d7e50f3dcf535fb479dc1b11370491ff844fd8e3..38b6edd70f48effc5db920de6cabd10bcbee9799 100644 (file)
@@ -701,6 +701,7 @@ package/gcc/11.4.0/0001-or1k-Add-mcmodel-option-to-handle-large-GOTs.patch lib_p
 package/gcc/11.4.0/0004-disable-split-stack-for-non-thread-builds.patch lib_patch.Upstream
 package/gcc/12.3.0/0001-disable-split-stack-for-non-thread-builds.patch lib_patch.Upstream
 package/gcc/13.2.0/0001-disable-split-stack-for-non-thread-builds.patch lib_patch.Upstream
+package/gcc/14.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/8.4.0/0003-libsanitizer-Remove-cyclades-from-libsanitizer.patch lib_patch.Upstream
diff --git a/package/gcc/14.1.0/0001-disable-split-stack-for-non-thread-builds.patch b/package/gcc/14.1.0/0001-disable-split-stack-for-non-thread-builds.patch
new file mode 100644 (file)
index 0000000..e801085
--- /dev/null
@@ -0,0 +1,26 @@
+From 4f67134e0b1404fef4ea72342be8fab4c37ca8c8 Mon Sep 17 00:00:00 2001
+From: Waldemar Brodkorb <[email protected]>
+Date: Mon, 25 Jul 2022 00:29:55 +0200
+Subject: [PATCH] disable split-stack for non-thread builds
+
+Signed-off-by: Waldemar Brodkorb <[email protected]>
+[Romain: convert to git format]
+Signed-off-by: Romain Naour <[email protected]>
+---
+ libgcc/config/t-stack | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/libgcc/config/t-stack b/libgcc/config/t-stack
+index cc0366b4cd8..f3f97e86d60 100644
+--- a/libgcc/config/t-stack
++++ b/libgcc/config/t-stack
+@@ -1,4 +1,6 @@
+ # Makefile fragment to provide generic support for -fsplit-stack.
+ # This should be used in config.host for any host which supports
+ # -fsplit-stack.
++ifeq ($(enable_threads),yes)
+ LIB2ADD_ST += $(srcdir)/generic-morestack.c $(srcdir)/generic-morestack-thread.c
++endif
+-- 
+2.34.3
+
index d294e8da30fa80b90a169f693733b8735c50236f..bc1f1c3f894d61b39248cfc6c9d1c2294957dfbd 100644 (file)
@@ -49,6 +49,13 @@ config BR2_GCC_VERSION_13_X
        depends on !BR2_POWERPC_CPU_HAS_SPE
        select BR2_TOOLCHAIN_GCC_AT_LEAST_13
 
+config BR2_GCC_VERSION_14_X
+       bool "gcc 14.x"
+       # powerpc spe support has been deprecated since gcc 8.x.
+       # https://gcc.gnu.org/ml/gcc/2018-04/msg00102.html
+       depends on !BR2_POWERPC_CPU_HAS_SPE
+       select BR2_TOOLCHAIN_GCC_AT_LEAST_14
+
 endchoice
 
 # libcilkrts was introduced in gcc 4.9 and removed in gcc 8.x
@@ -79,6 +86,7 @@ config BR2_GCC_VERSION
        default "11.4.0"    if BR2_GCC_VERSION_11_X
        default "12.3.0"    if BR2_GCC_VERSION_12_X
        default "13.2.0"    if BR2_GCC_VERSION_13_X
+       default "14.1.0"    if BR2_GCC_VERSION_14_X
        default "arc-2023.09-release" if BR2_GCC_VERSION_ARC
 
 config BR2_EXTRA_GCC_CONFIG_OPTIONS
index 5061a603bc5dd1d3cb691abdb33aa3d66636e61f..b686bb1ca778a7407c7f40143836cdfa28e163f1 100644 (file)
@@ -8,6 +8,8 @@ sha512  a5018bf1f1fa25ddf33f46e720675d261987763db48e7a5fdf4c26d3150a8abcb82fdc41
 sha512  8fb799dfa2e5de5284edf8f821e3d40c2781e4c570f5adfdb1ca0671fcae3fb7f794ea783e80f01ec7bfbf912ca508e478bd749b2755c2c14e4055648146c204  gcc-12.3.0.tar.xz
 # From https://gcc.gnu.org/pub/gcc/releases/gcc-13.2.0/sha512.sum
 sha512  d99e4826a70db04504467e349e9fbaedaa5870766cda7c5cab50cdebedc4be755ebca5b789e1232a34a20be1a0b60097de9280efe47bdb71c73251e30b0862a2  gcc-13.2.0.tar.xz
+# From https://gcc.gnu.org/pub/gcc/releases/gcc-14.1.0/sha512.sum
+sha512  e9e224f2b26646fcf038d28dfa08b94c623bc57941f99894a321d01c600f7c68aff6b8837fd25e73e540de1f8de5606e98694a62cdcdfb525ce768b3ef6879ea  gcc-14.1.0.tar.xz
 
 # Locally calculated (fetched from Github)
 sha512  4dca20f517a42bb027fec605965b09fb917a535eebf3fe3e811d93476b02b1962df5ad4665f117bd44c2ec8e8015d51a44c00591761fe5f259c201ac5c7d920f  gcc-arc-2023.09-release.tar.gz
This page took 0.045738 seconds and 4 git commands to generate.