Skip to contentSkip to conversation

glog: Disable 64bit atomics on rv32

PATCH New Khem Raj 1 participant 1 message Mar 3, 2023

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 glog: Disable 64bit atomics on rv32

Fixes
riscv32-yoe-linux-ld: CMakeFiles/logging_unittest.dir/src/logging_unittest.cc.o: in function `no symbol':
/usr/include/c++/v1/vector:835: undefined reference to `__atomic_load_8'

---
 meta-oe/recipes-support/glog/glog_0.6.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-support/glog/glog_0.6.0.bb +1 -1
index 89b7cfd184..5d12ba6931 100644
@@ -20,7 +20,7 @@ inherit cmake
 
 PACKAGECONFIG ?= "shared unwind 64bit-atomics"
 PACKAGECONFIG:remove:riscv64 = "unwind"
-PACKAGECONFIG:remove:riscv32 = "unwind"
+PACKAGECONFIG:remove:riscv32 = "unwind 64bit-atomics"
 PACKAGECONFIG:remove:mipsarch = "64bit-atomics"
 
 PACKAGECONFIG:append:libc-musl:riscv64 = " execinfo"
Signature · 1 line
2.39.2