DanielCChen wrote: I can also reproduce the failure if I don't have `flang-rt` specified in `LLVM_ENABLE_RUNTIMES`. So I think the proper fix is to do bootstrap build for `flang-rt` and pull the change of PR #134362 . https://github.com/llvm/llvm-project/pull/134249