[csky-linux:linux-5.15-rc1-d1-v4 2/7] ld.lld: error: undefined symbol: apply_vendor_setup_vm

From: kernel test robot
Date: Sat Sep 04 2021 - 17:33:23 EST


tree: https://github.com/c-sky/csky-linux linux-5.15-rc1-d1-v4
head: 88c6ea42e010e46e58be159efa07cda22d95a512
commit: f172e026b6879dfebc027017717516b8472bc303 [2/7] riscv: errata: pgtable: Add custom Svpbmt supported for Allwinner D1
config: riscv-randconfig-r004-20210905 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 6fe2beba7d2a41964af658c8c59dd172683ef739)
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 riscv cross compiling tool for clang build
# apt-get install binutils-riscv64-linux-gnu
# https://github.com/c-sky/csky-linux/commit/f172e026b6879dfebc027017717516b8472bc303
git remote add csky-linux https://github.com/c-sky/csky-linux
git fetch --no-tags csky-linux linux-5.15-rc1-d1-v4
git checkout f172e026b6879dfebc027017717516b8472bc303
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross O=build_dir ARCH=riscv SHELL=/bin/bash

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

All errors (new ones prefixed by >>):

>> ld.lld: error: undefined symbol: apply_vendor_setup_vm
>>> referenced by init.c
>>> mm/init.o:(setup_vm) in archive arch/riscv/built-in.a

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip