]> code.ossystems Code Review - openembedded-core.git/commit
lto.inc: disable LTO for grub
authorTony Battersby <tonyb@cybernetics.com>
Tue, 27 Jul 2021 13:35:25 +0000 (09:35 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 5 Aug 2021 16:48:12 +0000 (17:48 +0100)
commitd1fd3693411d83214f0f88b2f9d7aef12ecd6e02
tree97e84b6b84ff836a9f3b688fcab3b8cfbd23a752
parent8921f2acfd566d2c03cea7bdb9f0b1883994148b
lto.inc: disable LTO for grub

With gcc 11.1, compiling grub with LTO causes an internal compiler error
(ICE), and with gcc 10.2, files under /usr/lib/grub/i386-pc/*.mod are not
binary reproducible.

[YOCTO #14490] (gcc 11.1 ICE)
[YOCTO #14481] (LTO and binary reproducibility)

Signed-off-by: Tony Battersby <tonyb@cybernetics.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/conf/distro/include/lto.inc