mstorsjo added a comment. In D126291#3555805 <https://reviews.llvm.org/D126291#3555805>, @awarzynski wrote:
> Like @rovka pointed out, skipping `CLANG_DEFAULT_RTLIB` should solve your > issue with missing libs Skipping that woulnd't help/work in the clang64 environment in msys2; there's no libgcc there but it's expected to use compiler-rt in general. The preexisting systemwide corresponding files do exist in `/clang64/lib/clang/14.0.0`, but your toolchain would want similar ones in `<yourtoolchain>/lib/clang/15.0.0`. For testing, just copy over the clang/<version>/lib directory to your testroot. Adding compiler-rt to `LLVM_ENABLE_RUNTIMES` might fix it properly, but at least personally, I build compiler-rt in a separate step afterwards (and I think msys2 builds it in that way too). CHANGES SINCE LAST ACTION https://reviews.llvm.org/D126291/new/ https://reviews.llvm.org/D126291 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits