iotop: Disable lto with clang for rv32
PATCH 1/1 iotop: Disable lto with clang for rv32
clang/rv32 is mixing ABIs because defaults are ilp32d for OE but when LTO is used it pulls in ilp32 internally so disable lto for now.
Signed-off-by Khem Raj <[email protected]>
--- meta-oe/recipes-extended/iotop/iotop_1.20.bb | 1 + 1 file changed, 1 insertion(+)
meta-oe/recipes-extended/iotop/iotop_1.20.bb +1 -0
@@ -13,6 +13,7 @@ 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" +EXTRA_OEMAKE:append:toolchain-clang:riscv32 = " NO_FLTO=1" # Workaround BFD linker crash with clang on arm # revisit when upgrading binutils and see if its fixed
Signature · 1 line
2.35.1