* [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
@ 2019-03-11 2:11 Heinrich Schuchardt
2019-03-11 3:17 ` Bin Meng
0 siblings, 1 reply; 3+ messages in thread
From: Heinrich Schuchardt @ 2019-03-11 2:11 UTC (permalink / raw)
To: u-boot
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.
Best regards
Heinrich
^ permalink raw reply [flat|nested] 3+ messages in thread
* [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
2019-03-11 2:11 [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 Heinrich Schuchardt
@ 2019-03-11 3:17 ` Bin Meng
2019-03-18 19:33 ` Heinrich Schuchardt
0 siblings, 1 reply; 3+ messages in thread
From: Bin Meng @ 2019-03-11 3:17 UTC (permalink / raw)
To: u-boot
HI Heinrich,
On Mon, Mar 11, 2019 at 10:11 AM Heinrich Schuchardt <xypron.glpk@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
^ permalink raw reply [flat|nested] 3+ messages in thread
* [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
2019-03-11 3:17 ` Bin Meng
@ 2019-03-18 19:33 ` Heinrich Schuchardt
0 siblings, 0 replies; 3+ messages in thread
From: Heinrich Schuchardt @ 2019-03-18 19:33 UTC (permalink / raw)
To: u-boot
On 3/11/19 4:17 AM, Bin Meng wrote:
> HI Heinrich,
>
> On Mon, Mar 11, 2019 at 10:11 AM Heinrich Schuchardt <xypron.glpk@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
>
Hello Bin,
we pass a pointer to a 32bit address in efi_allocate_pool() where a
pointer to a 64bit address is expected. Cf.
[PATCH 1/1] efi_loader: correct parameter size in efi_allocate_pool
https://lists.denx.de/pipermail/u-boot/2019-March/362128.html
Best regards
Heinrich
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-03-18 19:33 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-11 2:11 [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 Heinrich Schuchardt
2019-03-11 3:17 ` Bin Meng
2019-03-18 19:33 ` Heinrich Schuchardt
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.