[PATCH] powerpc: Pass correct CPU reference to assembler

Jan-Benedict Glaw jbglaw at lug-owl.de
Fri Dec 16 19:38:56 AEDT 2022


On Fri, 2022-12-16 16:07:25 +0800, kernel test robot <lkp at intel.com> 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 at intel.com>
> 
> 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

-- 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20221216/83a58859/attachment.sig>


More information about the Linuxppc-dev mailing list