google / silifuzz

Apache License 2.0
391 stars 25 forks source link

Fatal error on Prework (for Bazel) step #11

Closed crojas119 closed 8 months ago

crojas119 commented 9 months ago

Hello! I would like to know if this is a real error or something I'm missing during the setup. A few weeks ago I was able to installed in same config with no issues and now is showing the error shown in the image attached when trying to execute the bazel build command.

OS i'm using is: Ubuntu 20.04

Silifuzz-error

ksteuck commented 9 months ago

<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 9 months ago

I'm using the host to build the code.

ksteuck commented 9 months ago

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 8 months ago

Updating! I change to Ubuntu 22.04 with kernel 6.2.0 and can build without issues.