[LLVMdev] [cfe-dev] [PATCH] triples for baremetal

Joerg Sonnenberger joerg at britannica.bec.de
Mon Jun 23 08:27:54 PDT 2014


On Mon, Jun 23, 2014 at 03:31:55PM +0100, David Chisnall wrote:
> On 23 Jun 2014, at 15:13, Renato Golin <renato.golin at linaro.org> wrote:
> 
> > The main issue with your patch is that it can change user expected
> > behaviour, and I can't tell you what is the expected behaviour in
> > Darwin or BSD. If people usually use "unknown" in triples, this will
> > break their builds. If not, this could break the build of someone who
> > does.
> 
> I think (Hat: FreeBSD) we only expect to see unknown in the vendor
> field (e.g. i386-unknown-freebsd).  If the OS field is unknown, rather
> than freebsd, then it's not one of ours and we aren't likely to care.
> I don't really like the way that we conflate OS with ABI, but then
> I don't really like anything about triples...

Except that last rant, I agree with s/FreeBSD/NetBSD.

Joerg



More information about the llvm-dev mailing list