[coreboot] Patch set updated for coreboot: da19ba8 crossgcc: fix building acpica on BSD/non-linux

Idwer Vollering (vidwer@gmail.com) gerrit at coreboot.org
Sun Feb 10 18:54:08 CET 2013


Idwer Vollering (vidwer at gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/2340

-gerrit

commit da19ba81e527a0206983ff86d323066d10c179d7
Author: Idwer Vollering <vidwer at gmail.com>
Date:   Sat Feb 9 19:23:35 2013 +0100

    crossgcc: fix building acpica on BSD/non-linux
    
    Fix building acpica on BSD/non-linux.
    
    Error message:
    cc1: warnings being treated as errors
    ../../../source/components/executer/exdump.c: In function 'AcpiExDumpObject':
    ../../../source/components/executer/exdump.c:516: warning: cast from function call of type 'const char *' to
    non-matching type 'unsigned int'
    gmake[2]: *** [obj32/exdump.o] Error 1
    
    This change doesn't appear to be required for GNU/linuxes.
    
    Change-Id: Ia1d2915257af2a6631b5294b56f0f66b3830af3c
    Signed-off-by: Idwer Vollering <vidwer at gmail.com>
---
 ...nix-20121114_drop_cflags_unknown_to_xcode.patch | 20 ---------------
 .../acpica-unix-20121114_drop_unknown_cflags.patch | 29 ++++++++++++++++++++++
 2 files changed, 29 insertions(+), 20 deletions(-)

diff --git a/util/crossgcc/patches/acpica-unix-20121114_drop_cflags_unknown_to_xcode.patch b/util/crossgcc/patches/acpica-unix-20121114_drop_cflags_unknown_to_xcode.patch
deleted file mode 100644
index a4d55da..0000000
--- a/util/crossgcc/patches/acpica-unix-20121114_drop_cflags_unknown_to_xcode.patch
+++ /dev/null
@@ -1,20 +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 08:22:38.000000000 -0800
-+++ acpica-unix-20121114/generate/unix/Makefile.config	2012-12-05 15:53:35.000000000 -0800
-@@ -135,15 +135,11 @@
-     -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_drop_unknown_cflags.patch b/util/crossgcc/patches/acpica-unix-20121114_drop_unknown_cflags.patch
new file mode 100644
index 0000000..cfc392c
--- /dev/null
+++ b/util/crossgcc/patches/acpica-unix-20121114_drop_unknown_cflags.patch
@@ -0,0 +1,29 @@
+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)



More information about the coreboot mailing list