From: Khem Raj <[email protected]> Clang needs 64-bit atomics on rv32 here and builtins does not have them so help it by linking with libatomic
Fixes riscv32-yoe-linux-musl-ld.lld: error: undefined symbol: __atomic_fetch_add_8 Signed-off-by: Khem Raj <[email protected]> (cherry picked from commit e3257c3360a732914ae02a07a7c0fe8c845a492f) Signed-off-by: Ankur Tyagi <[email protected]> --- meta-oe/recipes-support/fuse/fuse3_3.16.2.bb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta-oe/recipes-support/fuse/fuse3_3.16.2.bb b/meta-oe/recipes-support/fuse/fuse3_3.16.2.bb index 2747e6c8be..4fc94b4e52 100644 --- a/meta-oe/recipes-support/fuse/fuse3_3.16.2.bb +++ b/meta-oe/recipes-support/fuse/fuse3_3.16.2.bb @@ -25,6 +25,9 @@ CVE_PRODUCT = "fuse_project:fuse" inherit meson pkgconfig ptest +# fix riscv32-yoe-linux-musl-ld.lld: error: undefined symbol: __atomic_fetch_add_8 +LDFLAGS:append:toolchain-clang:riscv32 = " -latomic" + SRC_URI += " \ file://run-ptest \ file://fuse3.conf \
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#122532): https://lists.openembedded.org/g/openembedded-devel/message/122532 Mute This Topic: https://lists.openembedded.org/mt/116711314/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
