[PATCH] D104831: [clang] Add x86_64-redhat-linux-gnu as a platform triplet

Fangrui Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 23 19:17:04 PDT 2021


MaskRay added a comment.

> Adding the platform tripplet x86_64-redhat-linux-gnu the while list of supported x86_64 triplets so that it can be used with the --gcc-toolchain option to bypass this process and force-pick a given gcc install.

Did you set `--target=x86_64-redhat-linux-gnu`? With that I don't think you need another entry in `X86_64Triples`.

`X86_64Triples` and its friends are quite clumsy and many entries are not actually needed. We should shrink the lists.

For https://bugzilla.redhat.com/show_bug.cgi?id=1824365 I think the right fix is to configure clang with x86_64-redhat-linux-gnu as the default triple.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D104831



More information about the cfe-commits mailing list