package/gcc: remove version 11.x
PATCH 3/3 package/gcc: remove version 11.x
Now that gcc 14 was added, we can remove the oldest version of gcc.
Signed-off-by Waldemar Brodkorb <[email protected]>
--- .checkpackageignore | 2 - ...-mcmodel-option-to-handle-large-GOTs.patch | 204 ------------------ ...-cmodel-large-when-building-crtstuff.patch | 64 ------ ...TRANT-for-OpenRISC-when-pthread-is-p.patch | 35 --- ...le-split-stack-for-non-thread-builds.patch | 26 --- ...-machine-names-in-__has_include-.-PR.patch | 124 ----------- ...ine-TARGET_HAVE_TLS-when-HAVE_AS_TLS.patch | 49 ----- ...add-.note.GNU-stack-section-on-linux.patch | 105 --------- ...emove-crypt-and-crypt_r-interceptors.patch | 140 ------------ ...libiberty-Darwin-Fix-a-build-warning.patch | 37 ---- package/gcc/Config.in.host | 11 - package/gcc/gcc.hash | 2 - 12 files changed, 799 deletions(-) delete mode 100644 package/gcc/11.4.0/0001-or1k-Add-mcmodel-option-to-handle-large-GOTs.patch delete mode 100644 package/gcc/11.4.0/0002-or1k-Use-cmodel-large-when-building-crtstuff.patch delete mode 100644 package/gcc/11.4.0/0003-gcc-define-_REENTRANT-for-OpenRISC-when-pthread-is-p.patch delete mode 100644 package/gcc/11.4.0/0004-disable-split-stack-for-non-thread-builds.patch delete mode 100644 package/gcc/11.4.0/0005-fixinc-don-t-fix-machine-names-in-__has_include-.-PR.patch delete mode 100644 package/gcc/11.4.0/0006-or1k-Only-define-TARGET_HAVE_TLS-when-HAVE_AS_TLS.patch delete mode 100644 package/gcc/11.4.0/0007-xtensa-add-.note.GNU-stack-section-on-linux.patch delete mode 100644 package/gcc/11.4.0/0008-Remove-crypt-and-crypt_r-interceptors.patch delete mode 100644 package/gcc/11.4.0/0009-libiberty-Darwin-Fix-a-build-warning.patch
.checkpackageignore +0 -2
@@ -697,8 +697,6 @@ package/fxload/0001-fix-static-build.patch lib_patch.Upstream package/gamin/0001-no-abstract-sockets.patch lib_patch.Upstream package/gamin/0002-no-const-return.patch lib_patch.Sob lib_patch.Upstream package/gamin/0003-fix-missing-PTHREAD_MUTEX_RECURSIVE_NP.patch lib_patch.Upstream -package/gcc/11.4.0/0001-or1k-Add-mcmodel-option-to-handle-large-GOTs.patch lib_patch.Upstream -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/11.4.0/0001-or1k-Add-mcmodel-option-to-handle-large-GOTs.patch deleted +0 -204
204 lines not on this page · raw message
package/gcc/11.4.0/0002-or1k-Use-cmodel-large-when-building-crtstuff.patch deleted +0 -64
64 lines not on this page · raw message
package/gcc/11.4.0/0003-gcc-define-_REENTRANT-for-OpenRISC-when-pthread-is-p.patch deleted +0 -35
@@ -1,35 +0,0 @@ -From 48ced46a5f81f49737ea13d11a099e03062cf141 Mon Sep 17 00:00:00 2001 -From: Bernd Kuhls <[email protected]> -Date: Fri, 27 Mar 2020 21:23:53 +0100 -Subject: [PATCH] gcc: define _REENTRANT for OpenRISC when -pthread is passed - -The detection of pthread support fails on OpenRISC unless _REENTRANT -is defined. Added the CPP_SPEC definition to correct this. - -Patch sent upstream: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94372 - -Upstream: cac2f69cdad434ad5cb60f5fe931d45cd82ef476 - -Signed-off-by: Bernd Kuhls <[email protected]> -[Romain: add Upstream tag] -Signed-off-by: Romain Naour <[email protected]> ---- - gcc/config/or1k/linux.h | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/gcc/config/or1k/linux.h b/gcc/config/or1k/linux.h -index 196f3f3c8f0..0cbdc934af1 100644 ---- a/gcc/config/or1k/linux.h -+++ b/gcc/config/or1k/linux.h -@@ -32,6 +32,8 @@ - #undef MUSL_DYNAMIC_LINKER - #define MUSL_DYNAMIC_LINKER "/lib/ld-musl-or1k.so.1" - -+#define CPP_SPEC "%{pthread:-D_REENTRANT}" -+ - #undef LINK_SPEC - #define LINK_SPEC "%{h*} \ - %{static:-Bstatic} \ --- -2.34.3 -
package/gcc/11.4.0/0004-disable-split-stack-for-non-thread-builds.patch deleted +0 -26
@@ -1,26 +0,0 @@ -From 590ef1956786bfd49dae7a5e2fed67509d06f36b 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 -
package/gcc/11.4.0/0005-fixinc-don-t-fix-machine-names-in-__has_include-.-PR.patch deleted +0 -124
124 lines not on this page · raw message
package/gcc/11.4.0/0006-or1k-Only-define-TARGET_HAVE_TLS-when-HAVE_AS_TLS.patch deleted +0 -49
49 lines not on this page · raw message
package/gcc/11.4.0/0007-xtensa-add-.note.GNU-stack-section-on-linux.patch deleted +0 -105
105 lines not on this page · raw message
package/gcc/11.4.0/0008-Remove-crypt-and-crypt_r-interceptors.patch deleted +0 -140
140 lines not on this page · raw message
package/gcc/11.4.0/0009-libiberty-Darwin-Fix-a-build-warning.patch deleted +0 -37
@@ -1,37 +0,0 @@ -From d1fc3505cc09d0ee02abbb732eafc91967c3ac07 Mon Sep 17 00:00:00 2001 -From: Iain Sandoe <[email protected]> -Date: Mon, 23 Aug 2021 17:34:43 +0100 -Subject: [PATCH] libiberty, Darwin: Fix a build warning. - -r12-3005-g220c410162ebece4f missed a cast for the set_32 call. -Fixed thus. - -Signed-off-by: Iain Sandoe <[email protected]> - -libiberty/ChangeLog: - - * simple-object-mach-o.c (simple_object_mach_o_write_segment): - Cast the first argument to set_32 as needed. - -Upstream: https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=38757aa88735ab2e511bc428e2407a5a5e9fa0be -Signed-off-by: Brandon Maier <[email protected]> ---- - libiberty/simple-object-mach-o.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/libiberty/simple-object-mach-o.c b/libiberty/simple-object-mach-o.c -index 72b69d19c21..a8869e7c639 100644 ---- a/libiberty/simple-object-mach-o.c -+++ b/libiberty/simple-object-mach-o.c -@@ -1228,7 +1228,7 @@ simple_object_mach_o_write_segment (simple_object_write *sobj, int descriptor, - /* Swap the indices, if required. */ - - for (i = 0; i < (nsects_in * 4); ++i) -- set_32 (&index[i], index[i]); -+ set_32 ((unsigned char *) &index[i], index[i]); - - sechdr_offset += sechdrsize; - --- -2.45.0 -
package/gcc/Config.in.host +0 -11
@@ -22,16 +22,6 @@ config BR2_GCC_VERSION_POWERPC_SPE depends on BR2_POWERPC_CPU_HAS_SPE select BR2_TOOLCHAIN_GCC_AT_LEAST_8 -config BR2_GCC_VERSION_11_X - bool "gcc 11.x" - depends on !BR2_ARCH_NEEDS_GCC_AT_LEAST_12 - # 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 - # ARC HS48 rel 31 only supported by gcc arc fork. - depends on !BR2_archs4x_rel31 - select BR2_TOOLCHAIN_GCC_AT_LEAST_11 - config BR2_GCC_VERSION_12_X bool "gcc 12.x" depends on !BR2_ARCH_NEEDS_GCC_AT_LEAST_13
@@ -83,7 +73,6 @@ config BR2_GCC_SUPPORTS_DLANG config BR2_GCC_VERSION string default "8.4.0" if BR2_GCC_VERSION_POWERPC_SPE - 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
package/gcc/gcc.hash +0 -2
@@ -2,8 +2,6 @@ sha512 6de904f552a02de33b11ef52312bb664396efd7e1ce3bbe37bfad5ef617f133095b3767b4804bc7fe78df335cb53bc83f1ac055baed40979ce4c2c3e46b70280 gcc-8.4.0.tar.xz # From https://gcc.gnu.org/pub/gcc/releases/gcc-10.4.0/sha512.sum sha512 440c08ca746da450d9a1b35e8fd2305cb27e7e6987cd9d0f7d375f3b1fc9e4b0bd7acb3cd7bf795e72fcbead59cdef5b6c152862f5d35cd9fbfe6902101ce648 gcc-10.4.0.tar.xz -# From https://gcc.gnu.org/pub/gcc/releases/gcc-11.4.0/sha512.sum -sha512 a5018bf1f1fa25ddf33f46e720675d261987763db48e7a5fdf4c26d3150a8abcb82fdc413402df1c32f2e6b057d9bae6bdfa026defc4030e10144a8532e60f14 gcc-11.4.0.tar.xz # From https://gcc.gnu.org/pub/gcc/releases/gcc-12.3.0/sha512.sum sha512 8fb799dfa2e5de5284edf8f821e3d40c2781e4c570f5adfdb1ca0671fcae3fb7f794ea783e80f01ec7bfbf912ca508e478bd749b2755c2c14e4055648146c204 gcc-12.3.0.tar.xz # From https://gcc.gnu.org/pub/gcc/releases/gcc-13.2.0/sha512.sum
Signature · 6 lines
2.30.2 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Thomas Petazzoni via buildroot
AppliedQuoted 18 lines · On Sat, 11 May 2024 13:59:36 +0200 Waldemar Brodkorb <[email protected]> wrote:
Now that gcc 14 was added, we can remove the oldest version of gcc.
Signed-off-by Waldemar Brodkorb <[email protected]>--- .checkpackageignore | 2 - ...-mcmodel-option-to-handle-large-GOTs.patch | 204 ------------------ ...-cmodel-large-when-building-crtstuff.patch | 64 ------ ...TRANT-for-OpenRISC-when-pthread-is-p.patch | 35 --- ...le-split-stack-for-non-thread-builds.patch | 26 --- ...-machine-names-in-__has_include-.-PR.patch | 124 ----------- ...ine-TARGET_HAVE_TLS-when-HAVE_AS_TLS.patch | 49 ----- ...add-.note.GNU-stack-section-on-linux.patch | 105 --------- ...emove-crypt-and-crypt_r-interceptors.patch | 140 ------------ ...libiberty-Darwin-Fix-a-build-warning.patch | 37 ---- package/gcc/Config.in.host | 11 - package/gcc/gcc.hash | 2 - 12 files changed, 799 deletions(-) delete mode 100644 package/gcc/11.4.0/0001-or1k-Add-mcmodel-option-to-handle-large-GOTs.patch
Quoted 8 lines
delete mode 100644 package/gcc/11.4.0/0002-or1k-Use-cmodel-large-when-building-crtstuff.patch delete mode 100644 package/gcc/11.4.0/0003-gcc-define-_REENTRANT-for-OpenRISC-when-pthread-is-p.patch delete mode 100644 package/gcc/11.4.0/0004-disable-split-stack-for-non-thread-builds.patch delete mode 100644 package/gcc/11.4.0/0005-fixinc-don-t-fix-machine-names-in-__has_include-.-PR.patch delete mode 100644 package/gcc/11.4.0/0006-or1k-Only-define-TARGET_HAVE_TLS-when-HAVE_AS_TLS.patch delete mode 100644 package/gcc/11.4.0/0007-xtensa-add-.note.GNU-stack-section-on-linux.patch delete mode 100644 package/gcc/11.4.0/0008-Remove-crypt-and-crypt_r-interceptors.patch delete mode 100644 package/gcc/11.4.0/0009-libiberty-Darwin-Fix-a-build-warning.patch
Applied to master, thanks.
Thomas
Signature · 7 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot