[avpatel:riscv_pmem_v1 40/78] make[3]: *** No rule to make target 'arch/riscv/lib/memcpy.S', needed by 'arch/riscv/purgatory/memcpy.o'.

From: kernel test robot
Date: Sat Aug 27 2022 - 00:13:00 EST


tree: https://github.com/avpatel/linux.git riscv_pmem_v1
head: abd658639cf42f64e3b2cfe9f646ffeedb8e54d0
commit: f347c58a39e532e054c16041019ce3f78be2cc45 [40/78] riscv: optimized memcpy
config: riscv-randconfig-r006-20220827 (https://download.01.org/0day-ci/archive/20220827/202208271154.2BxPFepd-lkp@xxxxxxxxx/config)
compiler: riscv64-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/avpatel/linux/commit/f347c58a39e532e054c16041019ce3f78be2cc45
git remote add avpatel https://github.com/avpatel/linux.git
git fetch --no-tags avpatel riscv_pmem_v1
git checkout f347c58a39e532e054c16041019ce3f78be2cc45
# 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=riscv SHELL=/bin/bash

If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All errors (new ones prefixed by >>):

>> make[3]: *** No rule to make target 'arch/riscv/lib/memcpy.S', needed by 'arch/riscv/purgatory/memcpy.o'.
make[3]: Target '__build' not remade because of errors.

--
0-DAY CI Kernel Test Service
https://01.org/lkp