On Tue, Aug 22, 2017 at 3:22 AM, Richard Purdie <richard.pur...@linuxfoundation.org> wrote: > 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.ja...@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 :(. >
It did not occur to me that this option is introduced in gcc7+ which means it will not work on hosts using old gcc versions. Sorry > Cheers, > > Richard > > > -- > _______________________________________________ > Openembedded-core mailing list > Openembedded-core@lists.openembedded.org > http://lists.openembedded.org/mailman/listinfo/openembedded-core -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core