From ec2cfccc2a4f3141a80ba1cf3b439f06b39c470a Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Tue, 18 Jan 2022 14:39:30 -0800 Subject: iotop: Use lld with clang on arm BFD linker is crashing when using clang, workaround it by always using lld when using clang on arm Signed-off-by: Khem Raj --- meta-oe/recipes-extended/iotop/iotop_1.20.bb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'meta-oe') diff --git a/meta-oe/recipes-extended/iotop/iotop_1.20.bb b/meta-oe/recipes-extended/iotop/iotop_1.20.bb index 17c567095b..b05c8cd35d 100644 --- a/meta-oe/recipes-extended/iotop/iotop_1.20.bb +++ b/meta-oe/recipes-extended/iotop/iotop_1.20.bb @@ -12,6 +12,10 @@ inherit pkgconfig EXTRA_OEMAKE = "V=1 STRIP=true" +# Workaround BFD linker crash with clang on arm +# revisit when upgrading binutils and see if its fixed +LDFLAGS:append:toolchain-clang:arm = " -fuse-ld=lld" + do_install() { oe_runmake install DESTDIR=${D} } -- cgit 1.2.3-korg