CC: linux-kernel(a)vger.kernel.org
TO: Lauri Kasanen <cand(a)gmx.com>
CC: Thomas Bogendoerfer <tsbogend(a)alpha.franken.de>
Hi Lauri,
FYI, the error/warning still remains.
tree:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: a96bfed64c8986d6404e553f18203cae1f5ac7e6
commit: baec970aa5ba11099ad7a91773350c91fb2113f0 mips: Add N64 machine type
date: 5 months ago
config: mips-randconfig-r022-20210622 (attached as .config)
compiler: clang version 13.0.0 (
https://github.com/llvm/llvm-project
b3634d3e88b7f26534a5057bff182b7dced584fc)
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 mips cross compiling tool for clang build
# apt-get install binutils-mips-linux-gnu
#
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit...
git remote add linus
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout baec970aa5ba11099ad7a91773350c91fb2113f0
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=mips
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 >>):
> error: unknown target CPU 'r4300'
note: valid
target CPU values are: mips1, mips2, mips3, mips4, mips5, mips32, mips32r2, mips32r3,
mips32r5, mips32r6, mips64, mips64r2, mips64r3, mips64r5, mips64r6, octeon, octeon+,
p5600
--
> error: unknown target CPU 'r4300'
note: valid
target CPU values are: mips1, mips2, mips3, mips4, mips5, mips32, mips32r2, mips32r3,
mips32r5, mips32r6, mips64, mips64r2, mips64r3, mips64r5, mips64r6, octeon, octeon+,
p5600
> error: unknown target CPU 'r4300'
note: valid
target CPU values are: mips1, mips2, mips3, mips4, mips5, mips32, mips32r2, mips32r3,
mips32r5, mips32r6, mips64, mips64r2, mips64r3, mips64r5, mips64r6, octeon, octeon+,
p5600
make[2]: *** [scripts/Makefile.build:117: kernel/bounds.s] Error 1
make[2]: Target 'missing-syscalls' not remade because of errors.
make[1]: *** [arch/mips/Makefile:418: archprepare] Error 2
make[1]: Target 'modules_prepare' not remade because of errors.
make: *** [Makefile:185: __sub-make] Error 2
make: Target 'modules_prepare' not remade because of errors.
--
> error: unknown target CPU 'r4300'
note: valid
target CPU values are: mips1, mips2, mips3, mips4, mips5, mips32, mips32r2, mips32r3,
mips32r5, mips32r6, mips64, mips64r2, mips64r3, mips64r5, mips64r6, octeon, octeon+,
p5600
scripts/genksyms/parse.y: warning: 9 shift/reduce conflicts [-Wconflicts-sr]
scripts/genksyms/parse.y: warning: 5 reduce/reduce conflicts [-Wconflicts-rr]
> error: unknown target CPU 'r4300'
note: valid
target CPU values are: mips1, mips2, mips3, mips4, mips5, mips32, mips32r2, mips32r3,
mips32r5, mips32r6, mips64, mips64r2, mips64r3, mips64r5, mips64r6, octeon, octeon+,
p5600
make[2]: *** [scripts/Makefile.build:117: kernel/bounds.s] Error 1
make[2]: Target 'missing-syscalls' not remade because of errors.
make[1]: *** [arch/mips/Makefile:418: archprepare] Error 2
make[1]: Target 'prepare' not remade because of errors.
make: *** [Makefile:185: __sub-make] Error 2
make: Target 'prepare' not remade because of errors.
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org