Open barracuda156 opened 6 months ago
@PingXie Can we close this, it seems like Neal fixed this?
@PingXie If you mean this https://github.com/valkey-io/valkey/commit/71dd85dc5a89a4e07d837efa14937990b01e317f then no, not yet.
uname -m
returns Power Macintosh on Darwin, not ppc
. The latter is a build arch, not machine type.
By the way, it should not be needed when building for ppc64
(any OS), but that patch seems to apply to either case on Linux.
If we do not mind redundant linking on ppc64
, then uname -p
returns powerpc
(or after all Power*Macintosh
can be checked for with uname -m
).
I see. I can't test the fix. @barracuda156 can you please help review #663?
Describe the bug
Nothing checks for support of 8-byte atomics in hardware. So linking to
libatomic
is not done where required.To reproduce
Build on ppc or arm.
Expected behavior
-latomic
should be passed when needed.Additional information