[U-Boot] [BUG] efi_loader: self-tests fail on qemu-x86_defconfig when compiled with GCC 8.3 and CONFIG_CC_OPTIMIZE_FOR_SIZE=y

Bin Meng bmeng.cn at gmail.com
Mon Mar 11 03:17:12 UTC 2019


HI Heinrich,

On Mon, Mar 11, 2019 at 10:11 AM Heinrich Schuchardt <xypron.glpk at gmx.de> wrote:
>
> Debian has recently (march 8th) upgraded GCC from 8.2 to 8.3.
>
> When I compile qemu-x86_defconfig with CONFIG_CC_OPTIMIZE_FOR_SIZE=y
> some of the UEFI selftests (bootefi selftest) fail. It looks to me like
> ebx is not conserved.
>
> With CONFIG_CC_OPTIMIZE_FOR_SIZE=n everything is fine.
>

Thanks for testing. Could you do some debugging to identify whether
there is a bug in U-Boot, or a regression in GCC?

Regards,
Bin


More information about the U-Boot mailing list