Skip to contentSkip to conversation

gcc: remove 4.5.x

PATCH New Gustavo Zacarias 3 participants 3 messages Feb 24, 2016 – Feb 28, 2016

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 gcc: remove 4.5.x

It's been deprecated for some time now.

---
 package/gcc/4.5.4/100-uclibc-conf.patch            |  13 -
 ...00-powerpc-link-with-math-lib.patch.conditional | 125 --------
 package/gcc/4.5.4/301-missing-execinfo_h.patch     |  11 -
 package/gcc/4.5.4/302-c99-snprintf.patch           |  13 -
 .../gcc/4.5.4/305-libmudflap-susv3-legacy.patch    |  49 ---
 package/gcc/4.5.4/810-arm-softfloat-libgcc.patch   |  38 ---
 package/gcc/4.5.4/820-arm-unbreak-armv4t.patch     |  14 -
 package/gcc/4.5.4/830-arm-pr43440.patch            | 345 ---------------------
 package/gcc/Config.in.host                         |  27 --
 9 files changed, 635 deletions(-)
 delete mode 100644 package/gcc/4.5.4/100-uclibc-conf.patch
 delete mode 100644 package/gcc/4.5.4/1000-powerpc-link-with-math-lib.patch.conditional
 delete mode 100644 package/gcc/4.5.4/301-missing-execinfo_h.patch
 delete mode 100644 package/gcc/4.5.4/302-c99-snprintf.patch
 delete mode 100644 package/gcc/4.5.4/305-libmudflap-susv3-legacy.patch
 delete mode 100644 package/gcc/4.5.4/810-arm-softfloat-libgcc.patch
 delete mode 100644 package/gcc/4.5.4/820-arm-unbreak-armv4t.patch
 delete mode 100644 package/gcc/4.5.4/830-arm-pr43440.patch
package/gcc/4.5.4/100-uclibc-conf.patch deleted +0 -13
deleted file mode 100644
index 6bad179..0000000
@@ -1,13 +0,0 @@
---- gcc/gcc/config/--- gcc/contrib/regression/objs-gcc.sh
-+++ gcc/contrib/regression/objs-gcc.sh
-@@ -105,6 +105,10 @@
-  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
package/gcc/4.5.4/1000-powerpc-link-with-math-lib.patch.conditional deleted +0 -125

125 lines not on this page · raw message

package/gcc/4.5.4/301-missing-execinfo_h.patch deleted +0 -11
deleted file mode 100644
index 0e2092f..0000000
@@ -1,11 +0,0 @@
---- gcc-4.0.0/boehm-gc/include/gc.h-orig	2005-04-28 22:28:57.000000000 -0500
-+++ gcc-4.0.0/boehm-gc/include/gc.h	2005-04-28 22:30:38.000000000 -0500
-@@ -500,7 +500,7 @@
- #ifdef __linux__
- # include <features.h>
- # if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1 || __GLIBC__ > 2) \
--     && !defined(__ia64__)
-+     && !defined(__ia64__) && !defined(__UCLIBC__)
- #   ifndef GC_HAVE_BUILTIN_BACKTRACE
- #     define GC_HAVE_BUILTIN_BACKTRACE
- #   endif
package/gcc/4.5.4/302-c99-snprintf.patch deleted +0 -13
deleted file mode 100644
index ba51a0e..0000000
@@ -1,13 +0,0 @@
-Index: gcc-4.3.0/libstdc++-v3/include/c_global/cstdio
-===================================================================
---- gcc-4.3.0/libstdc++-v3/include/c_global/cstdio	(revision 129202)
-+++ gcc-4.3.0/libstdc++-v3/include/c_global/cstdio	(working copy)
-@@ -144,7 +144,7 @@
- 
- _GLIBCXX_END_NAMESPACE
- 
--#if _GLIBCXX_USE_C99
-+#if _GLIBCXX_USE_C99 || defined __UCLIBC__
- 
- #undef snprintf
- #undef vfscanf
package/gcc/4.5.4/305-libmudflap-susv3-legacy.patch deleted +0 -49

49 lines not on this page · raw message

