[coreboot-gerrit] Patch set updated for coreboot: a81986b crossgcc: update to gcc 4.7.3

Idwer Vollering (vidwer@gmail.com) gerrit at coreboot.org
Mon Apr 22 12:18:30 CEST 2013


Idwer Vollering (vidwer at gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/3112

-gerrit

commit a81986b84f7212e41fa74590305f5b483ad707e1
Author: Idwer Vollering <vidwer at 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
    The resulting coreboot.rom is not runtime tested (any volunteers?).
    
    Drop the texinfo patch, rename the armv7a patch.
    
    Some Linux distributions have moved on to gcc 4.8,
    under certain circumstances this version can't (cross-)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 at 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 be8d1f2..ae79d4b 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 at .
- 
-- at itemx --help
-+ at 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}.
- 
-- at itemx POINTER_PLUS_EXPR
-+ at 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.
- 
-- at itemx PLUS_EXPR
-+ at 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
- 
-- at itemx -fenable- at var{kind}- at var{pass}
-+ at item -fenable- at var{kind}- at var{pass}
- @itemx -fdisable- at var{kind}- at 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.
- 
-- at itemx -fdump-rtl-cprop_hardreg
-+ at item -fdump-rtl-cprop_hardreg
- @opindex fdump-rtl-cprop_hardreg
- Dump after hard register copy propagation.
- 
-- at itemx -fdump-rtl-csa
-+ at 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.
- 
-- at itemx -fdump-rtl-dce
-+ at item -fdump-rtl-dce
- @opindex fdump-rtl-dce
- Dump after the standalone dead code elimination passes.
- 
-- at itemx -fdump-rtl-dbr
-+ at 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.
- 
-- at itemx -fdump-rtl-into_cfglayout
-+ at 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.
- 
-- at itemx -fdump-rtl-outof_cfglayout
-+ at 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.
- 
-- at itemx -fdump-rtl-pro_and_epilogue
-+ at 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 \



More information about the coreboot-gerrit mailing list