From 553f769c961ca567a68ac98a5262d84a95eca596 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Thu, 22 May 2025 20:52:46 -0700 Subject: [PATCH] systemd-boot: Pin to use gcc toolchain on arm clang does not support -mgeneral-regs-only option for arm Cc: Ross Burton Signed-off-by: Khem Raj Signed-off-by: Mathieu Dubois-Briand Signed-off-by: Richard Purdie --- meta/recipes-core/systemd/systemd-boot_257.5.bb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta/recipes-core/systemd/systemd-boot_257.5.bb b/meta/recipes-core/systemd/systemd-boot_257.5.bb index 151e4a95373..c6c443f929f 100644 --- a/meta/recipes-core/systemd/systemd-boot_257.5.bb +++ b/meta/recipes-core/systemd/systemd-boot_257.5.bb @@ -54,6 +54,9 @@ TUNE_CCARGS:remove = "-mfpmath=sse" CFLAGS:append:libc-musl = " -D__DEFINED_wchar_t" +# arm-poky-linux-musleabi-clang: error: unsupported option '-mgeneral-regs-only' for target 'arm-poky-linux-musleabi' +TOOLCHAIN:arm = "gcc" + COMPATIBLE_HOST = "(aarch64.*|arm.*|x86_64.*|i.86.*|riscv.*)-linux" COMPATIBLE_HOST:x86-x32 = "null" -- 2.47.3