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

From: Michael Ellerman
Date: Wed Oct 26 2016 - 19:56:11 EST


Alexey Brodkin <Alexey.Brodkin@xxxxxxxxxxxx> writes:
> 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

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.


So those are still failing:

http://kisskb.ellerman.id.au/kisskb/buildresult/12841194/


cheers