Fatal error on Prework (for Bazel) step
crojas119 opened this issue · 4 comments
crojas119 commented
ksteuck commented
<compare>
is a C++20 header so it looks like a possible compiler misconfiguration. Are you running inside a Docker container or using the host system to build the code?
crojas119 commented
I'm using the host to build the code.
ksteuck commented
it must be the compiler version then. Make sure you have clang >= 16 (clang --version
). You can override the version Bazel uses by setting the $CC
envvar. HTH
crojas119 commented
Updating!
I change to Ubuntu 22.04 with kernel 6.2.0 and can build without issues.