powerpc64le-linux-ld: mm/page_alloc.o:undefined reference to `node_reclaim_distance'

From: kernel test robot
Date: Fri Jun 05 2020 - 05:59:19 EST

Hi Nicholas,

It's probably a bug fix that unveils the link errors.

tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 435faf5c218a47fd6258187f62d9bb1009717896
commit: 993cfecc59e57de237ae27fadc84ed24efa87a4d powerpc/64s/radix: Fix CONFIG_SMP=n build
date: 3 months ago
config: powerpc-randconfig-r006-20200605 (attached as .config)
compiler: powerpc64le-linux-gcc (GCC) 9.3.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
git checkout 993cfecc59e57de237ae27fadc84ed24efa87a4d
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=powerpc

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

All errors (new ones prefixed by >>, old ones prefixed by <<):

>> powerpc64le-linux-ld: mm/page_alloc.o:(.toc+0x0): undefined reference to `node_reclaim_distance'

0-DAY CI Kernel Test Service, Intel Corporation

Attachment: .config.gz
Description: application/gzip