I am building LLVM in Ubuntu 22.04 LTS by following instructions from llvm-project/flang/docs/GettingStarted.md at main · llvm/llvm-project (github.com).
After using ninja command from Building flang in tree method, I am getting fatal error and the build stops.