You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to build the latest TiKV master branch (e159200cb2458c3744ffbab9bbf284e71f03b866) on Fedora 38 but get the following errors on build RocksDB component when I run make release: https://pastebin.com/TEitt25v (sorry for the errors in Russian).
The default GCC in Fedora 38 is GCC 13.1.1. I suggest at least removing -Werror flag from the build scripts to avoid such errors in the future.
The text was updated successfully, but these errors were encountered:
I see there're many real errors aside from warnings being converted to errors. We don't currently have gcc-11 CI so the testing is quite lacking. You are welcome to fix those issues in https://github.com/tikv/rocksdb.
I also encountered the same compile problem on the latest Arch Linux with gcc-13. After some investigation and attempts, it turned out the fastest way to solve this is to install and use the old version gcc like gcc-9 to compile like:
CC=gcc-9 make
Just adding -Werror flag won't fix the build since there are a lot of other incompatible problems with the newer compiler. Hope this would help you.
Hi.
I am trying to build the latest TiKV master branch (
e159200cb2458c3744ffbab9bbf284e71f03b866
) on Fedora 38 but get the following errors on build RocksDB component when I runmake release
: https://pastebin.com/TEitt25v (sorry for the errors in Russian).The default GCC in Fedora 38 is GCC 13.1.1. I suggest at least removing
-Werror
flag from the build scripts to avoid such errors in the future.The text was updated successfully, but these errors were encountered: