Re: Build regressions/improvements in v4.9-rc1
From: Alexey Brodkin
Date: Wed Oct 19 2016 - 10:50:36 EST
Hi Michael,
On Wed, 2016-10-19 at 22:50 +1100, Michael Ellerman wrote:
> Vineet Gupta <Vineet.Gupta1@xxxxxxxxxxxx> writes:
> >
> > On 10/17/2016 02:02 PM, Arnd Bergmann wrote:
> > >
> > > On Monday, October 17, 2016 9:59:24 AM CEST Vineet Gupta wrote:
> > > >
> > > > On 10/17/2016 12:34 AM, Geert Uytterhoeven wrote:
> > > > >
> > > > > >
> > > > > > 48 error regressions:
> > > > > > >
> > > > > > > Â + /home/kisskb/slave/src/arch/arc/include/asm/atomic.h: Error: bad instruction `llockd r2,[r0]':ÂÂ=> 476
> > > > > > > Â + /home/kisskb/slave/src/arch/arc/include/asm/atomic.h: Error: bad instruction `llockd r2,[r13]':ÂÂ=>
> > > > > > > 475
> > > >
> > > > [snip...]
> > > >
> > > > >
> > > > > >
> > > > > > >
> > > > > > > Â + /home/kisskb/slave/src/arch/arc/include/asm/atomic.h: Error: bad instruction `scondd r4,[r8]':ÂÂ=> 516
> > > > > > > Â + /home/kisskb/slave/src/arch/arc/include/asm/atomic.h: Error: bad instruction `scondd r6,[r3]':ÂÂ=> 478
> > > > > arcv2/axs103_smp_defconfig
> >
> > @Michael can I bother you to upgrade the tools or is this absolutely must for you.
>
> Happy to, just short on time.
>
> I tried building a new toolchain with buildroot, using the instructions
> from last time, but the resulting toolchain doesn't relocate, ie. it has
> hard-coded paths in it. Any ideas?
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
If I'm not mistaken Thomas runs some post-processing script to make these toolchains
relocatable.
Maybe Thomas may comment on that and even maybe will share his post-processing technique
so you'll be able to build your customized toolchain.
Regards,
Alexey