<div dir="ltr">I&#39;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&#39;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">&lt;<a href="mailto:richard.purdie@linuxfoundation.org" target="_blank">richard.purdie@linuxfoundation.org</a>&gt;</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>
&gt; * build with gcc-7 fails with:<br>
&gt;   | ./config-util.h:1504:48: error: this use of &quot;defined&quot; may not<br>
&gt; be   portable [-Werror=expansion-to-defined]<br>
&gt;   |              || (defined _FORTIFY_SOURCE &amp;&amp; 0 &lt; _FORTIFY_SOURCE \<br>
&gt;   |                             <wbr>                    ^~~~~~~~~~<wbr>~~~~~<br>
&gt;   and we&#39;re not building on Apple or BSD, so we should be able<br>
&gt;   to just ignoreit until it&#39;s resolved properly in some newer gnulib<br>
&gt;   and imported from gnulib to grub-2<br>
&gt;<br>
&gt; Signed-off-by: Martin Jansa &lt;<a href="mailto:Martin.Jansa@gmail.com">Martin.Jansa@gmail.com</a>&gt;<br>
&gt; ---<br>
&gt;  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>
&gt;  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&#39;ll need another rebuild :(.<br>
<br>
Cheers,<br>
<br>
Richard<br>
<br>
<br>
</blockquote></div><br></div>