[MDEV-29875] Building RocksDB on aarch64 and riscv64 Created: 2022-10-26  Updated: 2023-08-17

Status: Open
Project: MariaDB Server
Component/s: Storage Engine - RocksDB
Affects Version/s: 10.3.36, 10.4.26, 10.5.17, 10.10.1, 10.6.10, 10.7.6, 10.8.5, 10.9.3, 10.11.0
Fix Version/s: None

Type: Bug Priority: Critical
Reporter: Brad Smith Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Environment:

OpenBSD


Issue Links:
Relates
relates to MDEV-30610 Update RocksDB to the latest upstream... Open

 Description   

Trying to build RocksDB on other little endian architectures I noticed this part in the CMake file..

#
# Also, disable on ARM64 when not Linux
# Requires submodule update to v6.16.3
# containing commit https://github.com/facebook/rocksdb/commit/ee4bd4780b321ddb5f92a0f4eb956f2a2ebd60dc
#

But looking at the commit history it looks like RocksDB was added and then has not been updated since.

To get RocksDB to build on riscv64 I needed..

Same also for aarch64. I also needed for aarch64..



 Comments   
Comment by Daniel Black [ 2022-10-26 ]

Yes, a quite a sad tale of the submodule getting behind that would fix numerous things.

An attempt was made recently to test an update but many new issues where introduced. I'm hoping those were roughly documented somewhere.

Comment by Brad Smith [ 2022-10-26 ]

These would also help for FreeBSD and NetBSD.

My desire is to try and push as much as I can back upstream, but in this case it seems like we're stuck. I'll have these commits in our tree as patches for the time being.

Generated at Thu Feb 08 10:11:57 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.