[PATCH] D27362: [Triple] Support parsing Gentoo ARM triples, with hardfloat in vendor

Renato Golin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 2 13:20:53 PST 2016


rengolin added a comment.

In https://reviews.llvm.org/D27362#612200, @mgorny wrote:

> Just in case, I'm not particularly attached to it. Just walking in the dark trying to figure out some clean way forward.
>
> Neither do I support those crazy ideas some Gentoo developers had in the past but I doubt there is a clean way of changing that without throwing interim breakage on people.


Been there...

So, this one is complicated. IIRC, there are other cases where the environment swaps with vendor, and there's some normalisation that happens because of that. I can't remember exactly which one, but there's probably a comment on that file explaining the madness.

If we could make that an environment and swap like it's done, it would be **much** better. But I don't know if we can then normalise to, say, "arm-linux-hardfloat-gnueabi", which can cause problems, for example, when searching for the linker.

Saleem has a lot more experience with crazy triples than I have, so I'll leave him have a more informed opinion.

cheers,
--renato


https://reviews.llvm.org/D27362





More information about the llvm-commits mailing list