* [meta-oe][PATCH 1/2] abseil-cpp: Link with libatomic on riscv32
@ 2025-08-21 7:13 Khem Raj
2025-08-21 7:13 ` [meta-oe][PATCH 2/2] re2: " Khem Raj
0 siblings, 1 reply; 2+ messages in thread
From: Khem Raj @ 2025-08-21 7:13 UTC (permalink / raw)
To: openembedded-devel; +Cc: Khem Raj
64-bit builtins for atomics are not provided by compiler
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
meta-oe/recipes-devtools/abseil-cpp/abseil-cpp_20250512.1.bb | 3 +++
1 file changed, 3 insertions(+)
diff --git a/meta-oe/recipes-devtools/abseil-cpp/abseil-cpp_20250512.1.bb b/meta-oe/recipes-devtools/abseil-cpp/abseil-cpp_20250512.1.bb
index 4afbba963a..d4e616a733 100644
--- a/meta-oe/recipes-devtools/abseil-cpp/abseil-cpp_20250512.1.bb
+++ b/meta-oe/recipes-devtools/abseil-cpp/abseil-cpp_20250512.1.bb
@@ -21,6 +21,9 @@ EXTRA_OECMAKE = "-DBUILD_SHARED_LIBS=ON \
-DBUILD_TESTING=OFF \
-DABSL_ENABLE_INSTALL=ON \
"
+# riscv32-yoe-linux-ld.lld: error: undefined reference: __atomic_store_8
+# >>> referenced by <recipe-sysroot>/usr/lib/libabsl_flags_internal.so.2505.0.0 (disallowed by --no-allow-shlib-undefined)
+LDFLAGS:append:riscv32 = " -latomic"
SYSROOT_DIRS:append:class-nativesdk:mingw32 = " ${bindir}"
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [meta-oe][PATCH 2/2] re2: Link with libatomic on riscv32
2025-08-21 7:13 [meta-oe][PATCH 1/2] abseil-cpp: Link with libatomic on riscv32 Khem Raj
@ 2025-08-21 7:13 ` Khem Raj
0 siblings, 0 replies; 2+ messages in thread
From: Khem Raj @ 2025-08-21 7:13 UTC (permalink / raw)
To: openembedded-devel; +Cc: Khem Raj
64-bit builtins for atomics are not provided by compiler
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
meta-oe/recipes-support/re2/re2_2024.03.01.bb | 3 +++
1 file changed, 3 insertions(+)
diff --git a/meta-oe/recipes-support/re2/re2_2024.03.01.bb b/meta-oe/recipes-support/re2/re2_2024.03.01.bb
index 55a834fa42..5b7b241a25 100644
--- a/meta-oe/recipes-support/re2/re2_2024.03.01.bb
+++ b/meta-oe/recipes-support/re2/re2_2024.03.01.bb
@@ -20,6 +20,9 @@ EXTRA_OECMAKE += " \
-DBUILD_SHARED_LIBS=ON \
${@bb.utils.contains('PTEST_ENABLED', '1', '-DRE2_BUILD_TESTING=ON', '-DRE2_BUILD_TESTING=OFF', d)} \
"
+# | riscv32-yoe-linux-ld.lld: error: undefined reference: __atomic_load_8
+# | >>> referenced by libtesting.so (disallowed by --no-allow-shlib-undefined)
+LDFLAGS:append:riscv32 = " -latomic"
do_install_ptest () {
cp -r ${B}/*_test ${D}${PTEST_PATH}
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-08-21 7:13 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-21 7:13 [meta-oe][PATCH 1/2] abseil-cpp: Link with libatomic on riscv32 Khem Raj
2025-08-21 7:13 ` [meta-oe][PATCH 2/2] re2: " Khem Raj
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).