diff options
| author | Khem Raj <raj.khem@gmail.com> | 2025-11-30 11:22:24 -0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2025-11-30 20:21:12 -0800 |
| commit | e3257c3360a732914ae02a07a7c0fe8c845a492f (patch) | |
| tree | 971e287551ffdd6ad9443fa3a53e97f181f841de | |
| parent | c8d0737c7fd747b8ae6a0858e95b80d00c92cb76 (diff) | |
| download | meta-openembedded-e3257c3360a732914ae02a07a7c0fe8c845a492f.tar.gz | |
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.bb | 3 |
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 | ||
| 26 | inherit meson pkgconfig ptest | 26 | inherit meson pkgconfig ptest |
| 27 | 27 | ||
| 28 | # fix riscv32-yoe-linux-musl-ld.lld: error: undefined symbol: __atomic_fetch_add_8 | ||
| 29 | LDFLAGS:append:toolchain-clang:riscv32 = " -latomic" | ||
| 30 | |||
| 28 | SRC_URI += " \ | 31 | SRC_URI += " \ |
| 29 | file://run-ptest \ | 32 | file://run-ptest \ |
| 30 | file://fuse3.conf \ | 33 | file://fuse3.conf \ |
