-
Notifications
You must be signed in to change notification settings - Fork 3.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
c-deps: bump RocksDB from 5.13 to 5.17.2 #32931
Conversation
@benesch Disabling rtti everywhere might be a small size / perf win. I didn't pull hard on the |
Ack. We should ditch cryptopp anyway. We can’t upgrade it because they dropped support for CMake builds in the next version, and their non-CMake build system doesn’t support out of tree builds. |
What would replace it? |
OpenSSL/LibreSSL would be my pick.
…On Fri, Dec 7, 2018 at 10:14 AM Peter Mattis ***@***.***> wrote:
We should ditch cryptopp anyway.
What would replace it?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#32931 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AA15IEMRFE1sA8qi8cfkFKTujoTKSazsks5u2oXZgaJpZM4ZImA6>
.
|
Pass `USE_RTTI=1` to the RocksDB build. 5.13 was built with rtti enabled (there was no way to disable it), but 5.17.2 defaults to disabling rtti. Unfortunately, the rest of our C++ dependencies build with rtti enabled and C++ requires consistently specifying `-fno-rtti` for all compilation, otherwise you get strange `undefined reference to typeinfo` errors at link time. At least one of our C++ dependencies (cryptopp) does not allow easily disabling usage of rtti. Verified that the `RocksDBDeleteRangeIterate` benchmark was unchanged which indicates the RocksDB delete range patches are in effect. Release note: None
a6e96b2
to
819183f
Compare
bors r=benesch |
32931: c-deps: bump RocksDB from 5.13 to 5.17.2 r=benesch a=petermattis Pass `USE_RTTI=1` to the RocksDB build. 5.13 was built with rtti enabled (there was no way to disable it), but 5.17.2 defaults to disabling rtti. Unfortunately, the rest of our C++ dependencies build with rtti enabled and C++ requires consistently specifying `-fno-rtti` for all compilation, otherwise you get strange `undefined reference to typeinfo` errors at link time. At least one of our C++ dependencies (cryptopp) does not allow easily disabling usage of rtti. Verified that the `RocksDBDeleteRangeIterate` benchmark was unchanged which indicates the RocksDB delete range patches are in effect. Release note: None Co-authored-by: Peter Mattis <[email protected]>
Build succeeded |
Pass
USE_RTTI=1
to the RocksDB build. 5.13 was built with rttienabled (there was no way to disable it), but 5.17.2 defaults to
disabling rtti. Unfortunately, the rest of our C++ dependencies build
with rtti enabled and C++ requires consistently specifying
-fno-rtti
for all compilation, otherwise you get strange
undefined reference to typeinfo
errors at link time. At least one of our C++dependencies (cryptopp) does not allow easily disabling usage of rtti.
Verified that the
RocksDBDeleteRangeIterate
benchmark was unchangedwhich indicates the RocksDB delete range patches are in effect.
Release note: None