[uClibc-cvs] svn commit: trunk/buildroot/toolchain/gcc: 3.3.5 3.3.6 3.4.2 3.4.3 3.4.4 4.0.0 4.0 etc...

andersen at uclibc.org andersen at uclibc.org
Mon Jul 18 23:34:21 UTC 2005


Author: andersen
Date: 2005-07-18 17:34:20 -0600 (Mon, 18 Jul 2005)
New Revision: 10855

Log:
Apply the fix for gcc bug #22167
    http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22167
remove gcc 3.3.3, change config for sjlj exception handling a bit.


Added:
   trunk/buildroot/toolchain/gcc/3.3.5/830-gcc-bug-num-22167.patch
   trunk/buildroot/toolchain/gcc/3.3.6/830-gcc-bug-num-22167.patch
   trunk/buildroot/toolchain/gcc/3.4.2/830-gcc-bug-num-22167.patch
   trunk/buildroot/toolchain/gcc/3.4.3/830-gcc-bug-num-22167.patch
   trunk/buildroot/toolchain/gcc/3.4.4/830-gcc-bug-num-22167.patch
   trunk/buildroot/toolchain/gcc/4.0.0/830-gcc-bug-num-22167.patch
   trunk/buildroot/toolchain/gcc/4.0.1/830-gcc-bug-num-22167.patch
   trunk/buildroot/toolchain/gcc/4.1.0/830-gcc-bug-num-22167.patch

Removed:
   trunk/buildroot/toolchain/gcc/3.3.3/

Modified:
   trunk/buildroot/toolchain/gcc/Config.in
   trunk/buildroot/toolchain/gcc/Makefile.in


