[OE-core] [PATCH 2/2] grub2: fix build with gcc-7
Richard Purdie
richard.purdie at linuxfoundation.org
Tue Aug 22 10:22:09 UTC 2017
On Mon, 2017-08-21 at 22:57 +0200, Martin Jansa wrote:
> * build with gcc-7 fails with:
> | ./config-util.h:1504:48: error: this use of "defined" may not
> be portable [-Werror=expansion-to-defined]
> | || (defined _FORTIFY_SOURCE && 0 < _FORTIFY_SOURCE \
> | ^~~~~~~~~~~~~~~
> and we're not building on Apple or BSD, so we should be able
> to just ignoreit until it's resolved properly in some newer gnulib
> and imported from gnulib to grub-2
>
> Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
> ---
> meta/recipes-bsp/grub/grub-efi_2.02.bb | 6 ++++++
> 1 file changed, 6 insertions(+)
Sadly this appears to break grub-efi everywhere on the autobuilder,
e.g.:
https://autobuilder.yocto.io/builders/nightly-no-x11/builds/428/steps/BuildImages/logs/stdio
I took a risk and tried to get this into M3 buts its not paid off and
we'll need another rebuild :(.
Cheers,
Richard
More information about the Openembedded-core
mailing list