U-boot is broken with -O0?

Oleh Kravchenko oleg at kaa.org.ua
Tue Nov 9 19:33:33 CET 2021


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.

P.S.:
Sorry if I've added you to CC by mistake.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: build.log
Type: text/x-log
Size: 10067 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20211109/ca6cb1fe/attachment.bin>


More information about the U-Boot mailing list