Martin Roth (martinroth@google.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/17982
-gerrit
commit c74906e2160b830da5c2339e6346d556056409d9 Author: Martin Roth martinroth@google.com Date: Wed Dec 28 09:55:53 2016 -0700
Update GMP, GDB, and IASL
This should go in at the same time as the update to buildgcc 1.44. If it doesn't, the version should be updated.
GMP from 6.1.1 to 6.1.2 GDB from 7.11 to 7.12 IASL from 20160831 go 20161222
Change-Id: I9e80473bd6c41be04fc2949b96b63b0e46c44398 Signed-off-by: Martin Roth martinroth@google.com --- util/crossgcc/buildgcc | 8 +++---- .../patches/acpica-unix2-20160831_iasl.patch | 27 ---------------------- .../patches/acpica-unix2-20161222_iasl.patch | 27 ++++++++++++++++++++++ util/crossgcc/patches/gdb-7.11_amd64.patch | 15 ------------ util/crossgcc/patches/gdb-7.11_no-doc.patch | 12 ---------- util/crossgcc/patches/gdb-7.11_pythonhome.patch | 19 --------------- util/crossgcc/patches/gdb-7.12_amd64.patch | 15 ++++++++++++ util/crossgcc/patches/gdb-7.12_no-doc.patch | 12 ++++++++++ util/crossgcc/patches/gdb-7.12_pythonhome.patch | 19 +++++++++++++++ .../sum/acpica-unix2-20160831.tar.gz.cksum | 1 - .../sum/acpica-unix2-20161222.tar.gz.cksum | 1 + util/crossgcc/sum/gdb-7.11.tar.xz.cksum | 1 - util/crossgcc/sum/gdb-7.12.tar.xz.cksum | 1 + util/crossgcc/sum/gmp-6.1.1.tar.xz.cksum | 1 - util/crossgcc/sum/gmp-6.1.2.tar.xz.cksum | 1 + 15 files changed, 80 insertions(+), 80 deletions(-)
diff --git a/util/crossgcc/buildgcc b/util/crossgcc/buildgcc index 0f8eed9..7678b8c 100755 --- a/util/crossgcc/buildgcc +++ b/util/crossgcc/buildgcc @@ -18,7 +18,7 @@
cd $(dirname $0)
-CROSSGCC_DATE="October 29th, 2016" +CROSSGCC_DATE="December 28th, 2016" CROSSGCC_VERSION="1.44" CROSSGCC_COMMIT=$( git describe )
@@ -35,15 +35,15 @@ BOOTSTRAP=0 THREADS=1
# GCC toolchain version numbers -GMP_VERSION=6.1.1 +GMP_VERSION=6.1.2 MPFR_VERSION=3.1.5 MPC_VERSION=1.0.3 LIBELF_VERSION=0.8.13 GCC_VERSION=6.3.0 GCC_AUTOCONF_VERSION=2.69 BINUTILS_VERSION=2.27 -GDB_VERSION=7.11 -IASL_VERSION=20160831 +GDB_VERSION=7.12 +IASL_VERSION=20161222 PYTHON_VERSION=3.5.1 EXPAT_VERSION=2.1.1 # CLANG version number diff --git a/util/crossgcc/patches/acpica-unix2-20160831_iasl.patch b/util/crossgcc/patches/acpica-unix2-20160831_iasl.patch deleted file mode 100644 index f119f46..0000000 --- a/util/crossgcc/patches/acpica-unix2-20160831_iasl.patch +++ /dev/null @@ -1,27 +0,0 @@ -diff -Naur acpica-unix2-20160831/source/compiler/asloptions.c acpica-unix2-20160831a/source/compiler/asloptions.c ---- acpica-unix2-20160831/source/compiler/asloptions.c -+++ acpica-unix2-20160831a/source/compiler/asloptions.c -@@ -100,6 +100,7 @@ - if (argc < 2) - { - printf (ACPI_COMMON_SIGNON (ASL_COMPILER_NAME)); -+ printf ("%s\n", COREBOOT_TOOLCHAIN_VERSION); - Usage (); - exit (1); - } -@@ -130,6 +131,7 @@ - if (Gbl_DoSignon) - { - printf (ACPI_COMMON_SIGNON (ASL_COMPILER_NAME)); -+ printf ("%s\n", COREBOOT_TOOLCHAIN_VERSION); - if (Gbl_IgnoreErrors) - { - printf ("Ignoring all errors, forcing AML file generation\n\n"); -@@ -711,6 +713,7 @@ - case '^': - - printf (ACPI_COMMON_SIGNON (ASL_COMPILER_NAME)); -+ printf ("%s\n", COREBOOT_TOOLCHAIN_VERSION); - exit (0); - - case 'a': diff --git a/util/crossgcc/patches/acpica-unix2-20161222_iasl.patch b/util/crossgcc/patches/acpica-unix2-20161222_iasl.patch new file mode 100644 index 0000000..24bde98 --- /dev/null +++ b/util/crossgcc/patches/acpica-unix2-20161222_iasl.patch @@ -0,0 +1,27 @@ +diff -Naur acpica-unix2-20161222/source/compiler/asloptions.c acpica-unix2-20161222/source/compiler/asloptions.c +--- acpica-unix2-20161222/source/compiler/asloptions.c ++++ acpica-unix2-20161222/source/compiler/asloptions.c +@@ -100,6 +100,7 @@ + if (argc < 2) + { + printf (ACPI_COMMON_SIGNON (ASL_COMPILER_NAME)); ++ printf ("%s\n", COREBOOT_TOOLCHAIN_VERSION); + Usage (); + exit (1); + } +@@ -130,6 +131,7 @@ + if (Gbl_DoSignon) + { + printf (ACPI_COMMON_SIGNON (ASL_COMPILER_NAME)); ++ printf ("%s\n", COREBOOT_TOOLCHAIN_VERSION); + if (Gbl_IgnoreErrors) + { + printf ("Ignoring all errors, forcing AML file generation\n\n"); +@@ -711,6 +713,7 @@ + case '^': + + printf (ACPI_COMMON_SIGNON (ASL_COMPILER_NAME)); ++ printf ("%s\n", COREBOOT_TOOLCHAIN_VERSION); + exit (0); + + case 'a': diff --git a/util/crossgcc/patches/gdb-7.11_amd64.patch b/util/crossgcc/patches/gdb-7.11_amd64.patch deleted file mode 100644 index ef6b260..0000000 --- a/util/crossgcc/patches/gdb-7.11_amd64.patch +++ /dev/null @@ -1,15 +0,0 @@ -diff -urN gdb-7.11.orig/gdb/configure.tgt gdb-7.11/gdb/configure.tgt ---- gdb-7.11.orig/gdb/configure.tgt 2016-02-09 19:19:39.000000000 -0800 -+++ gdb-7.11/gdb/configure.tgt 2016-04-21 17:42:32.628433139 -0700 -@@ -681,6 +681,11 @@ - i387-tdep.o i386bsd-tdep.o i386obsd-tdep.o \ - obsd-tdep.o bsd-uthread.o solib-svr4.o" - ;; -+x86_64-*-*) -+ # Target: amd64 -+ gdb_target_obs="amd64-tdep.o i386-tdep.o i387-tdep.o" -+ ;; -+ - xtensa*-*-linux*) gdb_target=linux - # Target: GNU/Linux Xtensa - gdb_target_obs="xtensa-tdep.o xtensa-config.o xtensa-linux-tdep.o \ diff --git a/util/crossgcc/patches/gdb-7.11_no-doc.patch b/util/crossgcc/patches/gdb-7.11_no-doc.patch deleted file mode 100644 index 6cd5e49..0000000 --- a/util/crossgcc/patches/gdb-7.11_no-doc.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -urN gdb-7.11.orig/gdb/Makefile.in gdb-7.11/gdb/Makefile.in ---- gdb-7.11.orig/gdb/Makefile.in 2016-02-24 01:55:15.000000000 -0800 -+++ gdb-7.11/gdb/Makefile.in 2016-04-21 17:44:32.721472633 -0700 -@@ -1092,7 +1092,7 @@ - - TSOBS = inflow.o - --SUBDIRS = doc @subdirs@ data-directory $(GNULIB_BUILDDIR) -+SUBDIRS = @subdirs@ data-directory $(GNULIB_BUILDDIR) - CLEANDIRS = $(SUBDIRS) - - # List of subdirectories in the build tree that must exist. diff --git a/util/crossgcc/patches/gdb-7.11_pythonhome.patch b/util/crossgcc/patches/gdb-7.11_pythonhome.patch deleted file mode 100644 index 9bf88be..0000000 --- a/util/crossgcc/patches/gdb-7.11_pythonhome.patch +++ /dev/null @@ -1,19 +0,0 @@ -diff -urN gdb-7.11.orig/gdb/python/python.c gdb-7.11/gdb/python/python.c ---- gdb-7.11.orig/gdb/python/python.c 2016-02-09 19:19:39.000000000 -0800 -+++ gdb-7.11/gdb/python/python.c 2016-04-21 17:45:39.119833428 -0700 -@@ -1748,6 +1748,15 @@ - #endif - #endif - -+ char readlinkbuffer[BUFSIZ]; -+ int readlinks = readlink("/proc/self/exe", readlinkbuffer, BUFSIZ - 1); -+ readlinkbuffer[readlinks] = 0; -+ char *executeablepath = dirname(readlinkbuffer); -+ char *pythonhome = malloc(strlen(executeablepath) + strlen("/../") + 2); -+ strcpy(pythonhome, executeablepath); -+ strcat(pythonhome, "/../"); -+ setenv("PYTHONHOME", pythonhome, 1); -+ - Py_Initialize (); - PyEval_InitThreads (); - diff --git a/util/crossgcc/patches/gdb-7.12_amd64.patch b/util/crossgcc/patches/gdb-7.12_amd64.patch new file mode 100644 index 0000000..39e6fab --- /dev/null +++ b/util/crossgcc/patches/gdb-7.12_amd64.patch @@ -0,0 +1,15 @@ +diff -urN gdb-7.12.orig/gdb/configure.tgt gdb-7.12/gdb/configure.tgt +--- gdb-7.12.orig/gdb/configure.tgt 2016-02-09 19:19:39.000000000 -0800 ++++ gdb-7.12/gdb/configure.tgt 2016-04-21 17:42:32.628433139 -0700 +@@ -681,6 +681,11 @@ + i387-tdep.o i386bsd-tdep.o i386obsd-tdep.o \ + obsd-tdep.o bsd-uthread.o solib-svr4.o" + ;; ++x86_64-*-*) ++ # Target: amd64 ++ gdb_target_obs="amd64-tdep.o i386-tdep.o i387-tdep.o" ++ ;; ++ + xtensa*-*-linux*) gdb_target=linux + # Target: GNU/Linux Xtensa + gdb_target_obs="xtensa-tdep.o xtensa-config.o xtensa-linux-tdep.o \ diff --git a/util/crossgcc/patches/gdb-7.12_no-doc.patch b/util/crossgcc/patches/gdb-7.12_no-doc.patch new file mode 100644 index 0000000..2c5e571 --- /dev/null +++ b/util/crossgcc/patches/gdb-7.12_no-doc.patch @@ -0,0 +1,12 @@ +diff -urN gdb-7.12.orig/gdb/Makefile.in gdb-7.12/gdb/Makefile.in +--- gdb-7.12.orig/gdb/Makefile.in 2016-02-24 01:55:15.000000000 -0800 ++++ gdb-7.12/gdb/Makefile.in 2016-04-21 17:44:32.721472633 -0700 +@@ -1092,7 +1092,7 @@ + + TSOBS = inflow.o + +-SUBDIRS = doc @subdirs@ data-directory $(GNULIB_BUILDDIR) ++SUBDIRS = @subdirs@ data-directory $(GNULIB_BUILDDIR) + CLEANDIRS = $(SUBDIRS) + + # List of subdirectories in the build tree that must exist. diff --git a/util/crossgcc/patches/gdb-7.12_pythonhome.patch b/util/crossgcc/patches/gdb-7.12_pythonhome.patch new file mode 100644 index 0000000..aea8c02 --- /dev/null +++ b/util/crossgcc/patches/gdb-7.12_pythonhome.patch @@ -0,0 +1,19 @@ +diff -urN gdb-7.12.orig/gdb/python/python.c gdb-7.12/gdb/python/python.c +--- gdb-7.12.orig/gdb/python/python.c 2016-02-09 19:19:39.000000000 -0800 ++++ gdb-7.12/gdb/python/python.c 2016-04-21 17:45:39.119833428 -0700 +@@ -1748,6 +1748,15 @@ + #endif + #endif + ++ char readlinkbuffer[BUFSIZ]; ++ int readlinks = readlink("/proc/self/exe", readlinkbuffer, BUFSIZ - 1); ++ readlinkbuffer[readlinks] = 0; ++ char *executeablepath = dirname(readlinkbuffer); ++ char *pythonhome = malloc(strlen(executeablepath) + strlen("/../") + 2); ++ strcpy(pythonhome, executeablepath); ++ strcat(pythonhome, "/../"); ++ setenv("PYTHONHOME", pythonhome, 1); ++ + Py_Initialize (); + PyEval_InitThreads (); + diff --git a/util/crossgcc/sum/acpica-unix2-20160831.tar.gz.cksum b/util/crossgcc/sum/acpica-unix2-20160831.tar.gz.cksum deleted file mode 100644 index d7e538b..0000000 --- a/util/crossgcc/sum/acpica-unix2-20160831.tar.gz.cksum +++ /dev/null @@ -1 +0,0 @@ -7e7449f15a195fefd72b65b1671df18e4dccf665 tarballs/acpica-unix2-20160831.tar.gz diff --git a/util/crossgcc/sum/acpica-unix2-20161222.tar.gz.cksum b/util/crossgcc/sum/acpica-unix2-20161222.tar.gz.cksum new file mode 100644 index 0000000..d857678 --- /dev/null +++ b/util/crossgcc/sum/acpica-unix2-20161222.tar.gz.cksum @@ -0,0 +1 @@ +73e57d4d558c9bc831165c71adbff577b526f256 tarballs/acpica-unix2-20161222.tar.gz diff --git a/util/crossgcc/sum/gdb-7.11.tar.xz.cksum b/util/crossgcc/sum/gdb-7.11.tar.xz.cksum deleted file mode 100644 index ffe5a1c..0000000 --- a/util/crossgcc/sum/gdb-7.11.tar.xz.cksum +++ /dev/null @@ -1 +0,0 @@ -466208d771d97d3dfcf965d5c835a669cff8d847 tarballs/gdb-7.11.tar.xz diff --git a/util/crossgcc/sum/gdb-7.12.tar.xz.cksum b/util/crossgcc/sum/gdb-7.12.tar.xz.cksum new file mode 100644 index 0000000..61334c9 --- /dev/null +++ b/util/crossgcc/sum/gdb-7.12.tar.xz.cksum @@ -0,0 +1 @@ +1a6a0f2fe04d6ac9ba85048af35610e0fc217300 tarballs/gdb-7.12.tar.xz diff --git a/util/crossgcc/sum/gmp-6.1.1.tar.xz.cksum b/util/crossgcc/sum/gmp-6.1.1.tar.xz.cksum deleted file mode 100644 index bf50891..0000000 --- a/util/crossgcc/sum/gmp-6.1.1.tar.xz.cksum +++ /dev/null @@ -1 +0,0 @@ -4da491d63ef850a7662f41da27ad1ba99c2dbaa1 tarballs/gmp-6.1.1.tar.xz diff --git a/util/crossgcc/sum/gmp-6.1.2.tar.xz.cksum b/util/crossgcc/sum/gmp-6.1.2.tar.xz.cksum new file mode 100644 index 0000000..774658c --- /dev/null +++ b/util/crossgcc/sum/gmp-6.1.2.tar.xz.cksum @@ -0,0 +1 @@ +9dc6981197a7d92f339192eea974f5eca48fcffe tarballs/gmp-6.1.2.tar.xz