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

2016-10-28 Thread Arnd Bergmann
On Thursday, October 27, 2016 10:21:16 AM CEST Vineet Gupta wrote: > > On 10/27/2016 02:39 AM, Alexey Brodkin wrote: > > > > And these are functions required by U-Boot (most probably the same is > > applied to kernel): > > 1) so-called millicode, stuff like __ld_rX_to_rY, __st_rX_to_rX > > This

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

2016-10-27 Thread Vineet Gupta
+CC Claudiu On 10/27/2016 02:39 AM, Alexey Brodkin wrote: > > And these are functions required by U-Boot (most probably the same is applied > to kernel): > 1) so-called millicode, stuff like __ld_rX_to_rY, __st_rX_to_rX This kicks in only at -Os and even there can be inhibited with a toggle. I d

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

2016-10-27 Thread Thomas Petazzoni
Hello, On Thu, 27 Oct 2016 09:07:55 +, Alexey Brodkin wrote: > > 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

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

2016-10-27 Thread Alexey Brodkin
Hi Thomas, On Thu, 2016-10-27 at 11:24 +0200, Geert Uytterhoeven wrote: > On Thu, Oct 27, 2016 at 11:11 AM, Thomas Petazzoni > wrote: > > > > On Thu, 27 Oct 2016 09:07:55 +, Alexey Brodkin wrote: > > > > > > > > > > > > > axs101 is using a 770 core, while the toolchain is built for the HS

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

2016-10-27 Thread Alexey Brodkin
Hi Thomas, Michael, On Thu, 2016-10-27 at 09:07 +0200, Thomas Petazzoni wrote: > 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 ver

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

2016-10-27 Thread Arnd Bergmann
On Thursday, October 27, 2016 11:11:18 AM CEST Thomas Petazzoni wrote: > On Thu, 27 Oct 2016 09:07:55 +, Alexey Brodkin wrote: > > > > 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

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

2016-10-27 Thread Thomas Petazzoni
Hello, On Thu, 27 Oct 2016 11:32:11 +0200, Arnd Bergmann wrote: > A couple of other architectures do this as well: > > $ git grep -w LIBGCC arch/*/Makefile > arch/arc/Makefile:LIBGCC:= $(shell $(CC) $(cflags-y) > --print-libgcc-file-name) > arch/arc/Makefile:libs-y+= arc

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

2016-10-27 Thread Geert Uytterhoeven
On Thu, Oct 27, 2016 at 11:11 AM, Thomas Petazzoni wrote: > On Thu, 27 Oct 2016 09:07:55 +, Alexey Brodkin wrote: > >> > 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

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

2016-10-27 Thread Thomas Petazzoni
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 Th

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

2016-10-26 Thread Michael Ellerman
Alexey Brodkin writes: > On Wed, 2016-10-19 at 22:50 +1100, Michael Ellerman wrote: >> Vineet Gupta 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: >> > > >

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

2016-10-19 Thread Thomas Petazzoni
Hello, On Wed, 19 Oct 2016 12:23:12 +, Alexey Brodkin wrote: > > 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

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

2016-10-19 Thread Alexey Brodkin
Hi Michael, On Wed, 2016-10-19 at 22:50 +1100, Michael Ellerman wrote: > Vineet Gupta 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: > > >

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

2016-10-19 Thread Michael Ellerman
Vineet Gupta 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

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

2016-10-17 Thread Vineet Gupta
On 10/17/2016 02:02 PM, Arnd Bergmann wrote: > On Monday, October 17, 2016 9:59:24 AM CEST Vineet Gupta wrote: >> +CC Arnd, Michal >> >> Hi Geert, Arnd >> >> Need some guidance here. >> >> On 10/17/2016 12:34 AM, Geert Uytterhoeven wrote: 48 error regressions: > + /home/kisskb/slave/src/

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

2016-10-17 Thread Arnd Bergmann
On Monday, October 17, 2016 9:59:24 AM CEST Vineet Gupta wrote: > +CC Arnd, Michal > > Hi Geert, Arnd > > Need some guidance here. > > 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 > >> >

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

2016-10-17 Thread Vineet Gupta
+CC Arnd, Michal Hi Geert, Arnd Need some guidance here. 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/inclu

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

2016-10-17 Thread Geert Uytterhoeven
On Mon, Oct 17, 2016 at 9:21 AM, Geert Uytterhoeven wrote: > Below is the list of build error/warning regressions/improvements in > v4.9-rc1[1] compared to v4.8[2]. > [1] http://kisskb.ellerman.id.au/kisskb/head/11053/ (all 262 configs) > [2] http://kisskb.ellerman.id.au/kisskb/head/10989/ (all 2