31 lines
1.0 KiB
Plaintext
31 lines
1.0 KiB
Plaintext
- Fix RocksDB SIGILL error on Raspberry PI 4
|
|
https://github.com/facebook/rocksdb/commit/29f7bbef995bdf83098963799c66af742e95373f
|
|
- Fix compilation on Apple Silicon
|
|
https://github.com/facebook/rocksdb/commit/ee4bd4780b321ddb5f92a0f4eb956f2a2ebd60dc
|
|
|
|
https://jira.mariadb.org/browse/MDEV-29875
|
|
|
|
Index: storage/rocksdb/rocksdb/util/crc32c_arm64.h
|
|
--- storage/rocksdb/rocksdb/util/crc32c_arm64.h.orig
|
|
+++ storage/rocksdb/rocksdb/util/crc32c_arm64.h
|
|
@@ -7,6 +7,7 @@
|
|
#define UTIL_CRC32C_ARM64_H
|
|
|
|
#include <cinttypes>
|
|
+#include <cstddef>
|
|
|
|
#if defined(__aarch64__) || defined(__AARCH64__)
|
|
|
|
@@ -33,8 +34,10 @@
|
|
PREF4X64L1(buffer, (PREF_OFFSET), 8) \
|
|
PREF4X64L1(buffer, (PREF_OFFSET), 12)
|
|
|
|
-extern uint32_t crc32c_arm64(uint32_t crc, unsigned char const *data, unsigned len);
|
|
+extern uint32_t crc32c_arm64(uint32_t crc, unsigned char const *data,
|
|
+ size_t len);
|
|
extern uint32_t crc32c_runtime_check(void);
|
|
+extern bool crc32c_pmull_runtime_check(void);
|
|
|
|
#ifdef __ARM_FEATURE_CRYPTO
|
|
#define HAVE_ARM64_CRYPTO
|