Re: [PATCH] powerpc: Pass correct CPU reference to assembler

From: Jan-Benedict Glaw
Date: Fri Dec 16 2022 - 03:47:52 EST


On Fri, 2022-12-16 16:07:25 +0800, kernel test robot <lkp@xxxxxxxxx> wrote:
> Hi Christophe,
>
> I love your patch! Yet something to improve:

[...]

> If you fix the issue, kindly add following tag where applicable
> | Reported-by: kernel test robot <lkp@xxxxxxxxx>
>
> All errors (new ones prefixed by >>):
>
> Assembler messages:
> >> Error: invalid switch -mpowerpc
> >> Error: unrecognized option -mpowerpc
> make[2]: *** [scripts/Makefile.build:250: scripts/mod/empty.o] Error 2
> make[2]: Target 'scripts/mod/' not remade because of errors.
> make[1]: *** [Makefile:1271: prepare0] Error 2
> make[1]: Target 'prepare' not remade because of errors.
> make: *** [Makefile:231: __sub-make] Error 2
> make: Target 'prepare' not remade because of errors.

I see similar failures for many/most (about 4/5 of them) defconfigs.
Needs some more testing, but I also think that's the route to go. :)

IIRC there was another patch mentioned that needs to be applied as
well, maybe that's already the needed fix along with this one?

MfG, JBG

--

Attachment: signature.asc
Description: PGP signature