Hi Christophe,
I love your patch! Yet something to improve:
[auto build test ERROR on powerpc/next]
[also build test ERROR on powerpc/fixes linus/master v6.1 next-20221216]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Christophe-Leroy/powerpc-Pass-correct-CPU-reference-to-assembler/20221216-145724
base: https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git next
patch link: https://lore.kernel.org/r/176b0f41a8b9e9f1191bf2b8857d121887c4fbe5.1671171965.git.christophe.leroy%40csgroup.eu
patch subject: [PATCH] powerpc: Pass correct CPU reference to assembler
config: powerpc-allnoconfig
compiler: powerpc-linux-gcc (GCC) 12.1.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://github.com/intel-lab-lkp/linux/commit/8dd8f5ffbfde0de2743864749654dac8159ec615
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review Christophe-Leroy/powerpc-Pass-correct-CPU-reference-to-assembler/20221216-145724
git checkout 8dd8f5ffbfde0de2743864749654dac8159ec615
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=powerpc prepare
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <[email protected]>
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.
--
0-DAY CI Kernel Test Service
https://01.org/lkp
On Fri, 2022-12-16 16:07:25 +0800, kernel test robot <[email protected]> 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 <[email protected]>
>
> 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
--