package/gcc/4.5.4/810-arm-softfloat-libgcc.patch deleted +0 -38
deleted file mode 100644
index e6a30a3..0000000
@@ -1,38 +0,0 @@
-[PATCH] add the correct symbols to libgcc for uclibc arm softfloat
-
-Signed-off-by: Peter Korsgaard <[email protected]>
----
- gcc/config/arm/linux-elf.h |    2 +-
- gcc/config/arm/t-linux     |    6 +++++-
- 2 files changed, 6 insertions(+), 2 deletions(-)
-
-Index: gcc-4.4.0/gcc/config/arm/t-linux
-===================================================================
---- gcc-4.4.0.orig/gcc/config/arm/t-linux
-+++ gcc-4.4.0/gcc/config/arm/t-linux
-@@ -4,7 +4,11 @@
- 
- LIB1ASMSRC = arm/lib1funcs.asm
- LIB1ASMFUNCS = _udivsi3 _divsi3 _umodsi3 _modsi3 _dvmd_lnx _clzsi2 _clzdi2 \
--	_arm_addsubdf3 _arm_addsubsf3
-+	_arm_addsubdf3 _arm_addsubsf3 \
-+	_arm_negdf2 _arm_muldivdf3 _arm_cmpdf2 _arm_unorddf2 \
-+	_arm_fixdfsi _arm_fixunsdfsi _arm_truncdfsf2 \
-+	_arm_negsf2 _arm_muldivsf3 _arm_cmpsf2 _arm_unordsf2 \
-+	_arm_fixsfsi _arm_fixunssfsi
- 
- # MULTILIB_OPTIONS = mhard-float/msoft-float
- # MULTILIB_DIRNAMES = hard-float soft-float
-Index: gcc-4.4.0/gcc/config/arm/linux-elf.h
-===================================================================
---- gcc-4.4.0.orig/gcc/config/arm/linux-elf.h
-+++ gcc-4.4.0/gcc/config/arm/linux-elf.h
-@@ -60,7 +60,7 @@
-    %{shared:-lc} \
-    %{!shared:%{profile:-lc_p}%{!profile:-lc}}"
- 
--#define LIBGCC_SPEC "%{msoft-float:-lfloat} %{mfloat-abi=soft*:-lfloat} -lgcc"
-+#define LIBGCC_SPEC "-lgcc"
- 
- #define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2"
- 
package/gcc/4.5.4/820-arm-unbreak-armv4t.patch deleted +0 -14
deleted file mode 100644
index 8651afc..0000000
@@ -1,14 +0,0 @@
-http://sourceware.org/ml/crossgcc/2008-05/msg00009.html
-
-diff -Nura gcc-4.5.1.orig/gcc/config/arm/linux-eabi.h gcc-4.5.1/gcc/config/arm/linux-eabi.h
---- gcc-4.5.1.orig/gcc/config/arm/linux-eabi.h	2009-10-30 17:03:09.000000000 -0300
-+++ gcc-4.5.1/gcc/config/arm/linux-eabi.h	2010-11-02 15:38:25.792208500 -0300
-@@ -44,7 +44,7 @@
-    The ARM10TDMI core is the default for armv5t, so set
-    SUBTARGET_CPU_DEFAULT to achieve this.  */
- #undef  SUBTARGET_CPU_DEFAULT
--#define SUBTARGET_CPU_DEFAULT TARGET_CPU_arm10tdmi
-+#define SUBTARGET_CPU_DEFAULT TARGET_CPU_arm9tdmi
- 
- /* TARGET_BIG_ENDIAN_DEFAULT is set in
-    config.gcc for big endian configurations.  */
package/gcc/4.5.4/830-arm-pr43440.patch deleted +0 -345

345 lines not on this page · raw message

package/gcc/Config.in.host +0 -27
index 5cc0dd3..4845708 100644
@@ -13,32 +13,6 @@ choice
 	help
 	  Select the version of gcc you wish to use.
 
