mgorny added a comment. In https://reviews.llvm.org/D23754#580441, @chandlerc wrote:
> In https://reviews.llvm.org/D23754#580277, @mgorny wrote: > > > The difference is that LLVMgold.so is not used by LLVM or clang directly > > but by the system binutils, and so it must match the ABI of the linker. If > > you have 32-bit libclang*, LLVM_LIBDIR_SUFFIX is 32 but ld is still a > > 64-bit executable that needs 64-bit LLVMgold.so. > > > But how does that work? The LLVM libraries linked into LLVMgold.so can't be > 32-bit if it is loaded into a 64-bit binutils. Just to be clear, the suffix I'm talking about is used only in Driver to specify location of LLVMgold.so. The file is a part of a separate 64-bit install of LLVM (+ clang) which obviously has all the necessary 64-bit libraries. https://reviews.llvm.org/D23754 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits