Hi Michael, On Wed, 2016-10-19 at 22:50 +1100, Michael Ellerman wrote: > Vineet Gupta <Vineet.Gupta1 at synopsys.com> 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