[norov:demotion 5/6] ld.lld: error: undefined symbol: set_demotion_target

From: kernel test robot
Date: Sun Aug 08 2021 - 14:22:13 EST


tree: https://github.com/norov/linux demotion
head: 78c3964952da24c07f2e34dc2d485fd2e6d5ba82
commit: 101e14d51cae3a28013f4e073b7067e405df0521 [5/6] sysfs: add /sys/kernel/mm/numa/demotion_list
config: x86_64-randconfig-a004-20210808 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 41a6b50c25961addc04438b567ee1f4ef9e40f98)
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/norov/linux/commit/101e14d51cae3a28013f4e073b7067e405df0521
git remote add norov https://github.com/norov/linux
git fetch --no-tags norov demotion
git checkout 101e14d51cae3a28013f4e073b7067e405df0521
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross O=build_dir ARCH=x86_64 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: set_demotion_target
>>> referenced by mempolicy.c:3076 (mm/mempolicy.c:3076)
>>> mempolicy.o:(numa_demotion_list_store) in archive mm/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