Skip to contentSkip to conversation

toolchain: bump gcc 4.5 series to verion 4.5.3

PATCH New Gustavo Zacarias 2 participants 3 messages May 2, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 toolchain: bump gcc 4.5 series to verion 4.5.3

---
 toolchain/gcc/4.5.2/850-arm-pr44392.patch          |   70 --------------------
 .../gcc/{4.5.2 => 4.5.3}/100-uclibc-conf.patch     |    0
 .../{4.5.2 => 4.5.3}/301-missing-execinfo_h.patch  |    0
 .../gcc/{4.5.2 => 4.5.3}/302-c99-snprintf.patch    |    0
 .../305-libmudflap-susv3-legacy.patch              |    0
 .../810-arm-softfloat-libgcc.patch                 |    0
 .../{4.5.2 => 4.5.3}/820-arm-unbreak-armv4t.patch  |    0
 .../gcc/{4.5.2 => 4.5.3}/830-arm-pr43440.patch     |    0
 .../powerpc-link-with-math-lib.patch.conditional   |    0
 toolchain/gcc/Config.in                            |    2 +-
 toolchain/gcc/gcc-uclibc-4.x.mk                    |    2 +-
 11 files changed, 2 insertions(+), 72 deletions(-)
 delete mode 100644 toolchain/gcc/4.5.2/850-arm-pr44392.patch
 rename toolchain/gcc/{4.5.2 => 4.5.3}/100-uclibc-conf.patch (100%)
 rename toolchain/gcc/{4.5.2 => 4.5.3}/301-missing-execinfo_h.patch (100%)
 rename toolchain/gcc/{4.5.2 => 4.5.3}/302-c99-snprintf.patch (100%)
 rename toolchain/gcc/{4.5.2 => 4.5.3}/305-libmudflap-susv3-legacy.patch (100%)
 rename toolchain/gcc/{4.5.2 => 4.5.3}/810-arm-softfloat-libgcc.patch (100%)
 rename toolchain/gcc/{4.5.2 => 4.5.3}/820-arm-unbreak-armv4t.patch (100%)
 rename toolchain/gcc/{4.5.2 => 4.5.3}/830-arm-pr43440.patch (100%)
 rename toolchain/gcc/{4.5.2 => 4.5.3}/powerpc-link-with-math-lib.patch.conditional (100%)
