<div dir="ltr"><div dir="ltr">On Wed, 15 Sept 2021 at 17:55, Tom Stellard via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I've submitted this patch[3], which turns off config.guess by default<br>
and tries to determine the host triple using the host compiler. Given<br>
all the different combinations for triples, I don't know if there is<br>
any better way to test this than to turn it off and wait for the bug<br>
reports.<br></blockquote><div><br></div><div>I think this is a good change and one that we should really work on, but I'm not sure compiler front-ends are a drop-in replacement for all variations.</div><div><br></div><div>Perhaps add the option and make it ON by default for now, which will still work for all current platforms, and add the possibility of turning guessing OFF and allowing those that aren't supported by out very old config.guess version to use the compiler.</div><div><br></div><div>Fixing the triple in the front-end isn't really trivial, there are a number of replacements on the triple until it hits the middle-end, so this may actually create problems that aren't easy to fix down the line.</div><div><br></div><div>Just like moving from automake to CMake, I think we need to do this slowly and changing buildbots until all are running the new format, then we change the default behaviour.</div><div><br></div><div>cheers,</div><div>--renato</div></div></div>