MaskRay added a comment.

Agree that Red Hat GCC switching to `x86_64-redhat-linux-gnu` is the best 
long-term approach.

> (Edit: @tstellar's approach to make LLVM get a x86_64-redhat-linux-gnu triple 
> avoids that problem, so that sounds good to me.)

Let the `config.guess` removal patch normalize  `x86_64-redhat-linux` to 
`x86_64-redhat-linux-gnu`? That sounds good to me.
If the patch will do the normalization, I think `-dumpmachine` patch will be 
unblocked.

We will need to keep `aarch64-redhat-linux` GCC installation detect in 
`clang/lib/Driver/ToolChains/Gnu.cpp` for an extended period, to be buildable 
with older GCC still using  `x86_64-redhat-linux`.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D111367

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to