hvdijk added a comment. I am building with
cmake -G Ninja ../llvm -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_PROJECTS='clang;libcxx;libcxxabi' -DLLVM_HOST_TRIPLE=x86_64-pc-linux-gnux32 -DBUILD_SHARED_LIBS=ON -DLLVM_LIBDIR_SUFFIX=x32 -DLLVM_ENABLE_RTTI=ON -DLLVM_BUILD_TESTS=ON -DLLVM_TARGETS_TO_BUILD=X86 and testing the resulting clang with simple programs, not yet to build clang again, but the error you are getting suggests that not even simple programs would work. The lack of -DLLVM_HOST_TRIPLE=x86_64-pc-linux-gnux32 in your command line is again suspicious and the fact that I did include that may have avoided the problem you are seeing for me; I will test leaving that out when I finish other tests. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D52050/new/ https://reviews.llvm.org/D52050 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits