package/gcc: remove gcc 7.5.0
PATCH 1/1 package/gcc: remove gcc 7.5.0
gcc 10.2 is around, gcc 9.3 is the default version, so drop 7.5 in order to reduce the gcc choice.
See:
https://gcc.gnu.org/legacy-ml/gcc/2019-11/msg00099.html
The last defconfig using gcc 7 (roseapplepi_defconfig) has been updated by 9cd065438020582011f393bd71308717b07c5a71.
--- package/gcc/7.5.0/0001-uclibc-conf.patch | 29 -- .../gcc/7.5.0/0002-arm-softfloat-libgcc.patch | 45 --- .../0003-cilk-fix-build-without-wchar.patch | 64 ---- ...1-21-Ajit-Agarwal-ajitkum-xilinx.com.patch | 42 --- ...PR-target-81497-Fix-arm_acle.h-for-C.patch | 323 ------------------ ...TRANT-for-RISC-V-when-pthread-is-pas.patch | 31 -- .../0007-xtensa-fix-PR-target-91880.patch | 49 --- package/gcc/Config.in.host | 8 - package/gcc/gcc.hash | 2 - package/gcc/gcc.mk | 10 - 10 files changed, 603 deletions(-) delete mode 100644 package/gcc/7.5.0/0001-uclibc-conf.patch delete mode 100644 package/gcc/7.5.0/0002-arm-softfloat-libgcc.patch delete mode 100644 package/gcc/7.5.0/0003-cilk-fix-build-without-wchar.patch delete mode 100644 package/gcc/7.5.0/0004-Revert-2016-01-21-Ajit-Agarwal-ajitkum-xilinx.com.patch delete mode 100644 package/gcc/7.5.0/0005-PR-target-81497-Fix-arm_acle.h-for-C.patch delete mode 100644 package/gcc/7.5.0/0006-gcc-define-_REENTRANT-for-RISC-V-when-pthread-is-pas.patch delete mode 100644 package/gcc/7.5.0/0007-xtensa-fix-PR-target-91880.patch
package/gcc/7.5.0/0001-uclibc-conf.patch deleted +0 -29
@@ -1,29 +0,0 @@ -From 0ff63500a600b758cd88ebcd048d7150df9ac881 Mon Sep 17 00:00:00 2001 -From: Romain Naour <[email protected]> -Date: Tue, 2 May 2017 22:36:15 +0200 -Subject: [PATCH] uclibc-conf - -[Romain: convert to git patch] -Signed-off-by: Romain Naour <[email protected]> ---- - contrib/regression/objs-gcc.sh | 4 ++++ - 1 file changed, 4 insertions(+) - -diff --git a/contrib/regression/objs-gcc.sh b/contrib/regression/objs-gcc.sh -index 60b0497fea2..6dc7eadff36 100755 ---- a/contrib/regression/objs-gcc.sh -+++ b/contrib/regression/objs-gcc.sh -@@ -106,6 +106,10 @@ if [ $H_REAL_TARGET = $H_REAL_HOST -a $H_REAL_TARGET = i686-pc-linux-gnu ] - then - make all-gdb all-dejagnu all-ld || exit 1 - make install-gdb install-dejagnu install-ld || exit 1 -+elif [ $H_REAL_TARGET = $H_REAL_HOST -a $H_REAL_TARGET = i686-pc-linux-uclibc ] -+ then -+ make all-gdb all-dejagnu all-ld || exit 1 -+ make install-gdb install-dejagnu install-ld || exit 1 - elif [ $H_REAL_TARGET = $H_REAL_HOST ] ; then - make bootstrap || exit 1 - make install || exit 1 --- -2.21.0 -
package/gcc/7.5.0/0002-arm-softfloat-libgcc.patch deleted +0 -45
45 lines not on this page · raw message
package/gcc/7.5.0/0003-cilk-fix-build-without-wchar.patch deleted +0 -64
64 lines not on this page · raw message
package/gcc/7.5.0/0004-Revert-2016-01-21-Ajit-Agarwal-ajitkum-xilinx.com.patch deleted +0 -42
42 lines not on this page · raw message
package/gcc/7.5.0/0005-PR-target-81497-Fix-arm_acle.h-for-C.patch deleted +0 -323
323 lines not on this page · raw message
package/gcc/7.5.0/0006-gcc-define-_REENTRANT-for-RISC-V-when-pthread-is-pas.patch deleted +0 -31
@@ -1,31 +0,0 @@ -From 1d78555bfc753039546ce5ca655dece67732e7bd Mon Sep 17 00:00:00 2001 -From: Mark Corbin <[email protected]> -Date: Thu, 22 Nov 2018 12:19:11 +0000 -Subject: [PATCH] gcc: define _REENTRANT for RISC-V when -pthread is passed - -The detection of pthread support fails on RISC-V unless _REENTRANT -is defined. Added the CPP_SPEC definition from gcc 8.1.0 to correct -this. - -Signed-off-by: Mark Corbin <[email protected]> -Signed-off-by: Romain Naour <[email protected]> ---- - gcc/config/riscv/linux.h | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/gcc/config/riscv/linux.h b/gcc/config/riscv/linux.h -index 4b2f7b6e1fd..b00d23ddfa0 100644 ---- a/gcc/config/riscv/linux.h -+++ b/gcc/config/riscv/linux.h -@@ -47,6 +47,8 @@ along with GCC; see the file COPYING3. If not see - - #define ICACHE_FLUSH_FUNC "__riscv_flush_icache" - -+#define CPP_SPEC "%{pthread:-D_REENTRANT}" -+ - #define LINK_SPEC "\ - -melf" XLEN_SPEC "lriscv \ - %{shared} \ --- -2.21.0 -
package/gcc/7.5.0/0007-xtensa-fix-PR-target-91880.patch deleted +0 -49
49 lines not on this page · raw message
package/gcc/Config.in.host +0 -8
@@ -20,13 +20,6 @@ config BR2_GCC_VERSION_CSKY depends on BR2_csky select BR2_TOOLCHAIN_GCC_AT_LEAST_6 -config BR2_GCC_VERSION_7_X - bool "gcc 7.x" - depends on !BR2_ARCH_NEEDS_GCC_AT_LEAST_8 - # Broken or unsupported architectures - depends on !BR2_or1k - select BR2_TOOLCHAIN_GCC_AT_LEAST_7 - config BR2_GCC_VERSION_8_X bool "gcc 8.x" depends on !BR2_ARCH_NEEDS_GCC_AT_LEAST_9
@@ -82,7 +75,6 @@ config BR2_GCC_SUPPORTS_DLANG config BR2_GCC_VERSION string - default "7.5.0" if BR2_GCC_VERSION_7_X default "8.4.0" if BR2_GCC_VERSION_8_X default "9.3.0" if BR2_GCC_VERSION_9_X default "10.2.0" if BR2_GCC_VERSION_10_X
package/gcc/gcc.hash +0 -2
@@ -1,5 +1,3 @@ -# From ftp://gcc.gnu.org/pub/gcc/releases/gcc-7.5.0/sha512.sum -sha512 fe716cc19f2e3255d3a8b1b8290777bf769c6d98e6e0b07b81a3d6ad43f8af74cb170dfa18b1555dbfcd3f55ae582b91a286ccef496b9b65c1579902f96a1f60 gcc-7.5.0.tar.xz # From ftp://gcc.gnu.org/pub/gcc/releases/gcc-8.4.0/sha512.sum sha512 6de904f552a02de33b11ef52312bb664396efd7e1ce3bbe37bfad5ef617f133095b3767b4804bc7fe78df335cb53bc83f1ac055baed40979ce4c2c3e46b70280 gcc-8.4.0.tar.xz # From ftp://gcc.gnu.org/pub/gcc/releases/gcc-9.3.0/sha512.sum
package/gcc/gcc.mk +0 -10
@@ -119,16 +119,6 @@ else HOST_GCC_COMMON_CONF_OPTS += --disable-libquadmath endif -# Disable libsanitizer due to a build issue with gcc 7.5 and glibc 2.31. -# It would require to backport the following upstream commit -# https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=4abc46b51af5751d657764d0c44b8a4aeed06302 -# but it conflict with gcc 7.5 libsanitizer code. -# Disable libsanitizer since the gcc 7.5 branch is now closed -# (unmaintained) and it's not a trivial merge. -ifeq ($(BR2_TOOLCHAIN_BUILDROOT_GLIBC)$(BR2_GCC_VERSION_7_X),yy) -HOST_GCC_COMMON_CONF_OPTS += --disable-libsanitizer -endif - # libsanitizer requires wordexp, not in default uClibc config. Also # doesn't build properly with musl. ifeq ($(BR2_TOOLCHAIN_BUILDROOT_UCLIBC)$(BR2_TOOLCHAIN_BUILDROOT_MUSL),y)
Signature · 1 line
2.25.4
PATCH 1/1 package/gcc: remove gcc 7.5.0
Quoted 5 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Romain" == Romain Naour <[email protected]> writes:
gcc 10.2 is around, gcc 9.3 is the default version, so drop 7.5 in order to reduce the gcc choice.
Quoted 7 lines
See:
https://gcc.gnu.org/legacy-ml/gcc/2019-11/msg00099.htmlThe last defconfig using gcc 7 (
roseapplepi_defconfig) has been updated by9cd065438020582011f393bd71308717b07c5a71.Signed-off-by Romain Naour <[email protected]>
Committed after adding a Config.in.legacy entry for it, thanks.
Signature · 1 line
Bye, Peter Korsgaard