toolchain/gcc/4.5.2/850-arm-pr44392.patch deleted +0 -70
deleted file mode 100644
index 4ad6c44..0000000
@@ -1,70 +0,0 @@
->From d0557763b0713a4c006bd2405eede3924569cafd Mon Sep 17 00:00:00 2001
-From: Ramana Radhakrishnan <[email protected]>
-Date: Mon, 5 Jul 2010 11:28:49 +0100
-Subject: [PATCH 2/2] Fix PR44392
-
----
- gcc/config/arm/arm.md |   43 +++++++++++++++++++------------------------
- 1 files changed, 19 insertions(+), 24 deletions(-)
-
-diff --git a/gcc/config/arm/arm.md b/gcc/config/arm/arm.md
-index 2096ec6..f0348f3 100644
---- a/gcc/config/arm/arm.md
-+++ b/gcc/config/arm/arm.md
-@@ -11318,34 +11318,29 @@
- (define_expand "bswapsi2"
-   [(set (match_operand:SI 0 "s_register_operand" "=r")
-   	(bswap:SI (match_operand:SI 1 "s_register_operand" "r")))]
--"TARGET_EITHER"
-+"TARGET_EITHER && (arm_arch6 || !optimize_size)"
- "
--  if (!arm_arch6)
--    {
--      if (!optimize_size)
--	{
--	  rtx op2 = gen_reg_rtx (SImode);
--	  rtx op3 = gen_reg_rtx (SImode);
-+    if (!arm_arch6)
-+      {
-+	rtx op2 = gen_reg_rtx (SImode);
-+	rtx op3 = gen_reg_rtx (SImode);
- 
--	  if (TARGET_THUMB)
--	    {
--	      rtx op4 = gen_reg_rtx (SImode);
--	      rtx op5 = gen_reg_rtx (SImode);
-+	if (TARGET_THUMB)
-+	  {
-+	    rtx op4 = gen_reg_rtx (SImode);
-+	    rtx op5 = gen_reg_rtx (SImode);
- 
--	      emit_insn (gen_thumb_legacy_rev (operands[0], operands[1],
--					       op2, op3, op4, op5));
--	    }
--	  else
--	    {
--	      emit_insn (gen_arm_legacy_rev (operands[0], operands[1],
--					     op2, op3));
--	    }
-+	    emit_insn (gen_thumb_legacy_rev (operands[0], operands[1],
-+					     op2, op3, op4, op5));
-+	  }
-+	else
-+	  {
-+	    emit_insn (gen_arm_legacy_rev (operands[0], operands[1],
-+					   op2, op3));
-+	  }
- 
--	  DONE;
--	}
--      else
--	FAIL;
--    }
-+	DONE;
-+      }
-   "
- )
- 
--- 
-1.6.2
-
toolchain/gcc/4.5.3/100-uclibc-conf.patch renamed from toolchain/gcc/4.5.2/100-uclibc-conf.patch +0 -0
similarity index 100%
rename from toolchain/gcc/4.5.2/100-uclibc-conf.patch
rename to toolchain/gcc/4.5.3/100-uclibc-conf.patch
toolchain/gcc/4.5.3/301-missing-execinfo_h.patch renamed from toolchain/gcc/4.5.2/301-missing-execinfo_h.patch +0 -0
similarity index 100%
rename from toolchain/gcc/4.5.2/301-missing-execinfo_h.patch
rename to toolchain/gcc/4.5.3/301-missing-execinfo_h.patch
toolchain/gcc/4.5.3/302-c99-snprintf.patch renamed from toolchain/gcc/4.5.2/302-c99-snprintf.patch +0 -0
similarity index 100%
rename from toolchain/gcc/4.5.2/302-c99-snprintf.patch
rename to toolchain/gcc/4.5.3/302-c99-snprintf.patch
toolchain/gcc/4.5.3/305-libmudflap-susv3-legacy.patch renamed from toolchain/gcc/4.5.2/305-libmudflap-susv3-legacy.patch +0 -0
similarity index 100%
rename from toolchain/gcc/4.5.2/305-libmudflap-susv3-legacy.patch
rename to toolchain/gcc/4.5.3/305-libmudflap-susv3-legacy.patch
toolchain/gcc/4.5.3/810-arm-softfloat-libgcc.patch renamed from toolchain/gcc/4.5.2/810-arm-softfloat-libgcc.patch +0 -0
similarity index 100%
rename from toolchain/gcc/4.5.2/810-arm-softfloat-libgcc.patch
rename to toolchain/gcc/4.5.3/810-arm-softfloat-libgcc.patch
toolchain/gcc/4.5.3/820-arm-unbreak-armv4t.patch renamed from toolchain/gcc/4.5.2/820-arm-unbreak-armv4t.patch +0 -0
similarity index 100%
rename from toolchain/gcc/4.5.2/820-arm-unbreak-armv4t.patch
rename to toolchain/gcc/4.5.3/820-arm-unbreak-armv4t.patch
toolchain/gcc/4.5.3/830-arm-pr43440.patch renamed from toolchain/gcc/4.5.2/830-arm-pr43440.patch +0 -0
similarity index 100%
rename from toolchain/gcc/4.5.2/830-arm-pr43440.patch
rename to toolchain/gcc/4.5.3/830-arm-pr43440.patch
toolchain/gcc/4.5.3/powerpc-link-with-math-lib.patch.conditional renamed from toolchain/gcc/4.5.2/powerpc-link-with-math-lib.patch.conditional +0 -0
similarity index 100%
rename from toolchain/gcc/4.5.2/powerpc-link-with-math-lib.patch.conditional
rename to toolchain/gcc/4.5.3/powerpc-link-with-math-lib.patch.conditional
toolchain/gcc/Config.in +1 -1
index 17b21b8..fcdcc19 100644
@@ -57,7 +57,7 @@ config BR2_GCC_VERSION
 	default "4.2.4"     if BR2_GCC_VERSION_4_2_4
 	default "4.3.5"     if BR2_GCC_VERSION_4_3_X
 	default "4.4.6"     if BR2_GCC_VERSION_4_4_X
-	default "4.5.2"     if BR2_GCC_VERSION_4_5_X
+	default "4.5.3"     if BR2_GCC_VERSION_4_5_X
 	default "4.6.0"     if BR2_GCC_VERSION_4_6_X
 	default $BR2_GCC_SNAP_DATE if BR2_GCC_VERSION_SNAP
 
