Re: [PATCH] powerpc: e500: Fix compilation with gcc e500 compiler

From: Pali Rohár
Date: Thu Jul 07 2022 - 06:00:02 EST


On Thursday 07 July 2022 09:56:04 Christophe Leroy wrote:
> Le 04/07/2022 à 15:43, Arnd Bergmann a écrit :
> > On Mon, Jul 4, 2022 at 3:29 PM Pali Rohár <pali@xxxxxxxxxx> wrote:
> >>
> >> And still what to do with 4bf4f42a2feb ("powerpc/kbuild: Set default
> >> generic machine type for 32-bit compile")? I'm somehow lost there...
> >
> > As far as I can tell, that is not needed, as long as every configuration
> > sets a specific -mcpu= option, the only reason it was required is that
> > there were some configs that relied on the compiler default, which
> > ended up being -mcpu=power8 or similar.
> >
>
>
> Is there any link between this discussion and the following patch
> submitted 3,5 years ago ?
>
> https://patchwork.ozlabs.org/project/linuxppc-dev/patch/20181226141511.3ag7uf6rvdgzlmxt@xxxxxxxxxxxxxxx/
>
> Thanks
> Christophe

Seems that above patch tried to fix same issue. I did not know about it.