-	config BR2_GCC_VERSION_4_5_X
-		bool "gcc 4.5.x"
-		depends on BR2_DEPRECATED_SINCE_2015_05
-		# Broken or unsupported architectures
-		depends on !BR2_microblaze && !BR2_aarch64 && !BR2_arc \
-			&& !BR2_powerpc64le && !BR2_nios2
-		# Broken or unsupported ARM cores
-		depends on !BR2_cortex_a7 && !BR2_cortex_a12 && \
-			!BR2_cortex_a15 && !BR2_cortex_a17 && \
-			!BR2_fa526 && !BR2_pj4
-		# Broken or unsupported PPC cores
-		depends on !BR2_powerpc_e5500 && !BR2_powerpc_e6500 && \
-			!BR2_powerpc_power8
-		# SPARC -mcpu=leon3 appeared in gcc 4.8.x
-		depends on !BR2_sparc_leon3
-		# Broken or unsupported X86 cores
-		depends on !BR2_x86_corei7 && !BR2_x86_jaguar && !BR2_x86_steamroller
-		# ARM EABIhf support appeared in gcc 4.6
-		depends on !BR2_ARM_EABIHF
-		# Unsupported for MIPS R6
-		depends on !BR2_mips_32r6 && !BR2_mips_64r6
-		# musl patches only for gcc 4.7+
-		depends on !BR2_TOOLCHAIN_BUILDROOT_MUSL
-		select BR2_GCC_NEEDS_MPC
-		select BR2_TOOLCHAIN_GCC_AT_LEAST_4_5
-
 	config BR2_GCC_VERSION_4_7_X
 		bool "gcc 4.7.x"
 		depends on BR2_DEPRECATED_SINCE_2016_05
@@ -113,7 +87,6 @@ config BR2_GCC_SUPPORTS_FINEGRAINEDMTUNE
 
 config BR2_GCC_VERSION
 	string
-	default "4.5.4"     if BR2_GCC_VERSION_4_5_X
 	default "4.7.4"     if BR2_GCC_VERSION_4_7_X
 	default "4.8.5"     if BR2_GCC_VERSION_4_8_X
 	default "4.9.3"     if BR2_GCC_VERSION_4_9_X
Signature · 1 line
2.4.10
#1 lore raw

PATCH v2 1/1 gcc: remove 4.5.x

Quoted 4 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Gustavo" == Gustavo Zacarias <[email protected]> writes:

It's been deprecated for some time now.

Quoted 11 lines
---
 package/gcc/4.5.4/100-uclibc-conf.patch            |  13 -
 ...00-powerpc-link-with-math-lib.patch.conditional | 125 --------
 package/gcc/4.5.4/301-missing-execinfo_h.patch     |  11 -
 package/gcc/4.5.4/302-c99-snprintf.patch           |  13 -
 .../gcc/4.5.4/305-libmudflap-susv3-legacy.patch    |  49 ---
 package/gcc/4.5.4/810-arm-softfloat-libgcc.patch   |  38 ---
 package/gcc/4.5.4/820-arm-unbreak-armv4t.patch     |  14 -
 package/gcc/4.5.4/830-arm-pr43440.patch            | 345 ---------------------
 package/gcc/Config.in.host                         |  27 --
 9 files changed, 635 deletions(-)

Your v1 had legacy handling, but I don't see this here?

Signature · 1 line
Bye, Peter Korsgaard
#2 lore raw

PATCH v2 1/1 gcc: remove 4.5.x

In reply to Gustavo Zacarias

Dear Gustavo Zacarias,

Quoted 14 lines · Gustavo Zacarias

It's been deprecated for some time now.

---
 package/gcc/4.5.4/100-uclibc-conf.patch            |  13 -
 ...00-powerpc-link-with-math-lib.patch.conditional | 125 --------
 package/gcc/4.5.4/301-missing-execinfo_h.patch     |  11 -
 package/gcc/4.5.4/302-c99-snprintf.patch           |  13 -
 .../gcc/4.5.4/305-libmudflap-susv3-legacy.patch    |  49 ---
 package/gcc/4.5.4/810-arm-softfloat-libgcc.patch   |  38 ---
 package/gcc/4.5.4/820-arm-unbreak-armv4t.patch     |  14 -
 package/gcc/4.5.4/830-arm-pr43440.patch            | 345 ---------------------
 package/gcc/Config.in.host                         |  27 --
 9 files changed, 635 deletions(-)
Quoted 8 lines
 delete mode 100644 package/gcc/4.5.4/100-uclibc-conf.patch
 delete mode 100644 package/gcc/4.5.4/1000-powerpc-link-with-math-lib.patch.conditional
 delete mode 100644 package/gcc/4.5.4/301-missing-execinfo_h.patch
 delete mode 100644 package/gcc/4.5.4/302-c99-snprintf.patch
 delete mode 100644 package/gcc/4.5.4/305-libmudflap-susv3-legacy.patch
 delete mode 100644 package/gcc/4.5.4/810-arm-softfloat-libgcc.patch
 delete mode 100644 package/gcc/4.5.4/820-arm-unbreak-armv4t.patch
 delete mode 100644 package/gcc/4.5.4/830-arm-pr43440.patch

As requested by Peter, I've added Config.in.legacy handling, and applied to next. Thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com