tree: https://git.kernel.org/pub/scm/linux/kernel/git/rppt/linux.git vmemmap_populate/v0 head: d721572d13328d6a0d56717ca78e667b2dd5062c commit: 2a4481d231f17359ad07b09e939fd638b7cf77ea [1/4] mm: introduce vmemmap_populate_hugeges() config: riscv-randconfig-r012-20210831 (attached as .config) compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 4b1fde8a2b681dad2ce0c082a5d6422caa06b0bc) 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://git.kernel.org/pub/scm/linux/kernel/git/rppt/linux.git/commit/?id=2a4481d231f17359ad07b09e939fd638b7cf77ea git remote add rppt https://git.kernel.org/pub/scm/linux/kernel/git/rppt/linux.git git fetch --no-tags rppt vmemmap_populate/v0 git checkout 2a4481d231f17359ad07b09e939fd638b7cf77ea # 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 All errors (new ones prefixed by >>): >> ld.lld: error: undefined symbol: vmemmap_populate_pmd >>> referenced by sparse-vmemmap.c >>> sparse-vmemmap.o:(vmemmap_populate_hugepages) in archive mm/built-in.a --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org