Kernel crosscompilers

Arnd Bergmann arnd at arndb.de
Sat May 8 19:37:34 AEST 2021


On Sat, May 8, 2021 at 11:22 AM Christophe Leroy
<christophe.leroy at csgroup.eu> wrote:
> Le 08/05/2021 à 08:46, Christophe Leroy a écrit :
> >
> > I don't have any ppc or arm host I can build on.
> > I'm building on x86 for powerpc embedded boards.
> >
> > I have tried your GCC 11 snapshot, I get something booting but it crashes when launching init.
> >
...
> > Seems like there is something wrong with it with GCC11. When forcing CONFIG_CC_HAS_ASM_GOTO_OUTPUT
> > to 'n', the kernel boots ok.
> >
>
> I found the problem, that's due to r10 register being reused by GCC in the copy loop below:

Ok, thanks for testing. I'll try to rebuild the release tag in the
next few days.

      Arnd


More information about the Linuxppc-dev mailing list