Build failed
Closed this issue · 4 comments
Shylock-Hg commented
Describe this problem
/home/shylock/.cargo/git/checkouts/rust-rocksdb-a9a28e74c6ead8ef/f04f4dd/librocksdb_sys/rocksdb/db/db_impl/db_impl.cc:1353:23: error: redundant move in return statement [-Werror=redundant-move]
1353 | return std::move(io_s);
Server version
Steps to reproduce
- Build with
c (SUSE Linux) 13.2.1 20240206 [revision 67ac78caf31f7cb3202177e6428a46d829b70f23]
Copyright (C) 2023 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Or maybe any new c++ compiler.
Expected behavior
Build success.
Additional Information
No response
jiacai2050 commented
Or maybe any new c++ compiler.
Yes, rocksdb require a latest C++ compiler, gcc 8 or clang 16 should work.
Shylock-Hg commented
Or maybe any new c++ compiler.
Yes, rocksdb require a latest C++ compiler, gcc 8 or clang 16 should work.
My compiler is gcc-13.2.1
jiacai2050 commented
Your version seems too new, try downgrade, or you can try build rust-rocksdb directly
https://github.com/tikv/rust-rocksdb
if it works against latest commit, we can bump our dependency.
jiacai2050 commented
Rocksdb is not need any more, we switch to the in-house WAL based on local disk already, so this issue also disappear.