toolchain/gcc/gcc-uclibc-4.x.mk +1 -1
index ebcca53..568aa1a 100644
@@ -44,7 +44,7 @@ EXTRA_GCC_CONFIG_OPTIONS+=--with-pkgversion="Buildroot $(BR2_VERSION_FULL)" \
 endif
 
 # http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43810
-# Workaround until it's fixed in 4.5.2 or later
+# Workaround until it's fixed in 4.5.4 or later
 ifeq ($(ARCH),powerpc)
 ifeq ($(findstring x4.5.,x$(GCC_VERSION)),x4.5.)
 GCC_OPTSPACE=--disable-target-optspace
Signature · 1 line
1.7.3.4
#1 lore raw

PATCH 2/2 toolchain/gcc: add openmp support option

Add OpenMP support in gcc as an option instead of dynamically enabling it when threads are present.
Also fix it up since we never installed libgomp to the target or staging thus it was never really functional.

---
 toolchain/gcc/Config.in         |    6 ++++++
 toolchain/gcc/gcc-uclibc-4.x.mk |   17 ++++++++++++++++-
 2 files changed, 22 insertions(+), 1 deletions(-)
toolchain/gcc/Config.in +6 -0
index fcdcc19..ae9d95d 100644
@@ -109,3 +109,9 @@ config BR2_GCC_ENABLE_TLS
 	help
 	  Enable the compiler to generate code for accessing
 	  thread local storage variables
+
+config BR2_GCC_ENABLE_OPENMP
+	bool "Enable compiler OpenMP support"
+	depends on !BR2_PTHREADS_NONE && !BR2_avr2
+	help
+	  Enable OpenMP support for the compiler
toolchain/gcc/gcc-uclibc-4.x.mk +16 -1
index 568aa1a..9b8bf68 100644
@@ -147,6 +147,12 @@ else
 GCC_SHARED_LIBGCC:=--disable-shared
 endif
 
+ifeq ($(BR2_GCC_ENABLE_OPENMP),y)
+GCC_ENABLE_OPENMP:=--enable-libgomp
+else
+GCC_ENABLE_OPENMP:=--disable-libgomp
+endif
+
 ifeq ($(BR2_GCC_ENABLE_TLS),y)
 GCC_TLS:=--enable-tls
 else
@@ -154,7 +160,7 @@ GCC_TLS:=--disable-tls
 endif
 
 ifeq ($(BR2_PTHREADS_NONE),y)
-THREADS:=--disable-threads --disable-libgomp
+THREADS:=--disable-threads
 else
 THREADS:=--enable-threads
 endif
@@ -234,6 +240,7 @@ $(GCC_BUILD_DIR1)/.configured: $(GCC_DIR)/.patched
 		--disable-__cxa_atexit \
 		$(GCC_OPTSPACE) \
 		$(GCC_QUADMATH) \
+		$(GCC_ENABLE_OPENMP) \
 		--with-gnu-ld \
 		--disable-shared \
 		--disable-libssp \
@@ -301,6 +308,7 @@ $(GCC_BUILD_DIR2)/.configured: $(GCC_DIR)/.patched
 		--disable-__cxa_atexit \
 		$(GCC_OPTSPACE) \
 		$(GCC_QUADMATH) \
+		$(GCC_ENABLE_OPENMP) \
 		--with-gnu-ld \
 		--enable-shared \
 		--disable-libssp \
@@ -379,6 +387,7 @@ $(GCC_BUILD_DIR3)/.configured: $(GCC_SRC_DIR)/.patched $(GCC_STAGING_PREREQ)
 		--disable-__cxa_atexit \
 		$(GCC_OPTSPACE) \
 		$(GCC_QUADMATH) \
+		$(GCC_ENABLE_OPENMP) \
 		--with-gnu-ld \
 		--disable-libssp \
 		--disable-multilib \
@@ -470,6 +479,11 @@ ifeq ($(BR2_INSTALL_LIBGCJ),y)
 		$(TARGET_DIR)/usr/lib/security/
 	-$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/lib/libgcj.so*
 endif
+ifeq ($(BR2_GCC_ENABLE_OPENMP),y)
+	cp -dpf $(HOST_DIR)/usr/$(REAL_GNU_TARGET_NAME)/lib*/libgomp.so* $(STAGING_DIR)/usr/lib/
+	cp -dpf $(HOST_DIR)/usr/$(REAL_GNU_TARGET_NAME)/lib*/libgomp.so* $(TARGET_DIR)/usr/lib/
+	-$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/lib/libgomp.so*
+endif
 	mkdir -p $(@D)
 	touch $@
 
