]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
pogo_v4: Disable LTO
authorTom Rini <trini@konsulko.com>
Tue, 22 Nov 2022 17:31:57 +0000 (12:31 -0500)
committerTom Rini <trini@konsulko.com>
Tue, 6 Dec 2022 20:30:30 +0000 (15:30 -0500)
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 <mibodhi@gmail.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
configs/pogo_v4_defconfig

index 018c2f50331f9a6409a3e63a95267d33dad54941..57ec6f1fb630e508dddd54c15962854476a2da76 100644 (file)
@@ -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