[coreboot] make crossgcc fails with 'Building IASL 20110623 ... failed'

Idwer Vollering vidwer at gmail.com
Mon Oct 10 18:13:17 CEST 2011


2011/10/10 Alp Eren Köse <alperenkose at buyutech.com.tr>:
> As written on the subject 'make crossgcc' fails as following:
> Skipping GDB as requested by command line
> Building IASL 20110623 ... failed
> make[1]: *** [build-without-gdb] Error 1
> make: *** [crossgcc] Error 2
>
> Anyone knows why?
> and the "util/crossgcc/acpica-unix-20110623/compiler/crossgcc-build.log"
> file is at the attachment.
>
> complete output below:
>
> Welcome to the coresystems cross toolchain builder v1.04 (August 8th, 2011)
>
> Will skip GDB ... ok
> Downloading tar balls ...
>  * gmp-5.0.1.tar.bz2 (downloading)
>  * mpfr-3.0.0.tar.bz2 (downloading)
>  * mpc-0.8.2.tar.gz (downloading)
>  * libelf-0.8.13.tar.gz (downloading)
>  * gcc-core-4.5.2.tar.bz2 (downloading)
>  * binutils-2.20.1.tar.bz2 (downloading)
>  * acpica-unix-20110623.tar.gz (downloading)
> Downloaded tar balls ... ok
> Unpacking and patching ...
>  * gmp-5.0.1.tar.bz2
>  * mpfr-3.0.0.tar.bz2
>    o mpfr-3.0.0_allpatches_20101216.patch
>  * mpc-0.8.2.tar.gz
>  * libelf-0.8.13.tar.gz
>  * gcc-core-4.5.2.tar.bz2
>    o gcc-4.5.2_pragma.patch
>  * binutils-2.20.1.tar.bz2
>    o binutils-2.20.1_no-bfd-doc.patch
>  * acpica-unix-20110623.tar.gz
> Unpacked and patched ... ok
> Building GMP 5.0.1 ... ok
> Building MPFR 3.0.0 ... ok
> Building MPC 0.8.2 ... ok
> Building libelf 0.8.13 ... ok
> Building binutils 2.20.1 ... ok
> Building GCC 4.5.2 ... ok
> Skipping GDB as requested by command line
> Building IASL 20110623 ... failed
> make[1]: *** [build-without-gdb] Error 1
> make: *** [crossgcc] Error 2
>
>
> --
> coreboot mailing list: coreboot at coreboot.org
> http://www.coreboot.org/mailman/listinfo/coreboot
>

Can you try this patch?

--- acpica-unix-20110623.orig/compiler/Makefile 2011-06-23
18:34:09.000000000 +0200
+++ acpica-unix-20110623/compiler/Makefile      2011-09-30
13:40:22.700774117 +0200
@@ -43,7 +43,6 @@
     -Wall \
     -Wbad-function-cast \
     -Wdeclaration-after-statement \
-    -Werror \
     -Wformat=2 \
     -Wmissing-declarations \
     -Wmissing-prototypes \
@@ -243,16 +242,16 @@
 # by the utilities above and they are not necessarily ANSI C, etc.
 #
 aslcompilerlex.o :   aslcompilerlex.c
-       $(CC) -c $(CFLAGS) -Wall -Werror -Wstrict-aliasing=0 -o$@ $?
+       $(CC) -c $(CFLAGS) -Wall -Wstrict-aliasing=0 -o$@ $?

 aslcompilerparse.o : aslcompilerparse.c
-       $(CC) -c $(CFLAGS) -Wall -Werror -Wstrict-aliasing=0 -o$@ $?
+       $(CC) -c $(CFLAGS) -Wall -Wstrict-aliasing=0 -o$@ $?

 dtparserlex.o :      dtparserlex.c
-       $(CC) -c $(CFLAGS) -Wall -Werror -Wstrict-aliasing=0 -o$@ $?
+       $(CC) -c $(CFLAGS) -Wall -Wstrict-aliasing=0 -o$@ $?

 dtparserparse.o :    dtparserparse.c
-       $(CC) -c $(CFLAGS) -Wall -Werror -Wstrict-aliasing=0 -o$@ $?
+       $(CC) -c $(CFLAGS) -Wall -Wstrict-aliasing=0 -o$@ $?


 #




More information about the coreboot mailing list