When compiling Cmake-3.26.0 with FEATURES=test, two tests fail, the compilertest as well as the dependencygraph test. Reason as shown in the build log is that the test runs gfortran which does not understand -rtlib=compiler-rt from the LLVM system profile / clang as system compiler. Dependency graph fails out of the same issue. Reproducible: Always Steps to Reproduce: 1. Set profile to LLVM 2. Enable test for cmake 3. Emerge cmake Actual Results: 2 out of 608 test fail Expected Results: All tests should pass Potential solution is enforcing cmake compilation via gcc or switching off tests. Better would be an enforcing of clearing of the CFLAGS before the tests are run, especially when it comes to gfortran.
Created attachment 858147 [details] Emerge --info
Created attachment 858149 [details] Build.log showing the test failures
Issue is not present with dev-util/cmake-3.26.4-r1