[coreboot-gerrit] New patch to review for coreboot: bf591f8 buildgcc: Downgrade to gcc 4.7.3, handle armv7-a

Patrick Georgi (patrick@georgi-clan.de) gerrit at coreboot.org
Thu Sep 19 12:04:40 CEST 2013


Patrick Georgi (patrick at georgi-clan.de) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/3930

-gerrit

commit bf591f83943b9b348eabbfed72a21a3a33418efe
Author: Patrick Georgi <patrick.georgi at secunet.com>
Date:   Thu Sep 19 10:57:58 2013 +0200

    buildgcc: Downgrade to gcc 4.7.3, handle armv7-a
    
    gcc 4.8.x has issues with using ebp, which broke some builds,
    so downgrade. The problem also manifested elsewhere, so it's
    not necessarily our fault.
    
    While at it, gcc complained about "armv7a" where it seems to
    expect "armv7-a".
    
    Change-Id: I6f0c35f49709cb41022475bb47116c12ab1c7ee3
    Signed-off-by: Patrick Georgi <patrick.georgi at secunet.com>
---
 util/crossgcc/buildgcc | 5 ++---
 util/xcompile/xcompile | 2 +-
 2 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/util/crossgcc/buildgcc b/util/crossgcc/buildgcc
index b8b90e7..ab3116a 100755
--- a/util/crossgcc/buildgcc
+++ b/util/crossgcc/buildgcc
@@ -33,7 +33,7 @@ GMP_VERSION=5.1.2
 MPFR_VERSION=3.1.2
 MPC_VERSION=1.0.1
 LIBELF_VERSION=0.8.13
-GCC_VERSION=4.8.1
+GCC_VERSION=4.7.3
 GCC_AUTOCONF_VERSION=2.69
 BINUTILS_VERSION=2.23.2
 GDB_VERSION=7.6
@@ -224,11 +224,10 @@ while true ; do
 done
 
 case "$TARGETARCH" in
-	armv7a-eabi)	;;
 	i386-elf)	;;
 	i386-mingw32)	;;
 	i386*)		TARGETARCH=i386-elf;;
-	arm*)		TARGETARCH=armv7a-eabi;;
+	arm*)		TARGETARCH=armv7-a-eabi;;
 	aarch64*)	TARGETARCH=aarch64-elf;;
 	*)		printf "${red}WARNING: Unsupported architecture $TARGETARCH.${NC}\n\n"; ;;
 esac
diff --git a/util/xcompile/xcompile b/util/xcompile/xcompile
index ff12217..de6084d 100644
--- a/util/xcompile/xcompile
+++ b/util/xcompile/xcompile
@@ -140,7 +140,7 @@ SUPPORTED_ARCHITECTURE="x86 armv7"
 # ARM Architecture
 TARCH_armv7="armv7"
 TBFDARCH_armv7="littlearm"
-TCLIST_armv7="armv7a"
+TCLIST_armv7="armv7a armv7-a"
 TWIDTH_armv7="32"
 
 # X86 Architecture



More information about the coreboot-gerrit mailing list