Files
valkey/ppc-atomic.patch
Martin Pluskal 8ae626508b - Update to 7.2.6:
- Bug Fixes - Core
    * Fix typo in REGISTER_API macro to prevent segfaults when loading Redis
    modules (#608)
    * Fix the command duration reset issue when clients are blocked and commands
    are reprocessed (#526)
    * Fix the data type conversion error in zrangeResultBeginStore (Redis#13148)
    * Fix a crash caused by quicklist node merges (Redis#13040)
    * Fix crashes in module blocking client timeout cases (Redis#13011)
    * Fix conversion of numbers in Lua args to Redis args
    (Redis#13115, Fixes Redis#13113)
    * Fix crash in LSET command when replacing small list items with larger ones,
    creating listpacks larger than 4GB (Redis#12955, Fixes Redis#12864)
    * Fix blocking command timeout reset issue during reprocessing (Redis#13004)
  - Bug Fixes - Cluster
    * Fix the CLUSTER SHARDS command to display accurate slot information even
    if a primary node fails (#790, Fixes #784)
    * Fix an issue where module authentication failed when the cluster was down
    (#693, Fixes #619)
    * Ensure only primary nodes with slots can mark another node as failed (#634)
    * Improve MEET command reliability under link failures to maintain cluster
    membership symmetry (#461)
    * Allow single primary node to mark potentially failed replica as FAIL in
    single-shard cluster (Redis#12824)
  - Bug Fixes - Sentinel
    * Accept redis-sentinel to start Valkey in sentinel mode (#731, Fixes #719)
  - Bug Fixes - CLI
    * Ensure the --count option in redis-cli works correctly even without
    --pattern (Redis#13092)
    * Fix redis-check-aof misidentifying data in manifest format as MP-AOF

OBS-URL: https://build.opensuse.org/package/show/server:database/valkey?expand=0&rev=13
2024-09-03 06:28:08 +00:00

33 lines
846 B
Diff

From eecfc29b3dc809e4481a74e570b98d6bfa03edaa Mon Sep 17 00:00:00 2001
From: Neal Gompa <neal@gompa.dev>
Date: Thu, 6 Jun 2024 16:07:37 -0400
Subject: [PATCH] src/Makefile: Link libatomic on POWER systems
This ensures that fallbacks for unsupported atomic operations
are available for POWER systems.
Signed-off-by: Neal Gompa <neal@gompa.dev>
---
src/Makefile | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/Makefile b/src/Makefile
index 6defebed8..302ad06b8 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -150,6 +150,11 @@ DEBUG=-g -ggdb
# Linux ARM32 needs -latomic at linking time
ifneq (,$(findstring armv,$(uname_M)))
FINAL_LIBS+=-latomic
+else
+# Linux POWER needs -latomic at linking time
+ifneq (,$(findstring ppc,$(uname_M)))
+ FINAL_LIBS+=-latomic
+endif
endif
ifeq ($(uname_S),SunOS)
--
2.45.1