
9 Nov
2021
9 Nov
'21
7:52 p.m.
On Tue, Nov 09, 2021 at 08:33:33PM +0200, Oleh Kravchenko wrote:
Hello guys!
I think the CI verification job for u-boot patches should be updated to include CFLAGS like -O0 Because I'm not able to build u-boot for Raspberry Pi (or to another board) with -O0
Here the commands how to quickly reprodice the problem: export ARCH=arm64 export CROSS_COMPILE=aarch64-linux-gnueabi- export KCFLAGS=-O0 make rpi_4_defconfig make -j$(nproc)
I've attached part of the build log to this email.
You can't build a functional U-Boot with optimization globally disabled, it's just not supported.
--
Tom