@@ -523,6 +537,7 @@ $(GCC_BUILD_DIR4)/.configured: $(GCC_BUILD_DIR4)/.prepared
 		--disable-__cxa_atexit \
 		$(GCC_OPTSPACE) \
 		$(GCC_QUADMATH) \
+		$(GCC_ENABLE_OPENMP) \
 		--with-gnu-ld \
 		--disable-libssp \
 		--disable-multilib \
Signature · 1 line
1.7.3.4
#2 lore raw

PATCH 1/2 toolchain: bump gcc 4.5 series to verion 4.5.3

In reply to Gustavo Zacarias
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

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

Gustavo> Signed-off-by: Gustavo Zacarias <[email protected]>

Committed, thanks.

Gustavo> ---

 Gustavo>  toolchain/gcc/4.5.2/850-arm-pr44392.patch          |   70 --------------------
 Gustavo>  .../gcc/{4.5.2 => 4.5.3}/100-uclibc-conf.patch     |    0
 Gustavo>  .../{4.5.2 => 4.5.3}/301-missing-execinfo_h.patch  |    0
 Gustavo>  .../gcc/{4.5.2 => 4.5.3}/302-c99-snprintf.patch    |    0
 Gustavo>  .../305-libmudflap-susv3-legacy.patch              |    0
 Gustavo>  .../810-arm-softfloat-libgcc.patch                 |    0
 Gustavo>  .../{4.5.2 => 4.5.3}/820-arm-unbreak-armv4t.patch  |    0
 Gustavo>  .../gcc/{4.5.2 => 4.5.3}/830-arm-pr43440.patch     |    0
 Gustavo>  .../powerpc-link-with-math-lib.patch.conditional   |    0
 Gustavo>  toolchain/gcc/Config.in                            |    2 +-
 Gustavo>  toolchain/gcc/gcc-uclibc-4.x.mk                    |    2 +-
 Gustavo>  11 files changed, 2 insertions(+), 72 deletions(-)
 Gustavo>  delete mode 100644 toolchain/gcc/4.5.2/850-arm-pr44392.patch
 Gustavo>  rename toolchain/gcc/{4.5.2 => 4.5.3}/100-uclibc-conf.patch (100%)
 Gustavo>  rename toolchain/gcc/{4.5.2 => 4.5.3}/301-missing-execinfo_h.patch (100%)
 Gustavo>  rename toolchain/gcc/{4.5.2 => 4.5.3}/302-c99-snprintf.patch (100%)
 Gustavo>  rename toolchain/gcc/{4.5.2 => 4.5.3}/305-libmudflap-susv3-legacy.patch (100%)
 Gustavo>  rename toolchain/gcc/{4.5.2 => 4.5.3}/810-arm-softfloat-libgcc.patch (100%)
 Gustavo>  rename toolchain/gcc/{4.5.2 => 4.5.3}/820-arm-unbreak-armv4t.patch (100%)
 Gustavo>  rename toolchain/gcc/{4.5.2 => 4.5.3}/830-arm-pr43440.patch (100%)
 Gustavo>  rename toolchain/gcc/{4.5.2 => 4.5.3}/powerpc-link-with-math-lib.patch.conditional (100%)

