Skip to contentSkip to conversation

toolchain: bump gcc 4.3.x series to 4.3.5

PATCH New Gustavo Zacarias 1 participant 1 message Jun 15, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 toolchain: bump gcc 4.3.x series to 4.3.5

commit: http://git.buildroot.net/buildroot/commit/?id=947a9b8586a568a5b400d842bbd1a0762b0fa397
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Closes #2065

---
 CHANGES                                            |    1 +
 toolchain/gcc/4.3.5/100-uclibc-conf.patch          |   33 +++++
 toolchain/gcc/4.3.5/104-gnuhurd-uclibc-conf.patch  |   13 ++
 toolchain/gcc/4.3.5/301-missing-execinfo_h.patch   |   11 ++
 toolchain/gcc/4.3.5/302-c99-snprintf.patch         |   13 ++
 .../gcc/4.3.5/305-libmudflap-susv3-legacy.patch    |   49 ++++++++
 toolchain/gcc/4.3.5/810-arm-softfloat-libgcc.patch |   29 +++++
 .../4.3.5/993-arm_insn-opinit-RTX_CODE-fixup.patch |   41 +++++++
 .../gcc/4.3.5/998-gcc-4.3.0-fix-header.00.patch    |   15 +++
 .../gcc/4.3.5/999-4.3.2-armeabi-aapcs-linux.patch  |   18 +++
 .../4.3.5/999-4.3.3-arm-fix-for-bug-37436.patch    |   86 ++++++++++++++
 ...gcc-4.3.0-cris-pragma-pack-warning-remove.patch |   13 ++
 .../powerpc-link-with-math-lib.patch.conditional   |  125 ++++++++++++++++++++
 toolchain/gcc/Config.in                            |    7 +-
 14 files changed, 453 insertions(+), 1 deletions(-)
 create mode 100644 toolchain/gcc/4.3.5/100-uclibc-conf.patch
 create mode 100644 toolchain/gcc/4.3.5/104-gnuhurd-uclibc-conf.patch
 create mode 100644 toolchain/gcc/4.3.5/301-missing-execinfo_h.patch
 create mode 100644 toolchain/gcc/4.3.5/302-c99-snprintf.patch
 create mode 100644 toolchain/gcc/4.3.5/305-libmudflap-susv3-legacy.patch
 create mode 100644 toolchain/gcc/4.3.5/810-arm-softfloat-libgcc.patch
 create mode 100644 toolchain/gcc/4.3.5/993-arm_insn-opinit-RTX_CODE-fixup.patch
 create mode 100644 toolchain/gcc/4.3.5/998-gcc-4.3.0-fix-header.00.patch
 create mode 100644 toolchain/gcc/4.3.5/999-4.3.2-armeabi-aapcs-linux.patch
 create mode 100644 toolchain/gcc/4.3.5/999-4.3.3-arm-fix-for-bug-37436.patch
 create mode 100644 toolchain/gcc/4.3.5/999-gcc-4.3.0-cris-pragma-pack-warning-remove.patch
 create mode 100644 toolchain/gcc/4.3.5/powerpc-link-with-math-lib.patch.conditional
CHANGES +1 -0
index ac9e744..1c4425b 100644
@@ -75,6 +75,7 @@
 	#1729: alsamixergui fails to build
 	#1801: Avahi-autoipd doesn't create TARGET_DIR/var/lib
 	#1819: pciutils small bugs
+	#2065: Internal toolchain: bump gcc 4.3.x series to 4.3.5
 
 2010.05-rc2, Released May 11th, 2010:
 
toolchain/gcc/4.3.5/100-uclibc-conf.patch new file +33 -0
new file mode 100644
index 0000000..cca8c82
@@ -0,0 +1,33 @@
+--- 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
+--- gcc/libjava/classpath/ltconfig
++++ gcc/libjava/classpath/ltconfig
+@@ -603,7 +603,7 @@
+ 
+ # Transform linux* to *-*-linux-gnu*, to support old configure scripts.
+ case $host_os in
+-linux-gnu*) ;;
++linux-gnu*|linux-uclibc*) ;;
+ linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'`
+ esac
+ 
+@@ -1251,7 +1251,7 @@
+   ;;
+ 
+ # This must be Linux ELF.
+-linux-gnu*)
++linux*)
+   version_type=linux
+   need_lib_prefix=no
+   need_version=no
toolchain/gcc/4.3.5/104-gnuhurd-uclibc-conf.patch new file +13 -0
new file mode 100644
index 0000000..c04dd9f
@@ -0,0 +1,13 @@
+diff -rdup gcc-4.2.1.oorig/gcc/config.gcc gcc-4.2.1/gcc/config.gcc
+--- gcc-4.2.1.oorig/gcc/config.gcc	2007-10-01 11:52:52.000000000 +0200
++++ gcc-4.2.1/gcc/config.gcc	2007-10-01 13:22:12.000000000 +0200
+@@ -494,6 +494,9 @@ case ${target} in
+     alpha*)
+       tm_file="${cpu_type}/${cpu_type}.h alpha/elf.h alpha/linux.h alpha/linux-elf.h gnu.h ${tm_file}"
+       ;;
++    i[34567]86-*hurd*-*)
++      tm_file="${cpu_type}/${cpu_type}.h i386/unix.h i386/att.h dbxelf.h elfos.h svr4.h i386/gnu.h gnu.h ${tm_file}"
++      ;;
+     i[34567]86-*-*)
+       tm_file="${cpu_type}/${cpu_type}.h i386/unix.h i386/att.h dbxelf.h elfos.h svr4.h linux.h i386/linux.h gnu.h ${tm_file}"
+       ;;
toolchain/gcc/4.3.5/301-missing-execinfo_h.patch new file +11 -0
new file mode 100644
index 0000000..0e2092f
@@ -0,0 +1,11 @@
+--- 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
toolchain/gcc/4.3.5/302-c99-snprintf.patch new file +13 -0
new file mode 100644
index 0000000..ba51a0e
@@ -0,0 +1,13 @@
+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
toolchain/gcc/4.3.5/305-libmudflap-susv3-legacy.patch new file +49 -0

49 lines not on this page · raw message

toolchain/gcc/4.3.5/810-arm-softfloat-libgcc.patch new file +29 -0
new file mode 100644
index 0000000..1639c39
@@ -0,0 +1,29 @@
+Index: gcc-4.3.0/gcc/config/arm/t-linux
+===================================================================
+--- gcc-4.3.0/gcc/config/arm/t-linux	(revision 129896)
++++ gcc-4.3.0/gcc/config/arm/t-linux	(working copy)
+@@ -3,7 +3,10 @@
+ TARGET_LIBGCC2_CFLAGS = -fomit-frame-pointer -fPIC
+ 
+ LIB1ASMSRC = arm/lib1funcs.asm
+-LIB1ASMFUNCS = _udivsi3 _divsi3 _umodsi3 _modsi3 _dvmd_lnx
++LIB1ASMFUNCS = _udivsi3 _divsi3 _umodsi3 _modsi3 _dvmd_lnx \
++      _negdf2 _addsubdf3 _muldivdf3 _cmpdf2 _unorddf2 _fixdfsi _fixunsdfsi \
++      _truncdfsf2 _negsf2 _addsubsf3 _muldivsf3 _cmpsf2 _unordsf2 \
++      _fixsfsi _fixunssfsi _floatdidf _floatundidf _floatdisf _floatundisf
+ 
+ # MULTILIB_OPTIONS = mhard-float/msoft-float
+ # MULTILIB_DIRNAMES = hard-float soft-float
+Index: gcc-4.3.0/gcc/config/arm/linux-elf.h
+===================================================================
+--- gcc-4.3.0/gcc/config/arm/linux-elf.h	(revision 129896)
++++ gcc-4.3.0/gcc/config/arm/linux-elf.h	(working copy)
+@@ -48,7 +62,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"
+ 
toolchain/gcc/4.3.5/993-arm_insn-opinit-RTX_CODE-fixup.patch new file +41 -0

41 lines not on this page · raw message

toolchain/gcc/4.3.5/998-gcc-4.3.0-fix-header.00.patch new file +15 -0
new file mode 100644
index 0000000..7fe59d2
@@ -0,0 +1,15 @@
+\\\\
+\\ gcc PR33200
+Index: gcc-4.3.0/gcc/config.gcc
+===================================================================
+--- gcc-4.3.0/gcc/config.gcc	(revision 131628)
++++ gcc-4.3.0/gcc/config.gcc	(working copy)
+@@ -2302,7 +2305,7 @@ sh-*-symbianelf* | sh[12346l]*-*-symbian
+ 	if test x${enable_incomplete_targets} = xyes ; then
+ 		tm_defines="$tm_defines SUPPORT_SH1=1 SUPPORT_SH2E=1 SUPPORT_SH4=1 SUPPORT_SH4_SINGLE=1 SUPPORT_SH2A=1 SUPPORT_SH2A_SINGLE=1 SUPPORT_SH5_32MEDIA=1 SUPPORT_SH5_32MEDIA_NOFPU=1 SUPPORT_SH5_64MEDIA=1 SUPPORT_SH5_64MEDIA_NOFPU=1"
+ 	fi
+-	use_fixproto=yes
++	# XXX: why? use_fixproto=yes
+ 	;;
+ sh-*-rtemscoff*)
+ 	tmake_file="sh/t-sh t-rtems sh/t-rtems"
toolchain/gcc/4.3.5/999-4.3.2-armeabi-aapcs-linux.patch new file +18 -0
new file mode 100644
index 0000000..f4b1c9c
@@ -0,0 +1,18 @@
+\\\\ followup of PR34205; trying to use aapcs-linux
+\\ gcc/ChangeLog
+\\
+\\ 2008-09-18  Bernhard Reutner-Fischer  <aldot@>
+\\
+\\ * config.gcc (arm*-*-*): Add aapcs-linux to supported ABIs.
+\\
+--- gcc-4.3.2.orig/gcc/config.gcc	2008-09-18 20:33:55.000000000 +0200
++++ gcc-4.3.2/gcc/config.gcc	2008-09-18 21:38:52.000000000 +0200
+@@ -2921,7 +2921,7 @@
+ 
+ 		case "$with_abi" in
+ 		"" \
+-		| apcs-gnu | atpcs | aapcs | iwmmxt )
++		| apcs-gnu | atpcs | aapcs | iwmmxt | aapcs-linux )
+ 			#OK
+ 			;;
+ 		*)
toolchain/gcc/4.3.5/999-4.3.3-arm-fix-for-bug-37436.patch new file +86 -0

86 lines not on this page · raw message

toolchain/gcc/4.3.5/999-gcc-4.3.0-cris-pragma-pack-warning-remove.patch new file +13 -0
new file mode 100644
index 0000000..dcf01f2
@@ -0,0 +1,13 @@
+diff -urN gcc-4.3.1.orig/gcc/config/cris/cris.h gcc-4.3.1/gcc/config/cris/cris.h
+--- gcc-4.3.1.orig/gcc/config/cris/cris.h	2008-02-22 12:11:01.000000000 +0100
++++ gcc-4.3.1/gcc/config/cris/cris.h	2008-07-02 10:42:42.000000000 +0200
+@@ -1529,9 +1529,6 @@
+ 
+ #define NO_IMPLICIT_EXTERN_C
+ 
+-/* No specific purpose other than warningless compatibility.  */
+-#define HANDLE_PRAGMA_PACK_PUSH_POP 1
+-
+ /*
+  * Local variables:
+  * eval: (c-set-style "gnu")
toolchain/gcc/4.3.5/powerpc-link-with-math-lib.patch.conditional new file +125 -0

125 lines not on this page · raw message

toolchain/gcc/Config.in +6 -1
index c25a152..7ca5ae2 100644
@@ -4,7 +4,7 @@ comment "GCC Options"
 
 choice
 	prompt "GCC compiler Version"
-	default BR2_GCC_VERSION_4_3_4 if !BR2_avr32
+	default BR2_GCC_VERSION_4_3_5 if !BR2_avr32
 	default BR2_GCC_VERSION_4_2_3 if BR2_avr32
 	help
 	  Select the version of gcc you wish to use.
@@ -50,6 +50,10 @@ choice
 		depends on !BR2_avr32
 		bool "gcc 4.3.4"
 
+	config BR2_GCC_VERSION_4_3_5
+		depends on !BR2_avr32
+		bool "gcc 4.3.5"
+
 	config BR2_GCC_VERSION_4_4_X
 		depends on !BR2_avr32
 		bool "gcc 4.4.x"
@@ -86,6 +90,7 @@ config BR2_GCC_VERSION
 	default "4.3.2"     if BR2_GCC_VERSION_4_3_2
 	default "4.3.3"     if BR2_GCC_VERSION_4_3_3
 	default "4.3.4"     if BR2_GCC_VERSION_4_3_4
+	default "4.3.5"     if BR2_GCC_VERSION_4_3_5
 	default "4.4.4"     if BR2_GCC_VERSION_4_4_X
 	default $BR2_GCC_SNAP_DATE if BR2_GCC_VERSION_SNAP
 
Signature · 1 line
1.7.1