Idwer Vollering (vidwer@gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/3112
-gerrit
commit 2f0fb1e714aa3f8ce4dcc6a941be657841f9dc0e Author: Idwer Vollering vidwer@gmail.com Date: Fri Apr 19 00:56:57 2013 +0200
crossgcc: update to gcc 4.7.3
Update crossgcc to use gcc 4.7.3 Untested on hardware (any volunteers?).
Drop the texinfo patch, rename the armv7a patch.
Some Linux distributions have early-adopted gcc 4.8, this version couldn't compile gcc 4.7.2 Bug report: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56927
Change-Id: Id8ce5f86c34e1a0900d44dc6ae4e81cb9548ecc2 Signed-off-by: Idwer Vollering vidwer@gmail.com --- util/crossgcc/buildgcc | 2 +- util/crossgcc/patches/gcc-4.7.2_armv7a.patch | 12 ---- util/crossgcc/patches/gcc-4.7.2_texinfo.patch | 98 --------------------------- util/crossgcc/patches/gcc-4.7.3_armv7a.patch | 12 ++++ 4 files changed, 13 insertions(+), 111 deletions(-)
diff --git a/util/crossgcc/buildgcc b/util/crossgcc/buildgcc index 34518a8..dc9b979 100755 --- a/util/crossgcc/buildgcc +++ b/util/crossgcc/buildgcc @@ -33,7 +33,7 @@ GMP_VERSION=5.0.5 MPFR_VERSION=3.1.1 MPC_VERSION=1.0.1 LIBELF_VERSION=0.8.13 -GCC_VERSION=4.7.2 +GCC_VERSION=4.7.3 GCC_AUTOCONF_VERSION=2.64 BINUTILS_VERSION=2.23 GDB_VERSION=7.5 diff --git a/util/crossgcc/patches/gcc-4.7.2_armv7a.patch b/util/crossgcc/patches/gcc-4.7.2_armv7a.patch deleted file mode 100644 index 82e6609..0000000 --- a/util/crossgcc/patches/gcc-4.7.2_armv7a.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -ur gcc-4.7.2/config.sub gcc-4.7.2/config.sub ---- gcc-4.7.2/config.sub 2012-08-06 07:34:27.000000000 -0700 -+++ gcc-4.7.2/config.sub 2012-12-04 15:03:30.813137430 -0800 -@@ -250,7 +250,7 @@ - | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ - | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ - | am33_2.0 \ -- | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \ -+ | arc | arm | arm[bl]e | arme[lb] | armv* | armv[345][lb] | avr | avr32 \ - | be32 | be64 \ - | bfin \ - | c4x | clipper \ diff --git a/util/crossgcc/patches/gcc-4.7.2_texinfo.patch b/util/crossgcc/patches/gcc-4.7.2_texinfo.patch deleted file mode 100644 index 34c6a68..0000000 --- a/util/crossgcc/patches/gcc-4.7.2_texinfo.patch +++ /dev/null @@ -1,98 +0,0 @@ -diff -urp gcc-4.7.2/gcc/doc/cppopts.texi gcc-4.7.2/gcc/doc/cppopts.texi ---- gcc-4.7.2/gcc/doc/cppopts.texi 2013-03-28 13:41:01.000000000 +0100 -+++ gcc-4.7.2/gcc/doc/cppopts.texi 2013-03-28 13:55:05.000000000 +0100 -@@ -803,7 +803,7 @@ Replacement: [ ] @{ @} - Enable special code to work around file systems which only permit very - short file names, such as MS-DOS@. - --@itemx --help -+@item --help - @itemx --target-help - @opindex help - @opindex target-help -diff -urp gcc-4.7.2/gcc/doc/generic.texi gcc-4.7.2/gcc/doc/generic.texi ---- gcc-4.7.2/gcc/doc/generic.texi 2011-12-23 23:07:16.000000000 +0100 -+++ gcc-4.7.2/gcc/doc/generic.texi 2013-03-28 14:01:19.000000000 +0100 -@@ -1415,13 +1415,13 @@ generate these expressions anyhow, if it - not matter. The type of the operands and that of the result are - always of @code{BOOLEAN_TYPE} or @code{INTEGER_TYPE}. - --@itemx POINTER_PLUS_EXPR -+@item POINTER_PLUS_EXPR - This node represents pointer arithmetic. The first operand is always - a pointer/reference type. The second operand is always an unsigned - integer type compatible with sizetype. This is the only binary - arithmetic operand that can operate on pointer types. - --@itemx PLUS_EXPR -+@item PLUS_EXPR - @itemx MINUS_EXPR - @itemx MULT_EXPR - These nodes represent various binary arithmetic operations. -diff -urp gcc-4.7.2/gcc/doc/invoke.texi gcc-4.7.2/gcc/doc/invoke.texi ---- gcc-4.7.2/gcc/doc/invoke.texi 2012-09-14 22:45:27.000000000 +0200 -+++ gcc-4.7.2/gcc/doc/invoke.texi 2013-03-28 13:55:57.000000000 +0100 -@@ -5179,7 +5179,7 @@ thus dbg_cnt() returns true always unles - e.g. With -fdbg-cnt=dce:10,tail_call:0 - dbg_cnt(dce) will return true only for first 10 invocations - --@itemx -fenable-@var{kind}-@var{pass} -+@item -fenable-@var{kind}-@var{pass} - @itemx -fdisable-@var{kind}-@var{pass}=@var{range-list} - @opindex fdisable- - @opindex fenable- -@@ -5327,11 +5327,11 @@ Dump after duplicating the computed goto - @option{-fdump-rtl-ce3} enable dumping after the three - if conversion passes. - --@itemx -fdump-rtl-cprop_hardreg -+@item -fdump-rtl-cprop_hardreg - @opindex fdump-rtl-cprop_hardreg - Dump after hard register copy propagation. - --@itemx -fdump-rtl-csa -+@item -fdump-rtl-csa - @opindex fdump-rtl-csa - Dump after combining stack adjustments. - -@@ -5342,11 +5342,11 @@ Dump after combining stack adjustments. - @option{-fdump-rtl-cse1} and @option{-fdump-rtl-cse2} enable dumping after - the two common sub-expression elimination passes. - --@itemx -fdump-rtl-dce -+@item -fdump-rtl-dce - @opindex fdump-rtl-dce - Dump after the standalone dead code elimination passes. - --@itemx -fdump-rtl-dbr -+@item -fdump-rtl-dbr - @opindex fdump-rtl-dbr - Dump after delayed branch scheduling. - -@@ -5391,7 +5391,7 @@ Dump after the initialization of the reg - @opindex fdump-rtl-initvals - Dump after the computation of the initial value sets. - --@itemx -fdump-rtl-into_cfglayout -+@item -fdump-rtl-into_cfglayout - @opindex fdump-rtl-into_cfglayout - Dump after converting to cfglayout mode. - -@@ -5421,7 +5421,7 @@ Dump after removing redundant mode switc - @opindex fdump-rtl-rnreg - Dump after register renumbering. - --@itemx -fdump-rtl-outof_cfglayout -+@item -fdump-rtl-outof_cfglayout - @opindex fdump-rtl-outof_cfglayout - Dump after converting from cfglayout mode. - -@@ -5433,7 +5433,7 @@ Dump after the peephole pass. - @opindex fdump-rtl-postreload - Dump after post-reload optimizations. - --@itemx -fdump-rtl-pro_and_epilogue -+@item -fdump-rtl-pro_and_epilogue - @opindex fdump-rtl-pro_and_epilogue - Dump after generating the function prologues and epilogues. - diff --git a/util/crossgcc/patches/gcc-4.7.3_armv7a.patch b/util/crossgcc/patches/gcc-4.7.3_armv7a.patch new file mode 100644 index 0000000..ccbc01e --- /dev/null +++ b/util/crossgcc/patches/gcc-4.7.3_armv7a.patch @@ -0,0 +1,12 @@ +diff -ur gcc-4.7.3/config.sub gcc-4.7.3-patched/config.sub +--- gcc-4.7.3/config.sub 2012-08-06 16:34:27.000000000 +0200 ++++ gcc-4.7.3-patched/config.sub 2013-04-19 00:25:16.401391381 +0200 +@@ -250,7 +250,7 @@ + | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ + | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ + | am33_2.0 \ +- | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \ ++ | arc | arm | arm[bl]e | arme[lb] | armv* | armv[345][lb] | avr | avr32 \ + | be32 | be64 \ + | bfin \ + | c4x | clipper \