[PATCH] D52050: [Driver] Fix architecture triplets and search paths for Linux x32

John Paul Adrian Glaubitz via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Dec 2 09:10:50 PST 2020


glaubitz added a comment.

In D52050#2428709 <https://reviews.llvm.org/D52050#2428709>, @hvdijk wrote:

> `sys::getDefaultTargetTriple()` defaults to `LLVM_DEFAULT_TARGET_TRIPLE`, which in turn defaults to `LLVM_HOST_TRIPLE`, which in turn defaults to `LLVM_INFERRED_HOST_TRIPLE`, which calls `config.guess` which never automatically detects X32. Sorry, forgot to mention that on my system, I also make sure to explicitly specify `LLVM_HOST_TRIPLE` to an X32 triple when building LLVM.

Hmm, I was pretty sure that autoconf can deal with x32 inside an x32 chroot.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D52050/new/

https://reviews.llvm.org/D52050



More information about the cfe-commits mailing list