Re: [U-Boot] U-boot UBI breaks build with -O0

2015-09-17 Thread Heiko Schocher
Hello Kevin, Am 16.09.2015 um 22:58 schrieb Kevin Smith: Some of the debug functions for UBI are preprocessed out for U-boot (ifndef __UBOOT__), but their calls are optimized out at higher optimization levels, so this does not cause a problem. When building with -O0, the linker gives an error:

[U-Boot] U-boot UBI breaks build with -O0

2015-09-16 Thread Kevin Smith
Some of the debug functions for UBI are preprocessed out for U-boot (ifndef __UBOOT__), but their calls are optimized out at higher optimization levels, so this does not cause a problem. When building with -O0, the linker gives an error: fs/ubifs/io.c:162: undefined reference to