<div dir="ltr">I'm sorry for the issues caused by this, can you share config.log from that build? Maybe the native compiler on that build host doesn't support this option?</div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Aug 22, 2017 at 11:22 AM, Richard Purdie <span dir="ltr"><<a href="mailto:richard.purdie@linuxfoundation.org" target="_blank">richard.purdie@linuxfoundation.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Mon, 2017-08-21 at 22:57 +0200, Martin Jansa wrote:<br>
> * build with gcc-7 fails with:<br>
> | ./config-util.h:1504:48: error: this use of "defined" may not<br>
> be portable [-Werror=expansion-to-defined]<br>
> | || (defined _FORTIFY_SOURCE && 0 < _FORTIFY_SOURCE \<br>
> | <wbr> ^~~~~~~~~~<wbr>~~~~~<br>
> and we're not building on Apple or BSD, so we should be able<br>
> to just ignoreit until it's resolved properly in some newer gnulib<br>
> and imported from gnulib to grub-2<br>
><br>
> Signed-off-by: Martin Jansa <<a href="mailto:Martin.Jansa@gmail.com">Martin.Jansa@gmail.com</a>><br>
> ---<br>
> meta/recipes-bsp/grub/<a href="http://grub-efi_2.02.bb" rel="noreferrer" target="_blank">grub-<wbr>efi_2.02.bb</a> | 6 ++++++<br>
> 1 file changed, 6 insertions(+)<br>
<br>
</span>Sadly this appears to break grub-efi everywhere on the autobuilder,<br>
e.g.:<br>
<br>
<a href="https://autobuilder.yocto.io/builders/nightly-no-x11/builds/428/steps/BuildImages/logs/stdio" rel="noreferrer" target="_blank">https://autobuilder.yocto.io/<wbr>builders/nightly-no-x11/<wbr>builds/428/steps/BuildImages/<wbr>logs/stdio</a><br>
<br>
I took a risk and tried to get this into M3 buts its not paid off and<br>
we'll need another rebuild :(.<br>
<br>
Cheers,<br>
<br>
Richard<br>
<br>
<br>
</blockquote></div><br></div>