[U-Boot] [BUG] efi-x86_app_defconfig does not build with gcc 8.2

Bin Meng bmeng.cn at gmail.com
Fri Nov 9 01:39:20 UTC 2018


On Thu, Nov 8, 2018 at 8:47 AM Andy Shevchenko
<andy.shevchenko at gmail.com> wrote:
>
> On Thu, Nov 8, 2018 at 2:28 AM Bin Meng <bmeng.cn at gmail.com> wrote:
> > On Thu, Nov 8, 2018 at 2:02 AM Andy Shevchenko
> > <andy.shevchenko at gmail.com> wrote:
> > > On Mon, Oct 29, 2018 at 10:41:29PM +0800, Bin Meng wrote:
>
> > > > Here it is: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87793
>
> > > P.S. Btw, I recommend to read a commit message to a proposed fix.
> >
> > Good idea. However I read the fix commit message and have no idea on
> > how to workaround in the U-Boot codes. Do you have any idea?
>
> There is no workaround, just interesting reading in my opinion.
> He explains what happened there and what he did to mitigate it.
>
> Basically for now it means U-Boot can't be built with gcc 8.x for x86.
> Of course, if you have time to try the patch and build a compiler, and try it...
>

A small correction, it's only the efi-x86_app can't be built with gcc
8.x/9.x for x86, not all x86 targets :)

+Simon,

Simon, maybe we can enhance buildman to specify the GCC toolchain
version for a specific target?

Regards,
Bin


More information about the U-Boot mailing list