Dear Ian,

Welcome to coreboot!


Am Samstag, den 09.09.2017, 16:31 -0700 schrieb Ian Kelling:
> 1. building 4.6 gives build erro
> 
> $ make crossgcc-x64 BUILDGCC_OPTIONS=-b CPUS=16
> $ make
> […]
>     HOSTCC     cbfstool/lz4hc.o
>     HOSTCC     cbfstool/lz4frame.o
> /nocow/t/coreboot-4.6/util/cbfstool/lz4/lib/lz4frame.c: In function 
> 'LZ4F_decompress':
> /nocow/t/coreboot-4.6/util/cbfstool/lz4/lib/lz4frame.c:1092:33: error: this 
> statement may fall through [-Werror=implicit-fallthrough=]
>                  dctxPtr->dStage = dstage_storeHeader;
>                  ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
> /nocow/t/coreboot-4.6/util/cbfstool/lz4/lib/lz4frame.c:1095:9: note: here
>          case dstage_storeHeader:
>          ^~~~
> cc1: all warnings being treated as errors
> util/cbfstool/Makefile.inc:133: recipe for target 
> 'build/util/cbfstool/lz4frame.o' failed
> make: *** [build/util/cbfstool/lz4frame.o] Error 1

Something is wrong with your environment. The error is fixed by commit
54fd92bc (util/cbfstool/lz4frame.c: Add comment to fall through). But
as I remember, and as the commit message applaudably documents, this
warning is only shown with GCC 7. The coreboot toolchain of the
coreboot 4.6 release still uses GCC 6(?), but definitely not 7. I
suggest you delete `.xcompile`, and if that doesn’t work, please start
from scratch, and give more information. Building with `make V=1` will
also show you, what programs get called.

[…]


Thanks,

Paul

Attachment: signature.asc
Description: This is a digitally signed message part

-- 
coreboot mailing list: [email protected]
https://mail.coreboot.org/mailman/listinfo/coreboot

Reply via email to