From: Tom Rini Date: Tue, 22 Nov 2022 17:31:57 +0000 (-0500) Subject: pogo_v4: Disable LTO X-Git-Tag: v2025.01-rc5-pxa1908~1158^2~13^2~1 X-Git-Url: http://git.dujemihanovic.xyz/%22/img/sics.gif/%22/static/git-favicon.png?a=commitdiff_plain;h=6caf6f5c83db773c068a5ad1042290c0a5f5bcc8;p=u-boot.git pogo_v4: Disable LTO With gcc-12.2 we now get: lib/zlib/inflate.c:360: undefined reference to `__gnu_thumb1_case_si' when building this platform. This seems like some odd problem with LTO and Thumb, but since the platform continues to link, I assume it's within size constraints, so lets just disable LTO for now. Cc: Tony Dinh Signed-off-by: Tom Rini Reviewed-by: Simon Glass --- diff --git a/configs/pogo_v4_defconfig b/configs/pogo_v4_defconfig index 018c2f5033..57ec6f1fb6 100644 --- a/configs/pogo_v4_defconfig +++ b/configs/pogo_v4_defconfig @@ -17,7 +17,6 @@ CONFIG_DEFAULT_DEVICE_TREE="kirkwood-pogoplug-series-4" CONFIG_SYS_PROMPT="Pogo_V4> " CONFIG_IDENT_STRING="\nPogoplug V4" CONFIG_SYS_LOAD_ADDR=0x800000 -CONFIG_LTO=y CONFIG_DISTRO_DEFAULTS=y CONFIG_HAS_CUSTOM_SYS_INIT_SP_ADDR=y CONFIG_CUSTOM_SYS_INIT_SP_ADDR=0xc8012000