Add new redhat triple
cmaloney at tagged.com
Thu Jan 9 14:56:46 PST 2014
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
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.
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).
On Thu, Jan 9, 2014 at 1:40 PM, Rafael Espíndola <rafael.espindola at gmail.com
> On 9 January 2014 16:33, Cody Maloney <cmaloney at tagged.com> wrote:
> > GCC 4.8.2 on CentOS 6.4 at the very least uses the triple
> > x86_64-redhat-linux-gnu, which breaks the C++ header search
> That is odd. On fedora it is just x86_64-redhat-linux even with gcc 4.8.2.
> Can you add a testcase?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-commits