MaskRay added a comment. > You mean when you build runtimes with the host compiler and then use them > with Clang (i.e. by using -DLLVM_ENABLE_PROJECTS="clang;lld;libcx")? This has > been discussed several times on llvm-dev in the past, ideally nobody should > be using this mode because there's no guarantee that the host compiler is ABI > compatible with Clang. Unfortunately, I believe that some projects still > build that way and it might take a while to migrate them to another approach.
I think many groups will object to disallowing `LLVM_ENABLE_PROJECTS` for libcxx/libcxxabi/libunwind. They can not be unsupported anytime soon. For example, one step of a msan build uses `-DLLVM_ENABLE_PROJECTS='libcxx;libcxxabi'`. >> My previous comment has been edited. I believe by making Debian derivatives >> stick with *-linux-gnu, we can actually remove more code from the driver. > > Can you elaborate on it? What solution do you have in mind? See updated https://reviews.llvm.org/D110663#3029138 Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D110663/new/ https://reviews.llvm.org/D110663 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits