<div dir="ltr"><div>Where / how should I add a test? (Browsing through the existing tests I don't see one which looks like the right place to add another triple and go).</div><div><br></div><div>It's possible this has a little to do with how the particular GCC package was built but that is using a standard RPM spec file just updated for 4.8.2, so I suspect others might come across this and wonder why no c++ headers are found.</div>
<div><br></div><div>Is there any particular reason why the installation detection triple finding code uses an explicit white-list (And then possibly a great many stat call than doing a directory walk and then filter / scan for critical attributes? It seems like that would make it more likely LLVM find something compatible and try to just work if possible (even in the presence of new triples). Since triples follow a fairly standard structure, it seems like a lot of the LLVM triple parsing code could just be used to match the provided architecture triple (rather than explicit whitelist).</div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jan 9, 2014 at 1:40 PM, Rafael Espíndola <span dir="ltr"><<a href="mailto:rafael.espindola@gmail.com" target="_blank">rafael.espindola@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 9 January 2014 16:33, Cody Maloney <<a href="mailto:cmaloney@tagged.com">cmaloney@tagged.com</a>> wrote:<br>

> GCC 4.8.2 on CentOS 6.4 at the very least uses the triple<br>
> x86_64-redhat-linux-gnu, which breaks the C++ header search<br>
><br>
<br>
</div>That is odd. On fedora it is just x86_64-redhat-linux even with gcc 4.8.2.<br>
<br>
Can you add a testcase?<br>
<br>
Cheers,<br>
Rafael<br>
</blockquote></div><br></div>