Skip to content

Commit

Permalink
glog: Disable 64bit atomics on rv32
Browse files Browse the repository at this point in the history
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'

Signed-off-by: Khem Raj <[email protected]>
  • Loading branch information
kraj committed Mar 4, 2023
1 parent 15aa347 commit 7da9aaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion meta-oe/recipes-support/glog/glog_0.6.0.bb
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 7da9aaa

Please sign in to comment.