From: Angelo Dureghello Date: Tue, 7 Feb 2023 22:45:03 +0000 (+0100) Subject: arch: enable private libgcc for m68k X-Git-Tag: baikal/mips/sdk5.8.2~5^2~19^2~5 X-Git-Url: https://git.baikalelectronics.ru/sdk/?a=commitdiff_plain;h=76ccb56721e63d5a8edeafdf0f1664bc3c054292;p=uboot.git arch: enable private libgcc for m68k This patch fixes u-boot hanging on the first printf("%x", val). Some toolchains built without multilib enabled may produce u-boot freezing on first u64 shift operation, as in lib/vsprintf.c number() function. Using our private libgcc solves the issue. Setting private libgcc enabled at architecture level to avoid similar issues, it should not harm. Signed-off-by: Angelo Durgehello --- diff --git a/arch/Kconfig b/arch/Kconfig index d30676ae81..55b9a5eb8a 100644 --- a/arch/Kconfig +++ b/arch/Kconfig @@ -67,6 +67,7 @@ config ARM config M68K bool "M68000 architecture" select HAVE_PRIVATE_LIBGCC + select USE_PRIVATE_LIBGCC select NEEDS_MANUAL_RELOC select SYS_BOOT_GET_CMDLINE select SYS_BOOT_GET_KBD