arichardson planned changes to this revision. arichardson added a comment. In D100054#2675152 <https://reviews.llvm.org/D100054#2675152>, @joerg wrote:
> This sounds wrong. If you are using 'x86_64-freebsd' as triple and -m32, it > should still call 'x86_64-freebsd-ld', but it is the responsibility of the > driver to ensure that also the right set of linker flags are passed as well. > Compare `netbsd::Linker::ConstructJob` for one way to handle this. Good point. The real problem was that clang was passing the 64-bit asan runtime library to the linker, not so much that it tried to invoke the x86_64-prefixed linker. I'll see if I can limit this to the library paths. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D100054/new/ https://reviews.llvm.org/D100054 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits