https://github.com/dpalermo approved this pull request. I have verified this fixes the issue with the llvm-flang build when the cmake flag is specified: -DFLANG_RUNTIME_F128_MATH_LIB=libquadmath https://github.com/llvm/llvm-project/pull/98072