Changeset:
Added: trunk/buildroot/toolchain/gcc/3.3.5/830-gcc-bug-num-22167.patch
===================================================================
--- trunk/buildroot/toolchain/gcc/3.3.5/830-gcc-bug-num-22167.patch	2005-07-18 22:40:59 UTC (rev 10854)
+++ trunk/buildroot/toolchain/gcc/3.3.5/830-gcc-bug-num-22167.patch	2005-07-18 23:34:20 UTC (rev 10855)
@@ -0,0 +1,16 @@
+Index: gcc/gcse.c
+===================================================================
+RCS file: /cvs/gcc/gcc/gcc/gcse.c,v
+retrieving revision 1.288.2.9
+diff -u -p -F^\([(a-zA-Z0-9_]\|#define\) -r1.288.2.9 gcse.c
+--- gcc/gcc/gcse.c	30 Oct 2004 18:02:53 -0000	1.288.2.9
++++ gcc/gcc/gcse.c	14 Jul 2005 13:19:57 -0000
+@@ -6445,7 +6445,7 @@ hoist_code (void)
+ 	  insn_inserted_p = 0;
+ 
+ 	  /* These tests should be the same as the tests above.  */
+-	  if (TEST_BIT (hoist_vbeout[bb->index], i))
++	  if (TEST_BIT (hoist_exprs[bb->index], i))
+ 	    {
+ 	      /* We've found a potentially hoistable expression, now
+ 		 we look at every block BB dominates to see if it

Added: trunk/buildroot/toolchain/gcc/3.3.6/830-gcc-bug-num-22167.patch
===================================================================
--- trunk/buildroot/toolchain/gcc/3.3.6/830-gcc-bug-num-22167.patch	2005-07-18 22:40:59 UTC (rev 10854)
+++ trunk/buildroot/toolchain/gcc/3.3.6/830-gcc-bug-num-22167.patch	2005-07-18 23:34:20 UTC (rev 10855)
@@ -0,0 +1,16 @@
+Index: gcc/gcse.c
+===================================================================
+RCS file: /cvs/gcc/gcc/gcc/gcse.c,v
+retrieving revision 1.288.2.9
+diff -u -p -F^\([(a-zA-Z0-9_]\|#define\) -r1.288.2.9 gcse.c
+--- gcc/gcc/gcse.c	30 Oct 2004 18:02:53 -0000	1.288.2.9
++++ gcc/gcc/gcse.c	14 Jul 2005 13:19:57 -0000
+@@ -6445,7 +6445,7 @@ hoist_code (void)
+ 	  insn_inserted_p = 0;
+ 
+ 	  /* These tests should be the same as the tests above.  */
+-	  if (TEST_BIT (hoist_vbeout[bb->index], i))
++	  if (TEST_BIT (hoist_exprs[bb->index], i))
+ 	    {
+ 	      /* We've found a potentially hoistable expression, now
+ 		 we look at every block BB dominates to see if it

Added: trunk/buildroot/toolchain/gcc/3.4.2/830-gcc-bug-num-22167.patch
===================================================================
--- trunk/buildroot/toolchain/gcc/3.4.2/830-gcc-bug-num-22167.patch	2005-07-18 22:40:59 UTC (rev 10854)
+++ trunk/buildroot/toolchain/gcc/3.4.2/830-gcc-bug-num-22167.patch	2005-07-18 23:34:20 UTC (rev 10855)
@@ -0,0 +1,16 @@
+Index: gcc/gcse.c
+===================================================================
+RCS file: /cvs/gcc/gcc/gcc/gcse.c,v
+retrieving revision 1.288.2.9
+diff -u -p -F^\([(a-zA-Z0-9_]\|#define\) -r1.288.2.9 gcse.c
+--- gcc/gcc/gcse.c	30 Oct 2004 18:02:53 -0000	1.288.2.9
++++ gcc/gcc/gcse.c	14 Jul 2005 13:19:57 -0000
+@@ -6445,7 +6445,7 @@ hoist_code (void)
+ 	  insn_inserted_p = 0;
+ 
+ 	  /* These tests should be the same as the tests above.  */
+-	  if (TEST_BIT (hoist_vbeout[bb->index], i))
++	  if (TEST_BIT (hoist_exprs[bb->index], i))
+ 	    {
+ 	      /* We've found a potentially hoistable expression, now
+ 		 we look at every block BB dominates to see if it

Added: trunk/buildroot/toolchain/gcc/3.4.3/830-gcc-bug-num-22167.patch
===================================================================
--- trunk/buildroot/toolchain/gcc/3.4.3/830-gcc-bug-num-22167.patch	2005-07-18 22:40:59 UTC (rev 10854)
+++ trunk/buildroot/toolchain/gcc/3.4.3/830-gcc-bug-num-22167.patch	2005-07-18 23:34:20 UTC (rev 10855)
@@ -0,0 +1,16 @@
+Index: gcc/gcse.c
+===================================================================
+RCS file: /cvs/gcc/gcc/gcc/gcse.c,v
+retrieving revision 1.288.2.9
+diff -u -p -F^\([(a-zA-Z0-9_]\|#define\) -r1.288.2.9 gcse.c
+--- gcc/gcc/gcse.c	30 Oct 2004 18:02:53 -0000	1.288.2.9
++++ gcc/gcc/gcse.c	14 Jul 2005 13:19:57 -0000
+@@ -6445,7 +6445,7 @@ hoist_code (void)
+ 	  insn_inserted_p = 0;
+ 
+ 	  /* These tests should be the same as the tests above.  */
+-	  if (TEST_BIT (hoist_vbeout[bb->index], i))
++	  if (TEST_BIT (hoist_exprs[bb->index], i))
+ 	    {
+ 	      /* We've found a potentially hoistable expression, now
+ 		 we look at every block BB dominates to see if it

Added: trunk/buildroot/toolchain/gcc/3.4.4/830-gcc-bug-num-22167.patch
===================================================================
--- trunk/buildroot/toolchain/gcc/3.4.4/830-gcc-bug-num-22167.patch	2005-07-18 22:40:59 UTC (rev 10854)
+++ trunk/buildroot/toolchain/gcc/3.4.4/830-gcc-bug-num-22167.patch	2005-07-18 23:34:20 UTC (rev 10855)
@@ -0,0 +1,16 @@
+Index: gcc/gcse.c
+===================================================================
+RCS file: /cvs/gcc/gcc/gcc/gcse.c,v
+retrieving revision 1.288.2.9
+diff -u -p -F^\([(a-zA-Z0-9_]\|#define\) -r1.288.2.9 gcse.c
+--- gcc/gcc/gcse.c	30 Oct 2004 18:02:53 -0000	1.288.2.9
++++ gcc/gcc/gcse.c	14 Jul 2005 13:19:57 -0000
+@@ -6445,7 +6445,7 @@ hoist_code (void)
+ 	  insn_inserted_p = 0;
+ 
+ 	  /* These tests should be the same as the tests above.  */
+-	  if (TEST_BIT (hoist_vbeout[bb->index], i))
++	  if (TEST_BIT (hoist_exprs[bb->index], i))
+ 	    {
+ 	      /* We've found a potentially hoistable expression, now
+ 		 we look at every block BB dominates to see if it

Added: trunk/buildroot/toolchain/gcc/4.0.0/830-gcc-bug-num-22167.patch
===================================================================
--- trunk/buildroot/toolchain/gcc/4.0.0/830-gcc-bug-num-22167.patch	2005-07-18 22:40:59 UTC (rev 10854)
+++ trunk/buildroot/toolchain/gcc/4.0.0/830-gcc-bug-num-22167.patch	2005-07-18 23:34:20 UTC (rev 10855)
@@ -0,0 +1,16 @@
+Index: gcc/gcse.c
+===================================================================
+RCS file: /cvs/gcc/gcc/gcc/gcse.c,v
+retrieving revision 1.288.2.9
+diff -u -p -F^\([(a-zA-Z0-9_]\|#define\) -r1.288.2.9 gcse.c
+--- gcc/gcc/gcse.c	30 Oct 2004 18:02:53 -0000	1.288.2.9
++++ gcc/gcc/gcse.c	14 Jul 2005 13:19:57 -0000
+@@ -6445,7 +6445,7 @@ hoist_code (void)
+ 	  insn_inserted_p = 0;
+ 
+ 	  /* These tests should be the same as the tests above.  */
+-	  if (TEST_BIT (hoist_vbeout[bb->index], i))
++	  if (TEST_BIT (hoist_exprs[bb->index], i))
+ 	    {
+ 	      /* We've found a potentially hoistable expression, now
+ 		 we look at every block BB dominates to see if it

Added: trunk/buildroot/toolchain/gcc/4.0.1/830-gcc-bug-num-22167.patch
===================================================================
--- trunk/buildroot/toolchain/gcc/4.0.1/830-gcc-bug-num-22167.patch	2005-07-18 22:40:59 UTC (rev 10854)
+++ trunk/buildroot/toolchain/gcc/4.0.1/830-gcc-bug-num-22167.patch	2005-07-18 23:34:20 UTC (rev 10855)
@@ -0,0 +1,16 @@
+Index: gcc/gcse.c
+===================================================================
+RCS file: /cvs/gcc/gcc/gcc/gcse.c,v
+retrieving revision 1.288.2.9
+diff -u -p -F^\([(a-zA-Z0-9_]\|#define\) -r1.288.2.9 gcse.c
+--- gcc/gcc/gcse.c	30 Oct 2004 18:02:53 -0000	1.288.2.9
++++ gcc/gcc/gcse.c	14 Jul 2005 13:19:57 -0000
+@@ -6445,7 +6445,7 @@ hoist_code (void)
+ 	  insn_inserted_p = 0;
+ 
+ 	  /* These tests should be the same as the tests above.  */
+-	  if (TEST_BIT (hoist_vbeout[bb->index], i))
++	  if (TEST_BIT (hoist_exprs[bb->index], i))
+ 	    {
+ 	      /* We've found a potentially hoistable expression, now
+ 		 we look at every block BB dominates to see if it

Added: trunk/buildroot/toolchain/gcc/4.1.0/830-gcc-bug-num-22167.patch
===================================================================
--- trunk/buildroot/toolchain/gcc/4.1.0/830-gcc-bug-num-22167.patch	2005-07-18 22:40:59 UTC (rev 10854)
+++ trunk/buildroot/toolchain/gcc/4.1.0/830-gcc-bug-num-22167.patch	2005-07-18 23:34:20 UTC (rev 10855)
@@ -0,0 +1,16 @@
+Index: gcc/gcse.c
+===================================================================
+RCS file: /cvs/gcc/gcc/gcc/gcse.c,v
+retrieving revision 1.288.2.9
+diff -u -p -F^\([(a-zA-Z0-9_]\|#define\) -r1.288.2.9 gcse.c
+--- gcc/gcc/gcse.c	30 Oct 2004 18:02:53 -0000	1.288.2.9
++++ gcc/gcc/gcse.c	14 Jul 2005 13:19:57 -0000
+@@ -6445,7 +6445,7 @@ hoist_code (void)
+ 	  insn_inserted_p = 0;
+ 
+ 	  /* These tests should be the same as the tests above.  */
+-	  if (TEST_BIT (hoist_vbeout[bb->index], i))
++	  if (TEST_BIT (hoist_exprs[bb->index], i))
+ 	    {
+ 	      /* We've found a potentially hoistable expression, now
+ 		 we look at every block BB dominates to see if it

Modified: trunk/buildroot/toolchain/gcc/Config.in
===================================================================
--- trunk/buildroot/toolchain/gcc/Config.in	2005-07-18 22:40:59 UTC (rev 10854)
+++ trunk/buildroot/toolchain/gcc/Config.in	2005-07-18 23:34:20 UTC (rev 10855)
@@ -8,9 +8,6 @@
 	help
 	  Select the version of gcc you wish to use.
 
-	config BR2_GCC_VERSION_3_3_3
-		bool "gcc 3.3.3"
-
 	config BR2_GCC_VERSION_3_3_5
 		bool "gcc 3.3.5"
 
@@ -39,7 +36,6 @@
 
 config BR2_GCC_VERSION
 	string
-	default "3.3.3"     if BR2_GCC_VERSION_3_3_3
 	default "3.3.5"     if BR2_GCC_VERSION_3_3_5
 	default "3.3.6"     if BR2_GCC_VERSION_3_3_6
 	default "3.4.2"     if BR2_GCC_VERSION_3_4_2
@@ -51,12 +47,13 @@
 
 
 config BR2_GCC_USE_SJLJ_EXCEPTIONS
-	string
-	default "--enable-sjlj-exceptions" if BR2_GCC_VERSION_3_3_3
-	default ""
+	bool "Enable setjmp/longjmp exceptions?"
+	default n
 	help
-	    Currently the unwind stuff seems to work for staticly linked apps
-	    but not dynamic.  So use setjmp/longjmp exceptions by default.
+	    For some platforms, proper stack unwinding works perfectly,
+	    while other platforms must use setjmp/longjmp exceptions for
+	    proper stack unwinding during exception handling.  Most people
+	    can leave this set to n.
 
 config BR2_EXTRA_GCC_CONFIG_OPTIONS
 	string "Additional gcc options"

Modified: trunk/buildroot/toolchain/gcc/Makefile.in
===================================================================
--- trunk/buildroot/toolchain/gcc/Makefile.in	2005-07-18 22:40:59 UTC (rev 10854)
+++ trunk/buildroot/toolchain/gcc/Makefile.in	2005-07-18 23:34:20 UTC (rev 10855)
@@ -6,14 +6,15 @@
 
 GCC_VERSION:=$(strip $(subst ",, $(BR2_GCC_VERSION)))
 #"
-GCC_USE_SJLJ_EXCEPTIONS:=$(strip $(subst ",, $(BR2_GCC_USE_SJLJ_EXCEPTIONS)))
-#"
 TARGET_OPTIMIZATION:=$(strip $(subst ",, $(BR2_TARGET_OPTIMIZATION)))
 #"
 EXTRA_GCC_CONFIG_OPTIONS:=$(strip $(subst ",, $(BR2_EXTRA_GCC_CONFIG_OPTIONS)))
 #"
 
 
+ifeq ($(strip $(BR2_GCC_USE_SJLJ_EXCEPTIONS)),y)
+GCC_USE_SJLJ_EXCEPTIONS:=--enable-sjlj-exceptions
+endif
 ifeq ($(BR2_SOFT_FLOAT),y)
 # gcc 3.4.x soft float configuration is different than previous versions.
 ifeq ($(findstring 3.4.,$(GCC_VERSION)),3.4.)
@@ -39,3 +40,4 @@
 ifeq ($(strip $(BR2_PACKAGE_GCC_TARGET)),y)
 TARGETS+=gcc_target
 endif
+




More information about the uClibc-cvs mailing list