See https://github.com/facebook/rocksdb/issues/11157 Workaround: build using clang and libc++ user.bazel ``` build --repo_env=CC=clang --linkopt=-fuse-ld=lld build --repo_env='BAZEL_CXXOPTS=-std=c++17:-stdlib=libc++' build --repo_env='BAZEL_LINKLIBS=-lc++:-lm' ```