You can now build mold with the following commands: $ mkdir -p out/debug $ cd out/debug $ cmake -GNinja -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_BUILD_TYPE=Debug ../.. $ ninja To run tests, use the following commands: $ cd out/debug $ ctest -j$(nproc)
This bug caused a test failure of Gentoo's dev-lang/go-1.16.4 paackage. Specifically, `go tool dist test testshared` failed due to this bug.