tree:
https://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux-stable.git queue-5.4
head: b24ca39180f94e05ffdb3647ca2386841aa7fad7
commit: 7c4008d765d3aa7336da1b907601b366a59ee94f [1/8] powerpc/sstep: Fix load-store and
update emulation
config: powerpc-randconfig-r021-20210317 (attached as .config)
compiler: clang version 13.0.0 (
https://github.com/llvm/llvm-project
6db3ab2903f42712f44000afb5aa467efbd25f35)
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
# install powerpc cross compiling tool for clang build
# apt-get install binutils-powerpc-linux-gnu
#
https://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux-stable.git/c...
git remote add sashal-linux-stable
https://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux-stable.git
git fetch --no-tags sashal-linux-stable queue-5.4
git checkout 7c4008d765d3aa7336da1b907601b366a59ee94f
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=powerpc
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
> arch/powerpc/lib/sstep.c:2659:10: error: use of undeclared label
'unknown_opcode'
goto unknown_opcode;
^
1 error generated.
vim +/unknown_opcode +2659 arch/powerpc/lib/sstep.c
2652
2653 }
2654
2655 if (OP_IS_LOAD_STORE(op->type) && (op->type & UPDATE)) {
2656 switch (GETTYPE(op->type)) {
2657 case LOAD:
2658 if (ra == rd)
2659 goto unknown_opcode;
2660 fallthrough;
2661 case STORE:
2662 case LOAD_FP:
2663 case STORE_FP:
2664 if (ra == 0)
2665 goto unknown_opcode;
2666 }
2667 }
2668
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org