Re: Mass-building defconfigs: many fail with assembler errors

2022-12-15 Thread Michael Ellerman
Jan-Benedict Glaw writes: > On Tue, 2022-12-13 14:49:20 +1100, Michael Ellerman > wrote: > [...] >> Both treeboot-akebono.c and treeboot-currituck.c are for 476 so should >> probably be built with -mcpu=476. eg: >> >> diff --git a/arch/powerpc/boot/Makefile b/arch/powerpc/boot/Makefile >> index

Re: Mass-building defconfigs: many fail with assembler errors

2022-12-15 Thread Jan-Benedict Glaw
On Wed, 2022-12-14 10:00:25 +0100, Jan-Benedict Glaw wrote: > On Tue, 2022-12-13 11:00:45 +0100, Jan-Benedict Glaw > wrote: > > On Mon, 2022-12-12 18:26:13 -0600, Segher Boessenkool > > wrote: > > > On Mon, Dec 12, 2022 at 10:51:17PM +0100, Jan-Benedict Glaw wrote: > > > > Compiler ICE

Re: Mass-building defconfigs: many fail with assembler errors

2022-12-14 Thread Christophe Leroy
Le 15/12/2022 à 07:49, Christophe Leroy a écrit : > > > Le 14/12/2022 à 15:45, Jan-Benedict Glaw a écrit : >> On Tue, 2022-12-13 14:49:20 +1100, Michael Ellerman >> wrote: >> [...] >>> Both treeboot-akebono.c and treeboot-currituck.c are for 476 so should >>> probably be built with -mcpu=476.

Re: Mass-building defconfigs: many fail with assembler errors

2022-12-14 Thread Christophe Leroy
Le 14/12/2022 à 15:45, Jan-Benedict Glaw a écrit : > On Tue, 2022-12-13 14:49:20 +1100, Michael Ellerman > wrote: > [...] >> Both treeboot-akebono.c and treeboot-currituck.c are for 476 so should >> probably be built with -mcpu=476. eg: >> >> diff --git a/arch/powerpc/boot/Makefile b/arch/power

Re: Mass-building defconfigs: many fail with assembler errors

2022-12-14 Thread Segher Boessenkool
Hi! On Wed, Dec 14, 2022 at 07:36:32PM +0100, Jan-Benedict Glaw wrote: > So we have these remaining build issues: > > linux-powerpc-cell_defconfig bad asm > (arch/powerpc/boot/pseries-head.S) > linux-powerpc-mvme5100_defconfig bad asm > (arch/powerpc/kernel/epapr_hcalls.S) > lin

Re: Mass-building defconfigs: many fail with assembler errors

2022-12-14 Thread Jan-Benedict Glaw
Hi Segher! On Wed, 2022-12-14 10:00:25 +0100, Jan-Benedict Glaw wrote: > On Tue, 2022-12-13 11:00:45 +0100, Jan-Benedict Glaw > wrote: > > On Mon, 2022-12-12 18:26:13 -0600, Segher Boessenkool > > wrote: > > > On Mon, Dec 12, 2022 at 10:51:17PM +0100, Jan-Benedict Glaw wrote: > > > >

Re: Mass-building defconfigs: many fail with assembler errors

2022-12-14 Thread Jan-Benedict Glaw
On Tue, 2022-12-13 14:49:20 +1100, Michael Ellerman wrote: [...] > Both treeboot-akebono.c and treeboot-currituck.c are for 476 so should > probably be built with -mcpu=476. eg: > > diff --git a/arch/powerpc/boot/Makefile b/arch/powerpc/boot/Makefile > index d32d95aea5d6..acb6eddace8f 100644 > --

Re: Mass-building defconfigs: many fail with assembler errors

2022-12-14 Thread Jan-Benedict Glaw
Hi Segher! On Tue, 2022-12-13 11:00:45 +0100, Jan-Benedict Glaw wrote: > On Mon, 2022-12-12 18:26:13 -0600, Segher Boessenkool > wrote: > > On Mon, Dec 12, 2022 at 10:51:17PM +0100, Jan-Benedict Glaw wrote: > > > Compiler ICEs (during GIMPLE pass: ccp) in align.c: > > > > > > powerpc-lin

Re: Mass-building defconfigs: many fail with assembler errors

2022-12-13 Thread Segher Boessenkool
On Tue, Dec 13, 2022 at 09:41:59AM +0100, Jan-Benedict Glaw wrote: > On Tue, 2022-12-13 14:49:20 +1100, Michael Ellerman > wrote: > > So your script should exclude all files that end in ".config". > > Thanks! Will just drop those. > > > To find the names of the generated configs you can use so

Re: Mass-building defconfigs: many fail with assembler errors

2022-12-13 Thread Jan-Benedict Glaw
Hi Segher! On Mon, 2022-12-12 18:26:13 -0600, Segher Boessenkool wrote: > On Mon, Dec 12, 2022 at 10:51:17PM +0100, Jan-Benedict Glaw wrote: [...] > > For PPC, a good number of those fail, > > and I probably don't understand PPC well enough to propose patches. Or > > did I pick wrongly targeted

Re: Mass-building defconfigs: many fail with assembler errors

2022-12-13 Thread Jan-Benedict Glaw
Hi Michael, On Tue, 2022-12-13 14:49:20 +1100, Michael Ellerman wrote: > Jan-Benedict Glaw writes: > > Is anybody else routinely building current Binutils + GCC, to try to > > build all the Linux defconfigs? > > I did for several years, but eventually stopped because it was taking > too much ti

Re: Mass-building defconfigs: many fail with assembler errors

2022-12-12 Thread Michael Ellerman
Jan-Benedict Glaw writes: > Hi! > > Is anybody else routinely building current Binutils + GCC, to try to > build all the Linux defconfigs? I did for several years, but eventually stopped because it was taking too much time I needed to spend on other things. > For PPC, a good number of those fail

Re: Mass-building defconfigs: many fail with assembler errors

2022-12-12 Thread Segher Boessenkool
Hi! On Mon, Dec 12, 2022 at 10:51:17PM +0100, Jan-Benedict Glaw wrote: > Is anybody else routinely building current Binutils + GCC, to try to > build all the Linux defconfigs? I do regularly build kernels for powerpc-linux, powerpc64-linux, powerpc64le-linux; ppc6xx_defconfig and ppc64_defconfig

Mass-building defconfigs: many fail with assembler errors

2022-12-12 Thread Jan-Benedict Glaw
Hi! Is anybody else routinely building current Binutils + GCC, to try to build all the Linux defconfigs? For PPC, a good number of those fail, and I probably don't understand PPC well enough to propose patches. Or did I pick wrongly targeted toolchains? Most of the time, my suspicion is that we'r