Gustavo> diff --git a/toolchain/gcc/4.5.2/850-arm-pr44392.patch b/toolchain/gcc/4.5.2/850-arm-pr44392.patch Gustavo> deleted file mode 100644
Gustavo> index 4ad6c44..0000000
Gustavo> --- a/toolchain/gcc/4.5.2/850-arm-pr44392.patch
Gustavo> +++ /dev/null
Gustavo> @@ -1,70 +0,0 @@
-> From d0557763b0713a4c006bd2405eede3924569cafd Mon Sep 17 00:00:00 2001
Gustavo> -From: Ramana Radhakrishnan <[email protected]>
Gustavo> -Date: Mon, 5 Jul 2010 11:28:49 +0100
Gustavo> -Subject: [PATCH 2/2] Fix PR44392
Gustavo> -
Gustavo> ----

 Gustavo> - gcc/config/arm/arm.md |   43 +++++++++++++++++++------------------------
 Gustavo> - 1 files changed, 19 insertions(+), 24 deletions(-)
 Gustavo> -
 Gustavo> -diff --git a/gcc/config/arm/arm.md b/gcc/config/arm/arm.md
 Gustavo> -index 2096ec6..f0348f3 100644
 Gustavo> ---- a/gcc/config/arm/arm.md
 Gustavo> -+++ b/gcc/config/arm/arm.md
 Gustavo> -@@ -11318,34 +11318,29 @@
 Gustavo> - (define_expand "bswapsi2"
 Gustavo> -   [(set (match_operand:SI 0 "s_register_operand" "=r")
 Gustavo> -   	(bswap:SI (match_operand:SI 1 "s_register_operand" "r")))]
 Gustavo> --"TARGET_EITHER"
 Gustavo> -+"TARGET_EITHER && (arm_arch6 || !optimize_size)"
 Gustavo> - "
 Gustavo> --  if (!arm_arch6)
 Gustavo> --    {
 Gustavo> --      if (!optimize_size)
 Gustavo> --	{
 Gustavo> --	  rtx op2 = gen_reg_rtx (SImode);
 Gustavo> --	  rtx op3 = gen_reg_rtx (SImode);
 Gustavo> -+    if (!arm_arch6)
 Gustavo> -+      {
 Gustavo> -+	rtx op2 = gen_reg_rtx (SImode);
 Gustavo> -+	rtx op3 = gen_reg_rtx (SImode);
 Gustavo> - 
 Gustavo> --	  if (TARGET_THUMB)
 Gustavo> --	    {
 Gustavo> --	      rtx op4 = gen_reg_rtx (SImode);
 Gustavo> --	      rtx op5 = gen_reg_rtx (SImode);
 Gustavo> -+	if (TARGET_THUMB)
 Gustavo> -+	  {
 Gustavo> -+	    rtx op4 = gen_reg_rtx (SImode);
 Gustavo> -+	    rtx op5 = gen_reg_rtx (SImode);
 Gustavo> - 
 Gustavo> --	      emit_insn (gen_thumb_legacy_rev (operands[0], operands[1],
 Gustavo> --					       op2, op3, op4, op5));
 Gustavo> --	    }
 Gustavo> --	  else
 Gustavo> --	    {
 Gustavo> --	      emit_insn (gen_arm_legacy_rev (operands[0], operands[1],
 Gustavo> --					     op2, op3));
 Gustavo> --	    }
 Gustavo> -+	    emit_insn (gen_thumb_legacy_rev (operands[0], operands[1],
 Gustavo> -+					     op2, op3, op4, op5));
 Gustavo> -+	  }
 Gustavo> -+	else
 Gustavo> -+	  {
 Gustavo> -+	    emit_insn (gen_arm_legacy_rev (operands[0], operands[1],
 Gustavo> -+					   op2, op3));
 Gustavo> -+	  }
 Gustavo> - 
 Gustavo> --	  DONE;
 Gustavo> --	}
 Gustavo> --      else
 Gustavo> --	FAIL;
 Gustavo> --    }
 Gustavo> -+	DONE;
 Gustavo> -+      }
 Gustavo> -   "
 Gustavo> - )
 Gustavo> - 
 Gustavo> --- 
 Gustavo> -1.6.2
 Gustavo> -
 Gustavo> diff --git a/toolchain/gcc/4.5.2/100-uclibc-conf.patch b/toolchain/gcc/4.5.3/100-uclibc-conf.patch
 Gustavo> similarity index 100%
 Gustavo> rename from toolchain/gcc/4.5.2/100-uclibc-conf.patch
 Gustavo> rename to toolchain/gcc/4.5.3/100-uclibc-conf.patch
 Gustavo> diff --git a/toolchain/gcc/4.5.2/301-missing-execinfo_h.patch b/toolchain/gcc/4.5.3/301-missing-execinfo_h.patch
 Gustavo> similarity index 100%
 Gustavo> rename from toolchain/gcc/4.5.2/301-missing-execinfo_h.patch
 Gustavo> rename to toolchain/gcc/4.5.3/301-missing-execinfo_h.patch
 Gustavo> diff --git a/toolchain/gcc/4.5.2/302-c99-snprintf.patch b/toolchain/gcc/4.5.3/302-c99-snprintf.patch
 Gustavo> similarity index 100%
 Gustavo> rename from toolchain/gcc/4.5.2/302-c99-snprintf.patch
 Gustavo> rename to toolchain/gcc/4.5.3/302-c99-snprintf.patch
 Gustavo> diff --git a/toolchain/gcc/4.5.2/305-libmudflap-susv3-legacy.patch b/toolchain/gcc/4.5.3/305-libmudflap-susv3-legacy.patch
 Gustavo> similarity index 100%
 Gustavo> rename from toolchain/gcc/4.5.2/305-libmudflap-susv3-legacy.patch
 Gustavo> rename to toolchain/gcc/4.5.3/305-libmudflap-susv3-legacy.patch
 Gustavo> diff --git a/toolchain/gcc/4.5.2/810-arm-softfloat-libgcc.patch b/toolchain/gcc/4.5.3/810-arm-softfloat-libgcc.patch
 Gustavo> similarity index 100%
 Gustavo> rename from toolchain/gcc/4.5.2/810-arm-softfloat-libgcc.patch
 Gustavo> rename to toolchain/gcc/4.5.3/810-arm-softfloat-libgcc.patch
 Gustavo> diff --git a/toolchain/gcc/4.5.2/820-arm-unbreak-armv4t.patch b/toolchain/gcc/4.5.3/820-arm-unbreak-armv4t.patch
 Gustavo> similarity index 100%
 Gustavo> rename from toolchain/gcc/4.5.2/820-arm-unbreak-armv4t.patch
 Gustavo> rename to toolchain/gcc/4.5.3/820-arm-unbreak-armv4t.patch
 Gustavo> diff --git a/toolchain/gcc/4.5.2/830-arm-pr43440.patch b/toolchain/gcc/4.5.3/830-arm-pr43440.patch
 Gustavo> similarity index 100%
 Gustavo> rename from toolchain/gcc/4.5.2/830-arm-pr43440.patch
 Gustavo> rename to toolchain/gcc/4.5.3/830-arm-pr43440.patch
 Gustavo> diff --git a/toolchain/gcc/4.5.2/powerpc-link-with-math-lib.patch.conditional b/toolchain/gcc/4.5.3/powerpc-link-with-math-lib.patch.conditional
 Gustavo> similarity index 100%
 Gustavo> rename from toolchain/gcc/4.5.2/powerpc-link-with-math-lib.patch.conditional
 Gustavo> rename to toolchain/gcc/4.5.3/powerpc-link-with-math-lib.patch.conditional
 Gustavo> diff --git a/toolchain/gcc/Config.in b/toolchain/gcc/Config.in
 Gustavo> index 17b21b8..fcdcc19 100644
 Gustavo> --- a/toolchain/gcc/Config.in
 Gustavo> +++ b/toolchain/gcc/Config.in
 Gustavo> @@ -57,7 +57,7 @@ config BR2_GCC_VERSION
 Gustavo>  	default "4.2.4"     if BR2_GCC_VERSION_4_2_4
 Gustavo>  	default "4.3.5"     if BR2_GCC_VERSION_4_3_X
 Gustavo>  	default "4.4.6"     if BR2_GCC_VERSION_4_4_X
 Gustavo> -	default "4.5.2"     if BR2_GCC_VERSION_4_5_X
 Gustavo> +	default "4.5.3"     if BR2_GCC_VERSION_4_5_X
 Gustavo>  	default "4.6.0"     if BR2_GCC_VERSION_4_6_X

