Re: Build regressions/improvements in v4.9-rc1

From: Thomas Petazzoni
Date: Thu Oct 27 2016 - 03:07:29 EST


Hello,

On Thu, 27 Oct 2016 10:56:02 +1100, Michael Ellerman wrote:

> > Hm... that's strange - it used to work but doesn't work with newer Buildroot...
> >
> > Anyways if something very simple (i.e. with no extra libraries) works for you just go
> > ahead and grab pre-built image that Thomas Petazzoni builds.
> >
> > That's the most recent one:
> > http://autobuild.buildroot.org/toolchains/tarballs/br-arcle-hs38-full-2016.08-613-ge98b4dd.tar.bz2
>
> Thanks, I grabbed that and it works for axs103_smp_defconfig:
>
> http://kisskb.ellerman.id.au/kisskb/buildresult/12840656/
>
>
> It doesn't work for axs101_defconfig, saying:
>
> arch/arc/Makefile:29: *** Toolchain not configured for ARCompact builds. Stop.

axs101 is using a 770 core, while the toolchain is built for the HS38
core. I'm somewhat surprised that a single ARC toolchain cannot produce
code for both 770 and HS38, but it seems to be the case.

So you need a separate toolchain for ARC770.

Best regards,

Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com