Idwer Vollering (vidwer@gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/2343
-gerrit
commit 22d76b6ce42aeee1759f13c91b171f5756503af9 Author: Idwer Vollering vidwer@gmail.com Date: Sun Feb 10 00:33:39 2013 +0100
crossgcc: update to ACPICA 20130117
Update ACPICA to release 20130117.
New version; new features (brokenness) to fix. See patches/acpica-unix-20130117_drop_unknown_cflags.patch
Change-Id: I6c4346c22f2e97b7d289f56a9435a315f8fb54d4 Signed-off-by: Idwer Vollering vidwer@gmail.com --- util/crossgcc/buildgcc | 6 +- ...0121114_32bit_optimization_fortify_source.patch | 11 --- .../acpica-unix-20121114_drop_unknown_cflags.patch | 29 -------- ...cpica-unix-20121114_no_remove_destination.patch | 12 ---- .../acpica-unix-20121114_override_make.patch | 80 --------------------- ...0130117_32bit_optimization_fortify_source.patch | 82 ++++++++++++++++++++++ .../acpica-unix-20130117_drop_unknown_cflags.patch | 30 ++++++++ ...cpica-unix-20130117_no_remove_destination.patch | 13 ++++ .../acpica-unix-20130117_override_make.patch | 82 ++++++++++++++++++++++ 9 files changed, 210 insertions(+), 135 deletions(-)
diff --git a/util/crossgcc/buildgcc b/util/crossgcc/buildgcc index ad2bb65..02f7b9a 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="December 4th, 2012" -CROSSGCC_VERSION="1.20" +CROSSGCC_DATE="February 10th, 2013" +CROSSGCC_VERSION="1.21"
# default settings TARGETDIR=`pwd`/xgcc @@ -37,7 +37,7 @@ GCC_VERSION=4.7.2 GCC_AUTOCONF_VERSION=2.64 BINUTILS_VERSION=2.23 GDB_VERSION=7.5 -IASL_VERSION=20121114 +IASL_VERSION=20130117 PYTHON_VERSION=2.7.3 EXPAT_VERSION=2.1.0
diff --git a/util/crossgcc/patches/acpica-unix-20121114_32bit_optimization_fortify_source.patch b/util/crossgcc/patches/acpica-unix-20121114_32bit_optimization_fortify_source.patch deleted file mode 100644 index abf80bd..0000000 --- a/util/crossgcc/patches/acpica-unix-20121114_32bit_optimization_fortify_source.patch +++ /dev/null @@ -1,11 +0,0 @@ -diff -ur acpica-unix-20121114/generate/unix/Makefile.config acpica-unix-20121114.patched/generate/unix/Makefile.config ---- acpica-unix-20121114/generate/unix/Makefile.config 2012-11-14 17:22:38.000000000 +0100 -+++ acpica-unix-20121114.patched/generate/unix/Makefile.config 2012-11-15 21:19:36.683902859 +0100 -@@ -104,6 +104,7 @@ - # automatically included in -Wall. - # - CFLAGS += \ -+ -O \ - $(BITSFLAG) \ - -D$(HOST) \ - -D_GNU_SOURCE \ diff --git a/util/crossgcc/patches/acpica-unix-20121114_drop_unknown_cflags.patch b/util/crossgcc/patches/acpica-unix-20121114_drop_unknown_cflags.patch deleted file mode 100644 index cfc392c..0000000 --- a/util/crossgcc/patches/acpica-unix-20121114_drop_unknown_cflags.patch +++ /dev/null @@ -1,29 +0,0 @@ -diff -ur acpica-unix-20121114.orig/generate/unix/Makefile.config acpica-unix-20121114/generate/unix/Makefile.config ---- acpica-unix-20121114.orig/generate/unix/Makefile.config 2012-11-14 17:22:38.000000000 +0100 -+++ acpica-unix-20121114/generate/unix/Makefile.config 2013-02-09 17:57:59.000000000 +0100 -@@ -115,7 +115,6 @@ - CWARNINGFLAGS = \ - -ansi \ - -Wall \ -- -Wbad-function-cast \ - -Wdeclaration-after-statement \ - -Werror \ - -Wformat=2 \ -@@ -134,16 +133,11 @@ - -Waddress \ - -Waggregate-return \ - -Wchar-subscripts \ -- -Wempty-body \ -- -Wlogical-op \ - -Wmissing-declarations \ - -Wmissing-field-initializers \ -- -Wmissing-parameter-type \ - -Wnested-externs \ -- -Wold-style-declaration \ - -Wold-style-definition \ -- -Wredundant-decls \ -- -Wtype-limits -+ -Wredundant-decls - - # - # Extra warning flags (possible future use) diff --git a/util/crossgcc/patches/acpica-unix-20121114_no_remove_destination.patch b/util/crossgcc/patches/acpica-unix-20121114_no_remove_destination.patch deleted file mode 100644 index 85a6f1b..0000000 --- a/util/crossgcc/patches/acpica-unix-20121114_no_remove_destination.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -ur acpica-unix-20121114.orig/generate/unix/Makefile.config acpica-unix-20121114/generate/unix/Makefile.config ---- acpica-unix-20121114.orig/generate/unix/Makefile.config 2012-12-05 16:11:48.000000000 -0800 -+++ acpica-unix-20121114/generate/unix/Makefile.config 2012-12-05 16:12:31.000000000 -0800 -@@ -57,7 +57,7 @@ - # - COPYPROG = \ - @mkdir -p ../$(BINDIR); \ -- cp --remove-destination $(PROG) ../$(BINDIR); \ -+ cp $(PROG) ../$(BINDIR); \ - echo "Copied $(PROG) to $(FINAL_PROG)"; - - # diff --git a/util/crossgcc/patches/acpica-unix-20121114_override_make.patch b/util/crossgcc/patches/acpica-unix-20121114_override_make.patch deleted file mode 100644 index c4ce67f..0000000 --- a/util/crossgcc/patches/acpica-unix-20121114_override_make.patch +++ /dev/null @@ -1,80 +0,0 @@ -diff -Nurbs acpica-unix-20121114.orig/generate/unix/Makefile.common acpica-unix-20121114/generate/unix/Makefile.common ---- acpica-unix-20121114.orig/generate/unix/Makefile.common 2012-11-15 00:22:38.000000000 +0800 -+++ acpica-unix-20121114/generate/unix/Makefile.common 2013-02-09 12:11:55.994133871 +0800 -@@ -19,17 +19,17 @@ - if [ $(BITS) -eq 32 ]; then \ - echo "Forced 32-bit generation of $@"; \ - mkdir -p obj32; \ -- make BITS=32; \ -+ $(MAKE) BITS=32; \ - echo "32-bit version of $@:"; \ - ls -al ../bin32/$@; \ - elif [ $(findstring 64,$(HARDWARE_NAME)) ]; then \ - mkdir -p obj64; \ -- make BITS=64; \ -+ $(MAKE) BITS=64; \ - echo "64-bit version of $@:"; \ - ls -al ../bin64/$@; \ - else \ - mkdir -p obj32; \ -- make BITS=32; \ -+ $(MAKE) BITS=32; \ - echo "32-bit version of $@:"; \ - ls -al ../bin32/$@; \ - fi; -@@ -47,7 +47,7 @@ - (cd $(BUILD_DIRECTORY_PATH)/$$toolname; \ - pwd; \ - mkdir -p obj32; \ -- make BITS=32; \ -+ $(MAKE) BITS=32; \ - echo "32-bit version of $$toolname:"; \ - ls -al obj32/$$toolname \ - ); \ -@@ -61,7 +61,7 @@ - (cd $(BUILD_DIRECTORY_PATH)/$$toolname; \ - pwd; \ - mkdir -p obj64; \ -- make BITS=64; \ -+ $(MAKE) BITS=64; \ - echo "64-bit version of $$toolname:"; \ - ls -al obj64/$$toolname \ - ); \ -@@ -73,11 +73,11 @@ - echo "Removing $$toolname"; \ - pwd; \ - if [ -d "obj32" ] ; then \ -- make BITS=32 clean; \ -+ $(MAKE) BITS=32 clean; \ - rmdir obj32; \ - fi; \ - if [ -d "obj64" ] ; then \ -- make BITS=64 clean; \ -+ $(MAKE) BITS=64 clean; \ - rmdir obj64; \ - fi; \ - echo ""; \ -@@ -92,10 +92,10 @@ - (cd $(BUILD_DIRECTORY_PATH)/$$toolname; \ - pwd; \ - if [ $(findstring 64,$(HARDWARE_NAME)) ]; then \ -- make BITS=64 PROG=$$toolname install; \ -+ $(MAKE) BITS=64 PROG=$$toolname install; \ - echo "Installed 64-bit version of $$toolname"; \ - else \ -- make BITS=32 PROG=$$toolname install; \ -+ $(MAKE) BITS=32 PROG=$$toolname install; \ - echo "Installed 32-bit version of $$toolname"; \ - fi; \ - echo ""; \ -diff -Nurbs acpica-unix-20121114.orig/generate/unix/Makefile.config acpica-unix-20121114/generate/unix/Makefile.config ---- acpica-unix-20121114.orig/generate/unix/Makefile.config 2012-11-15 00:22:38.000000000 +0800 -+++ acpica-unix-20121114/generate/unix/Makefile.config 2013-02-09 12:11:12.978134325 +0800 -@@ -31,6 +31,7 @@ - PROGS = acpibin acpiexec acpihelp acpinames acpisrc acpixtract iasl - HOST = _CYGWIN - CC = gcc -+MAKE = make - - # - # Common defines diff --git a/util/crossgcc/patches/acpica-unix-20130117_32bit_optimization_fortify_source.patch b/util/crossgcc/patches/acpica-unix-20130117_32bit_optimization_fortify_source.patch new file mode 100644 index 0000000..de94962 --- /dev/null +++ b/util/crossgcc/patches/acpica-unix-20130117_32bit_optimization_fortify_source.patch @@ -0,0 +1,82 @@ +diff -ur acpica-unix-20130117.orig/generate/unix/Makefile.common acpica-unix-20130117/generate/unix/Makefile.common +--- acpica-unix-20130117.orig/generate/unix/Makefile.common 2013-01-17 20:47:17.000000000 +0100 ++++ acpica-unix-20130117/generate/unix/Makefile.common 2013-02-10 00:23:13.000000000 +0100 +@@ -19,17 +19,17 @@ + if [ $(BITS) -eq 32 ]; then \ + echo "Forced 32-bit generation of $@"; \ + mkdir -p obj32; \ +- make BITS=32; \ ++ $(MAKE) BITS=32; \ + echo "32-bit version of $@:"; \ + ls -al ../bin32/$@; \ + elif [ $(findstring 64,$(HARDWARE_NAME)) ]; then \ + mkdir -p obj64; \ +- make BITS=64; \ ++ $(MAKE) BITS=64; \ + echo "64-bit version of $@:"; \ + ls -al ../bin64/$@; \ + else \ + mkdir -p obj32; \ +- make BITS=32; \ ++ $(MAKE) BITS=32; \ + echo "32-bit version of $@:"; \ + ls -al ../bin32/$@; \ + fi; +@@ -47,7 +47,7 @@ + (cd $(BUILD_DIRECTORY_PATH)/$$toolname; \ + pwd; \ + mkdir -p obj32; \ +- make BITS=32; \ ++ $(MAKE) BITS=32; \ + echo "32-bit version of $$toolname:"; \ + ls -al obj32/$$toolname \ + ); \ +@@ -61,7 +61,7 @@ + (cd $(BUILD_DIRECTORY_PATH)/$$toolname; \ + pwd; \ + mkdir -p obj64; \ +- make BITS=64; \ ++ $(MAKE) BITS=64; \ + echo "64-bit version of $$toolname:"; \ + ls -al obj64/$$toolname \ + ); \ +@@ -73,11 +73,11 @@ + echo "Removing $$toolname"; \ + pwd; \ + if [ -d "obj32" ] ; then \ +- make BITS=32 clean; \ ++ $(MAKE) BITS=32 clean; \ + rmdir obj32; \ + fi; \ + if [ -d "obj64" ] ; then \ +- make BITS=64 clean; \ ++ $(MAKE) BITS=64 clean; \ + rmdir obj64; \ + fi; \ + echo ""; \ +@@ -92,10 +92,10 @@ + (cd $(BUILD_DIRECTORY_PATH)/$$toolname; \ + pwd; \ + if [ $(findstring 64,$(HARDWARE_NAME)) ]; then \ +- make BITS=64 PROG=$$toolname install; \ ++ $(MAKE) BITS=64 PROG=$$toolname install; \ + echo "Installed 64-bit version of $$toolname"; \ + else \ +- make BITS=32 PROG=$$toolname install; \ ++ $(MAKE) BITS=32 PROG=$$toolname install; \ + echo "Installed 32-bit version of $$toolname"; \ + fi; \ + echo ""; \ +Only in acpica-unix-20130117/generate/unix: Makefile.common.orig +diff -ur acpica-unix-20130117.orig/generate/unix/Makefile.config acpica-unix-20130117/generate/unix/Makefile.config +--- acpica-unix-20130117.orig/generate/unix/Makefile.config 2013-01-17 20:47:17.000000000 +0100 ++++ acpica-unix-20130117/generate/unix/Makefile.config 2013-02-10 00:23:13.000000000 +0100 +@@ -31,6 +31,7 @@ + PROGS = acpibin acpiexec acpihelp acpinames acpisrc acpixtract iasl + HOST = _CYGWIN + CC = gcc ++MAKE = make + + # + # Common defines +Only in acpica-unix-20130117/generate/unix: Makefile.config.orig diff --git a/util/crossgcc/patches/acpica-unix-20130117_drop_unknown_cflags.patch b/util/crossgcc/patches/acpica-unix-20130117_drop_unknown_cflags.patch new file mode 100644 index 0000000..80d4795 --- /dev/null +++ b/util/crossgcc/patches/acpica-unix-20130117_drop_unknown_cflags.patch @@ -0,0 +1,30 @@ +diff -ur acpica-unix-20130117.orig/generate/unix/Makefile.config acpica-unix-20130117/generate/unix/Makefile.config +--- acpica-unix-20130117.orig/generate/unix/Makefile.config 2013-01-17 20:47:17.000000000 +0100 ++++ acpica-unix-20130117/generate/unix/Makefile.config 2013-02-10 00:27:38.000000000 +0100 +@@ -115,7 +115,6 @@ + CWARNINGFLAGS = \ + -ansi \ + -Wall \ +- -Wbad-function-cast \ + -Wdeclaration-after-statement \ + -Werror \ + -Wformat=2 \ +@@ -134,16 +133,11 @@ + -Waddress \ + -Waggregate-return \ + -Wchar-subscripts \ +- -Wempty-body \ +- -Wlogical-op \ + -Wmissing-declarations \ + -Wmissing-field-initializers \ +- -Wmissing-parameter-type \ + -Wnested-externs \ +- -Wold-style-declaration \ + -Wold-style-definition \ +- -Wredundant-decls \ +- -Wtype-limits ++ -Wredundant-decls + + # + # Extra warning flags (possible future use) +Only in acpica-unix-20130117/generate/unix: Makefile.config.orig diff --git a/util/crossgcc/patches/acpica-unix-20130117_no_remove_destination.patch b/util/crossgcc/patches/acpica-unix-20130117_no_remove_destination.patch new file mode 100644 index 0000000..32f5c31 --- /dev/null +++ b/util/crossgcc/patches/acpica-unix-20130117_no_remove_destination.patch @@ -0,0 +1,13 @@ +diff -ur acpica-unix-20130117.orig/generate/unix/Makefile.config acpica-unix-20130117/generate/unix/Makefile.config +--- acpica-unix-20130117.orig/generate/unix/Makefile.config 2013-01-17 20:47:17.000000000 +0100 ++++ acpica-unix-20130117/generate/unix/Makefile.config 2013-02-10 00:24:41.000000000 +0100 +@@ -57,7 +57,7 @@ + # + COPYPROG = \ + @mkdir -p ../$(BINDIR); \ +- cp --remove-destination $(PROG) ../$(BINDIR); \ ++ cp $(PROG) ../$(BINDIR); \ + echo "Copied $(PROG) to $(FINAL_PROG)"; + + # +Only in acpica-unix-20130117/generate/unix: Makefile.config.orig diff --git a/util/crossgcc/patches/acpica-unix-20130117_override_make.patch b/util/crossgcc/patches/acpica-unix-20130117_override_make.patch new file mode 100644 index 0000000..24efdbc --- /dev/null +++ b/util/crossgcc/patches/acpica-unix-20130117_override_make.patch @@ -0,0 +1,82 @@ +diff -ur acpica-unix-20130117.orig/generate/unix/Makefile.common acpica-unix-20130117/generate/unix/Makefile.common +--- acpica-unix-20130117.orig/generate/unix/Makefile.common 2013-01-17 20:47:17.000000000 +0100 ++++ acpica-unix-20130117/generate/unix/Makefile.common 2013-02-10 00:25:08.000000000 +0100 +@@ -19,17 +19,17 @@ + if [ $(BITS) -eq 32 ]; then \ + echo "Forced 32-bit generation of $@"; \ + mkdir -p obj32; \ +- make BITS=32; \ ++ $(MAKE) BITS=32; \ + echo "32-bit version of $@:"; \ + ls -al ../bin32/$@; \ + elif [ $(findstring 64,$(HARDWARE_NAME)) ]; then \ + mkdir -p obj64; \ +- make BITS=64; \ ++ $(MAKE) BITS=64; \ + echo "64-bit version of $@:"; \ + ls -al ../bin64/$@; \ + else \ + mkdir -p obj32; \ +- make BITS=32; \ ++ $(MAKE) BITS=32; \ + echo "32-bit version of $@:"; \ + ls -al ../bin32/$@; \ + fi; +@@ -47,7 +47,7 @@ + (cd $(BUILD_DIRECTORY_PATH)/$$toolname; \ + pwd; \ + mkdir -p obj32; \ +- make BITS=32; \ ++ $(MAKE) BITS=32; \ + echo "32-bit version of $$toolname:"; \ + ls -al obj32/$$toolname \ + ); \ +@@ -61,7 +61,7 @@ + (cd $(BUILD_DIRECTORY_PATH)/$$toolname; \ + pwd; \ + mkdir -p obj64; \ +- make BITS=64; \ ++ $(MAKE) BITS=64; \ + echo "64-bit version of $$toolname:"; \ + ls -al obj64/$$toolname \ + ); \ +@@ -73,11 +73,11 @@ + echo "Removing $$toolname"; \ + pwd; \ + if [ -d "obj32" ] ; then \ +- make BITS=32 clean; \ ++ $(MAKE) BITS=32 clean; \ + rmdir obj32; \ + fi; \ + if [ -d "obj64" ] ; then \ +- make BITS=64 clean; \ ++ $(MAKE) BITS=64 clean; \ + rmdir obj64; \ + fi; \ + echo ""; \ +@@ -92,10 +92,10 @@ + (cd $(BUILD_DIRECTORY_PATH)/$$toolname; \ + pwd; \ + if [ $(findstring 64,$(HARDWARE_NAME)) ]; then \ +- make BITS=64 PROG=$$toolname install; \ ++ $(MAKE) BITS=64 PROG=$$toolname install; \ + echo "Installed 64-bit version of $$toolname"; \ + else \ +- make BITS=32 PROG=$$toolname install; \ ++ $(MAKE) BITS=32 PROG=$$toolname install; \ + echo "Installed 32-bit version of $$toolname"; \ + fi; \ + echo ""; \ +Only in acpica-unix-20130117/generate/unix: Makefile.common.orig +diff -ur acpica-unix-20130117.orig/generate/unix/Makefile.config acpica-unix-20130117/generate/unix/Makefile.config +--- acpica-unix-20130117.orig/generate/unix/Makefile.config 2013-01-17 20:47:17.000000000 +0100 ++++ acpica-unix-20130117/generate/unix/Makefile.config 2013-02-10 00:25:08.000000000 +0100 +@@ -31,6 +31,7 @@ + PROGS = acpibin acpiexec acpihelp acpinames acpisrc acpixtract iasl + HOST = _CYGWIN + CC = gcc ++MAKE = make + + # + # Common defines +Only in acpica-unix-20130117/generate/unix: Makefile.config.orig