Gustavo> default $BR2_GCC_SNAP_DATE if BR2_GCC_VERSION_SNAP

Gustavo> diff --git a/toolchain/gcc/gcc-uclibc-4.x.mk b/toolchain/gcc/gcc-uclibc-4.x.mk Gustavo> index ebcca53..568aa1a 100644
Gustavo> --- a/toolchain/gcc/gcc-uclibc-4.x.mk
Gustavo> +++ b/toolchain/gcc/gcc-uclibc-4.x.mk
Gustavo> @@ -44,7 +44,7 @@ EXTRA_GCC_CONFIG_OPTIONS+=--with-pkgversion="Buildroot $(BR2_VERSION_FULL)" \
Gustavo> endif

Gustavo> # http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43810
Gustavo> -# Workaround until it's fixed in 4.5.2 or later Gustavo> +# Workaround until it's fixed in 4.5.4 or later

 Gustavo>  ifeq ($(ARCH),powerpc)
 Gustavo>  ifeq ($(findstring x4.5.,x$(GCC_VERSION)),x4.5.)
 Gustavo>  GCC_OPTSPACE=--disable-target-optspace

Gustavo> --
Gustavo> 1.7.3.4

Gustavo> _______________________________________________ Gustavo> buildroot mailing list
Gustavo> buildroot at busybox.net
Gustavo> http://lists.busybox.net/mailman/listinfo/buildroot

Signature · 1 line
Bye, Peter Korsgaard