From d1584fb2502a5d4741cf3f97d6f572dffd1aea04 Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Fri, 5 Oct 2018 16:05:48 -0700 Subject: [PATCH] crossgcc: Update acpica to 20180927 Update to latest version of iasl: (From the acpica.org changelogs) * Fixed a regression introduced in version 20180927 that could cause the compiler to fault, especially with NamePaths containing one or more carats (^). Such as: ^^_SB_PCI0 * Added a new remark for the Sleep() operator when the sleep time operand is larger than one second. This is a very long time for the ASL/BIOS code and may not be what was intended by the ASL writer. * Implemented detection of extraneous/redundant uses of the Offset() operator within a Field Unit list. A remark is now issued for these. For example, the first two of the Offset() operators below are extraneous. Because both the compiler and the interpreter track the offsets automatically, these Offsets simply refer to the current offset and are unnecessary. Note, when optimization is enabled, the iASL compiler will in fact remove the redundant Offset operators and will not emit any AML code for them. Change-Id: I46a1b1be44328aa2172f4741e9fd0c9b0f4e0430 Signed-off-by: Stefan Reinauer Reviewed-on: https://review.coreboot.org/c/28944 Reviewed-by: Patrick Georgi Tested-by: build bot (Jenkins) --- util/crossgcc/buildgcc | 6 +++--- ...patch => acpica-unix2-20181003_iasl.patch} | 20 +++++++++---------- .../sum/acpica-unix2-20180810.tar.gz.cksum | 1 - .../sum/acpica-unix2-20181003.tar.gz.cksum | 1 + 4 files changed, 14 insertions(+), 14 deletions(-) rename util/crossgcc/patches/{acpica-unix2-20180810_iasl.patch => acpica-unix2-20181003_iasl.patch} (58%) delete mode 100644 util/crossgcc/sum/acpica-unix2-20180810.tar.gz.cksum create mode 100644 util/crossgcc/sum/acpica-unix2-20181003.tar.gz.cksum diff --git a/util/crossgcc/buildgcc b/util/crossgcc/buildgcc index d2004e8405..c69874d8f8 100755 --- a/util/crossgcc/buildgcc +++ b/util/crossgcc/buildgcc @@ -30,8 +30,8 @@ cd "$(dirname "$0")" || exit 1 -CROSSGCC_DATE="October 2nd, 2018" -CROSSGCC_VERSION="1.54" +CROSSGCC_DATE="October 3nd, 2018" +CROSSGCC_VERSION="1.55" CROSSGCC_COMMIT=$( git describe ) # default settings @@ -54,7 +54,7 @@ GCC_VERSION=8.1.0 GCC_AUTOCONF_VERSION=2.69 BINUTILS_VERSION=2.30 GDB_VERSION=8.0 -IASL_VERSION=20180810 +IASL_VERSION=20181003 PYTHON_VERSION=3.7.0 EXPAT_VERSION=2.2.5 # CLANG version number diff --git a/util/crossgcc/patches/acpica-unix2-20180810_iasl.patch b/util/crossgcc/patches/acpica-unix2-20181003_iasl.patch similarity index 58% rename from util/crossgcc/patches/acpica-unix2-20180810_iasl.patch rename to util/crossgcc/patches/acpica-unix2-20181003_iasl.patch index 58ccb02a7e..8110b61771 100644 --- a/util/crossgcc/patches/acpica-unix2-20180810_iasl.patch +++ b/util/crossgcc/patches/acpica-unix2-20181003_iasl.patch @@ -1,27 +1,27 @@ -diff -Naur acpica-unix2-20180810_/source/compiler/asloptions.c acpica-unix2-20180810/source/compiler/asloptions.c > acpica-unix2-20180810_iasl.patch ---- acpica-unix2-20180810_/source/compiler/asloptions.c -+++ acpica-unix2-20180810/source/compiler/asloptions.c +diff -Naur acpica-unix2-20181003.orig/source/compiler/asloptions.c acpica-unix2-20181003/source/compiler/asloptions.c +--- acpica-unix2-20181003.orig/source/compiler/asloptions.c 2018-09-27 07:15:04.000000000 -0700 ++++ acpica-unix2-20181003/source/compiler/asloptions.c 2018-10-03 12:48:08.346641839 -0700 @@ -126,6 +126,7 @@ - if (Gbl_DoSignon) + if (AslGbl_DoSignon) { printf (ACPI_COMMON_SIGNON (ASL_COMPILER_NAME)); -+ printf ("%s\n", COREBOOT_TOOLCHAIN_VERSION); - if (Gbl_IgnoreErrors) ++ printf ("%s\n", COREBOOT_TOOLCHAIN_VERSION); + if (AslGbl_IgnoreErrors) { printf ("Ignoring all errors, forcing AML file generation\n\n"); @@ -753,6 +754,7 @@ case '^': - + printf (ACPI_COMMON_SIGNON (ASL_COMPILER_NAME)); + printf ("%s\n", COREBOOT_TOOLCHAIN_VERSION); exit (0); - + case 'a': @@ -766,6 +768,7 @@ - + printf (ACPI_COMMON_SIGNON (ASL_COMPILER_NAME)); printf (ACPI_COMMON_BUILD_TIME); + printf ("%s\n", COREBOOT_TOOLCHAIN_VERSION); exit (0); - + case 'e': diff --git a/util/crossgcc/sum/acpica-unix2-20180810.tar.gz.cksum b/util/crossgcc/sum/acpica-unix2-20180810.tar.gz.cksum deleted file mode 100644 index 5bb6076882..0000000000 --- a/util/crossgcc/sum/acpica-unix2-20180810.tar.gz.cksum +++ /dev/null @@ -1 +0,0 @@ -b8e1a287557dda6f4b71c4172a7a9123b6ffaf2a tarballs/acpica-unix2-20180810.tar.gz diff --git a/util/crossgcc/sum/acpica-unix2-20181003.tar.gz.cksum b/util/crossgcc/sum/acpica-unix2-20181003.tar.gz.cksum new file mode 100644 index 0000000000..26df02c1bd --- /dev/null +++ b/util/crossgcc/sum/acpica-unix2-20181003.tar.gz.cksum @@ -0,0 +1 @@ +663d11e3b54b152059515eac04130d8b0d49964b tarballs/acpica-unix2-20181003.tar.gz