diff options
author | Tony Battersby <tonyb@cybernetics.com> | 2021-07-27 09:35:25 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-08-05 17:48:29 +0100 |
commit | a7762efa03b9113f039c682eb066a623ca02ebb1 (patch) | |
tree | f49bfea89d0057f3fecbf2af5cbf4d1eab1148a6 /meta/conf | |
parent | 671b49e077b11d28a16122c5847a6638957fe2d4 (diff) | |
download | poky-a7762efa03b9113f039c682eb066a623ca02ebb1.tar.gz |
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)
(From OE-Core rev: d1fd3693411d83214f0f88b2f9d7aef12ecd6e02)
Signed-off-by: Tony Battersby <tonyb@cybernetics.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf')
-rw-r--r-- | meta/conf/distro/include/lto.inc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/conf/distro/include/lto.inc b/meta/conf/distro/include/lto.inc index 79818ac09f..b8193725a1 100644 --- a/meta/conf/distro/include/lto.inc +++ b/meta/conf/distro/include/lto.inc | |||
@@ -22,6 +22,8 @@ LTO:pn-perf = "" | |||
22 | # webkit is not linking properly with LTO, disable until next time | 22 | # webkit is not linking properly with LTO, disable until next time |
23 | LTO:pn-webkitgtk = "" | 23 | LTO:pn-webkitgtk = "" |
24 | LTO:pn-xserver-xorg = "" | 24 | LTO:pn-xserver-xorg = "" |
25 | LTO:pn-grub = "" | ||
26 | LTO:pn-grub-efi = "" | ||
25 | 27 | ||
26 | # Custom LTO flags | 28 | # Custom LTO flags |
27 | # disable partitioning/streaming algorithm since its uses ASM | 29 | # disable partitioning/streaming algorithm since its uses ASM |