kumquat-buildroot/boot
Andreas Hilse 7cb51d4843 boot/grub2: workaround breakage with -O2, -O3 build
When grub2 (i386-pc) is built with -O2 or -O3 it is unable to boot
and the system will reboot in a loop.

Tony Battersby has bisected [0] the error down to this security bugfix:
boot/grub2/0132-kern-parser-Fix-a-stack-buffer-overflow.patch
There is also a bug report by Peter Seiderer about this [1].

As discussed on the mailing list [2], this patch introduces a workaround
in the grub2.mk overriding the global optimization settings with -Os
which results in a booting system.

References:
[0] https://savannah.gnu.org/bugs/?60458
[1] https://bugs.busybox.net/show_bug.cgi?id=13586
[2] http://lists.busybox.net/pipermail/buildroot/2021-May/311524.html

Signed-off-by: Andreas Hilse <andreas.hilse@googlemail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2021-06-30 23:37:01 +02:00
..
afboot-stm32 boot/afboot-stm32: fix build with gcc 10 2020-09-10 20:26:27 +02:00
arm-trusted-firmware boot/arm-trusted-firmware: fix coding-style 2021-06-26 22:17:07 +02:00
at91bootstrap boot/at91bootstrap: add legal information 2021-04-20 23:00:55 +02:00
at91bootstrap3 boot/at91bootstrap3: move BR2_TARGET_AT91BOOTSTRAP3_NEEDS_PYTHON3 2021-05-19 14:34:58 +02:00
at91dataflashboot
barebox boot/barebox: bump version to 2021.01.0 2021-02-23 13:43:32 +01:00
beaglev-ddrinit boot/beaglev-ddrinit: update to include upstream fixes 2021-06-06 09:25:10 +02:00
beaglev-secondboot boot/beaglev-secondboot: update to include upstream fixes 2021-06-06 09:25:07 +02:00
binaries-marvell
boot-wrapper-aarch64 boot/boot-wrapper-aarch64: bump version 2021-01-02 18:42:57 +01:00
edk2 boot/edk2: add EDK2_CPE_ID_VENDOR 2021-06-12 23:15:47 +02:00
grub2 boot/grub2: workaround breakage with -O2, -O3 build 2021-06-30 23:37:01 +02:00
gummiboot
lpc32xxcdl boot/lpc32xxcdl: switch upstream location 2020-12-29 18:11:49 +01:00
mv-ddr-marvell boot/mv-ddr-marvell: Bump to HEAD as of 20201207 2020-12-30 10:29:05 +01:00
mxs-bootlets
opensbi boot/opensbi: only check/reference COPYING.BSD when _LATEST_VERSION is used 2021-05-13 09:48:32 +02:00
optee-os boot/optee-os: bump to version 3.12.0 2021-03-06 23:32:37 +01:00
s500-bootloader
shim boot/shim: re-enable on ARM32 2021-04-06 11:46:09 +02:00
syslinux boot/syslinux: fix gcc-10.x compile 2021-03-20 23:01:38 +01:00
uboot boot/uboot: fix uboot building host tools on x86 architecture 2021-06-30 22:45:18 +02:00
vexpress-firmware support/download: change format of archives generated from git 2021-01-10 22:06:58 +01:00
common.mk
Config.in boot/edk2: new package 2021-05-17 16:52:33 +02:00