Re: how can we test the hexagon port in mainline

From: 'Christoph Hellwig'
Date: Wed Jun 23 2021 - 11:10:58 EST


On Wed, Jun 23, 2021 at 09:39:21AM -0500, Brian Cain wrote:
> > -----Original Message-----
> > From: Christoph Hellwig <hch@xxxxxx>
> ...
> >
> > Hi all,
> >
> > the oldest supported gcc version in mainline is gcc 4.9. But the only
> > hexagon crosscompiler I can find is the one Arnds website points to here:
> >
> > https://mirrors.edge.kernel.org/pub/tools/crosstool/
> >
> > which is a non-upstream gcc 4.6.1 port. How are we supposed to even
> > build test hexagon code?
>
> We have provided a clang-12-based toolchain here:
>
> https://codelinaro.jfrog.io/artifactory/codelinaro-qemu/2021-05-12/clang+llv
> m-12.0.0-cross-hexagon-unknown-linux-musl.tar.xz

Do you have something that is just a small compiler like Arnd's gcc
build? That tarball is already 264MB with xz compression, which does
not compare very favorablt to the 7MB for gcc. And I fear I don't
really have space for that on my setups..