[PATCH 21/25] GCN Back-end (part 2/2).
Joseph Myers
joseph@codesourcery.com
Wed Sep 12 16:50:00 GMT 2018
On Wed, 12 Sep 2018, Andrew Stubbs wrote:
> > What if the host is x86_64 with the x32 ABI? If the requirement is for
> > various types to be the same between the host and GCN, I'd expect that x32
> > ABI on the host means it is unsuitable for using gcn-run. Or are the
> > requirements for compatible types between some other two pieces, so that
> > an x32 gcn-run is OK?
>
> No, x32 would not be ok. The test as is rejects x86_64-*-linux-gnux32, so that
> ought not to be a problem unless somebody has an x32 system with the default
> triplet.
I don't see anything in config.guess that would create such a name
(config.guess tries to avoid testing $CC as much as possible, and testing
the ABI used by $CC would be necessary to distinguish x32), so while
people can use such a triplet to change the default ABI for the target, I
wouldn't expect it necessarily to be used for the host.
--
Joseph S. Myers
joseph@codesourcery.com
More information about the Gcc-patches
mailing list