From 1bc0fc538146070dc9d9cefce8aa6e9649b4ffcc Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Mon, 24 Jan 2022 10:32:44 -0800 Subject: [PATCH] iotop: Disable LTO with clang/rv64 LTO with clang does not configure correctly yet with meta-clang Signed-off-by: Khem Raj --- meta-oe/recipes-extended/iotop/iotop_1.20.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta-oe/recipes-extended/iotop/iotop_1.20.bb b/meta-oe/recipes-extended/iotop/iotop_1.20.bb index b05c8cd35d..a044c9b248 100644 --- a/meta-oe/recipes-extended/iotop/iotop_1.20.bb +++ b/meta-oe/recipes-extended/iotop/iotop_1.20.bb @@ -11,6 +11,8 @@ UPSTREAM_CHECK_URI = "https://github.com/Tomas-M/iotop/releases" inherit pkgconfig EXTRA_OEMAKE = "V=1 STRIP=true" +# Fixes llvm-bc70b5.o: can't link soft-float modules with double-float modules +EXTRA_OEMAKE:append:toolchain-clang:riscv64 = " NO_FLTO=1" # Workaround BFD linker crash with clang on arm # revisit when upgrading binutils and see if its fixed