From 53c388fe6dfb4fc4ffcee6c58345d353c6ec33bf Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Sat, 7 Mar 2015 09:55:18 +0100 Subject: crossgcc: Update toolchain MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Update GCC to 4.9.2, binutils to 2.25. Change-Id: Iae9763163b7f42c55a39e26b4beedee67d14a6e4 Signed-off-by: Patrick Georgi Reviewed-on: http://review.coreboot.org/8628 Tested-by: build bot (Jenkins) Reviewed-by: Kyösti Mälkki --- util/crossgcc/buildgcc | 25 +++++++++++----------- util/crossgcc/patches/binutils-2.23.2_armv7a.patch | 12 ----------- .../patches/binutils-2.23.2_no-bfd-doc.patch | 12 ----------- .../patches/binutils-2.25_no-bfd-doc.patch | 12 +++++++++++ 4 files changed, 25 insertions(+), 36 deletions(-) delete mode 100644 util/crossgcc/patches/binutils-2.23.2_armv7a.patch delete mode 100644 util/crossgcc/patches/binutils-2.23.2_no-bfd-doc.patch create mode 100644 util/crossgcc/patches/binutils-2.25_no-bfd-doc.patch diff --git a/util/crossgcc/buildgcc b/util/crossgcc/buildgcc index fc85734e01..e9936dbaae 100755 --- a/util/crossgcc/buildgcc +++ b/util/crossgcc/buildgcc @@ -20,8 +20,8 @@ # Foundation, Inc., 51 Franklin Street, Suite 500, Boston, MA 02110-1335, USA # -CROSSGCC_DATE="February 23th, 2015" -CROSSGCC_VERSION="1.26" +CROSSGCC_DATE="March 8th, 2015" +CROSSGCC_VERSION="1.27" # default settings TARGETDIR=`pwd`/xgcc @@ -29,28 +29,28 @@ TARGETARCH=i386-elf DESTDIR= # version numbers -GMP_VERSION=5.1.2 +GMP_VERSION=6.0.0 MPFR_VERSION=3.1.2 MPC_VERSION=1.0.3 LIBELF_VERSION=0.8.13 -GCC_VERSION=4.8.3 +GCC_VERSION=4.9.2 GCC_AUTOCONF_VERSION=2.69 -BINUTILS_VERSION=2.23.2 -GDB_VERSION=7.6 -IASL_VERSION=20140114 -PYTHON_VERSION=3.3.2 +BINUTILS_VERSION=2.25 +GDB_VERSION=7.9 +IASL_VERSION=20150204 +PYTHON_VERSION=3.4.3 EXPAT_VERSION=2.1.0 # archive locations -GMP_ARCHIVE="http://ftpmirror.gnu.org/gmp/gmp-${GMP_VERSION}.tar.bz2" +GMP_ARCHIVE="http://ftpmirror.gnu.org/gmp/gmp-${GMP_VERSION}a.tar.bz2" MPFR_ARCHIVE="http://ftpmirror.gnu.org/mpfr/mpfr-${MPFR_VERSION}.tar.bz2" MPC_ARCHIVE="http://ftpmirror.gnu.org/mpc/mpc-${MPC_VERSION}.tar.gz" LIBELF_ARCHIVE="http://www.mr511.de/software/libelf-${LIBELF_VERSION}.tar.gz" GCC_ARCHIVE="http://ftpmirror.gnu.org/gcc/gcc-${GCC_VERSION}/gcc-${GCC_VERSION}.tar.bz2" BINUTILS_ARCHIVE="http://ftpmirror.gnu.org/binutils/binutils-${BINUTILS_VERSION}.tar.bz2" -GDB_ARCHIVE="http://ftpmirror.gnu.org/gdb/gdb-${GDB_VERSION}.tar.bz2" -IASL_ARCHIVE="http://www.acpica.org/sites/acpica/files/acpica-unix-${IASL_VERSION}.tar.gz" -PYTHON_ARCHIVE="http://www.python.org/ftp/python/${PYTHON_VERSION}/Python-${PYTHON_VERSION}.tar.bz2" +GDB_ARCHIVE="http://ftpmirror.gnu.org/gdb/gdb-${GDB_VERSION}.tar.xz" +IASL_ARCHIVE="https://acpica.org/sites/acpica/files/acpica-unix-${IASL_VERSION}.tar.gz" +PYTHON_ARCHIVE="http://www.python.org/ftp/python/${PYTHON_VERSION}/Python-${PYTHON_VERSION}.tar.xz" EXPAT_ARCHIVE="http://downloads.sourceforge.net/sourceforge/expat/expat-${EXPAT_VERSION}.tar.gz" GMP_DIR="gmp-${GMP_VERSION}" @@ -300,6 +300,7 @@ for PACKAGE in GMP MPFR MPC LIBELF GCC BINUTILS $PYTHON_PACKAGE \ suffix=`echo $archive | sed 's,.*\.,,'` test "$suffix" = "gz" && FLAGS=zxf test "$suffix" = "bz2" && FLAGS=jxf + test "$suffix" = "xz" && FLAGS="--xz -xf" test "$suffix" = "lzma" && FLAGS="--lzma -xf" $TAR $FLAGS tarballs/`basename $archive` for patch in patches/${dir}_*.patch; do diff --git a/util/crossgcc/patches/binutils-2.23.2_armv7a.patch b/util/crossgcc/patches/binutils-2.23.2_armv7a.patch deleted file mode 100644 index a3c2d63129..0000000000 --- a/util/crossgcc/patches/binutils-2.23.2_armv7a.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -u binutils-2.23.2/config.sub binutils-2.23.2/config.sub ---- binutils-2.23.2/config.sub 2012-04-25 08:53:25.000000000 -0700 -+++ binutils-2.23.2/config.sub 2012-12-04 14:58:16.050136773 -0800 -@@ -259,7 +259,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/binutils-2.23.2_no-bfd-doc.patch b/util/crossgcc/patches/binutils-2.23.2_no-bfd-doc.patch deleted file mode 100644 index 98e202f54d..0000000000 --- a/util/crossgcc/patches/binutils-2.23.2_no-bfd-doc.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -ur binutils-2.23.2/bfd/Makefile.in binutils-2.23.2.patched/bfd/Makefile.in ---- binutils-2.23.2/bfd/Makefile.in 2012-10-22 14:33:51.000000000 +0200 -+++ binutils-2.23.2.patched/bfd/Makefile.in 2012-10-24 15:33:04.442080163 +0200 -@@ -323,7 +323,7 @@ - RELEASE = y - INCDIR = $(srcdir)/../include - CSEARCH = -I. -I$(srcdir) -I$(INCDIR) --SUBDIRS = doc po -+SUBDIRS = po - bfddocdir = doc - libbfd_la_LDFLAGS = $(am__append_1) -release `cat libtool-soversion` \ - @SHARED_LDFLAGS@ $(am__empty) diff --git a/util/crossgcc/patches/binutils-2.25_no-bfd-doc.patch b/util/crossgcc/patches/binutils-2.25_no-bfd-doc.patch new file mode 100644 index 0000000000..317c2b44c4 --- /dev/null +++ b/util/crossgcc/patches/binutils-2.25_no-bfd-doc.patch @@ -0,0 +1,12 @@ +diff -ur binutils-2.23.2/bfd/Makefile.in binutils-2.23.2.patched/bfd/Makefile.in +--- binutils-2.23.2/bfd/Makefile.in 2012-10-22 14:33:51.000000000 +0200 ++++ binutils-2.25/bfd/Makefile.in 2012-10-24 15:33:04.442080163 +0200 +@@ -323,7 +323,7 @@ + RELEASE = y + INCDIR = $(srcdir)/../include + CSEARCH = -I. -I$(srcdir) -I$(INCDIR) +-SUBDIRS = doc po ++SUBDIRS = po + bfddocdir = doc + libbfd_la_LDFLAGS = $(am__append_1) -release `cat libtool-soversion` \ + @SHARED_LDFLAGS@ $(am__empty) -- cgit v1.2.3