summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2025-11-30 11:22:24 -0800
committerKhem Raj <raj.khem@gmail.com>2025-11-30 20:21:12 -0800
commite3257c3360a732914ae02a07a7c0fe8c845a492f (patch)
tree971e287551ffdd6ad9443fa3a53e97f181f841de
parentc8d0737c7fd747b8ae6a0858e95b80d00c92cb76 (diff)
downloadmeta-openembedded-e3257c3360a732914ae02a07a7c0fe8c845a492f.tar.gz
fuse3: Fix build with clang on riscv32HEADmaster
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 <raj.khem@gmail.com>
-rw-r--r--meta-oe/recipes-support/fuse/fuse3_3.17.4.bb3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/fuse/fuse3_3.17.4.bb b/meta-oe/recipes-support/fuse/fuse3_3.17.4.bb
index 85991ff7be..fcd09059ab 100644
--- a/meta-oe/recipes-support/fuse/fuse3_3.17.4.bb
+++ b/meta-oe/recipes-support/fuse/fuse3_3.17.4.bb
@@ -25,6 +25,9 @@ CVE_PRODUCT = "fuse_project:fuse"
25 25
26inherit meson pkgconfig ptest 26inherit meson pkgconfig ptest
27 27
28# fix riscv32-yoe-linux-musl-ld.lld: error: undefined symbol: __atomic_fetch_add_8
29LDFLAGS:append:toolchain-clang:riscv32 = " -latomic"
30
28SRC_URI += " \ 31SRC_URI += " \
29 file://run-ptest \ 32 file://run-ptest \
30 file://fuse3.conf \ 33 file://fuse3.conf \