Skip to content
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

Build failed #1506

Open
Shylock-Hg opened this issue Mar 26, 2024 · 3 comments
Open

Build failed #1506

Shylock-Hg opened this issue Mar 26, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@Shylock-Hg
Copy link

Shylock-Hg commented Mar 26, 2024

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

44caa99

Steps to reproduce

  1. 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

@Shylock-Hg Shylock-Hg added the bug Something isn't working label Mar 26, 2024
@jiacai2050
Copy link
Contributor

Or maybe any new c++ compiler.

Yes, rocksdb require a latest C++ compiler, gcc 8 or clang 16 should work.

@Shylock-Hg
Copy link
Author

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
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants