[cxl:preview 60/60] powerpc-linux-ld: region.c:undefined reference to `nvdimm_pmem_region_create'

From: kernel test robot
Date: Thu Jan 27 2022 - 05:15:57 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/cxl/cxl.git preview
head: 41c2d219a2c8e14de644f4e953e0c57402c3e884
commit: 41c2d219a2c8e14de644f4e953e0c57402c3e884 [60/60] cxl/region: Create an nd_region
config: powerpc-randconfig-c004-20220124 (https://download.01.org/0day-ci/archive/20220127/202201271800.XzjIrLit-lkp@xxxxxxxxx/config)
compiler: powerpc-linux-gcc (GCC) 11.2.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://git.kernel.org/pub/scm/linux/kernel/git/cxl/cxl.git/commit/?id=41c2d219a2c8e14de644f4e953e0c57402c3e884
git remote add cxl https://git.kernel.org/pub/scm/linux/kernel/git/cxl/cxl.git
git fetch --no-tags cxl preview
git checkout 41c2d219a2c8e14de644f4e953e0c57402c3e884
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=powerpc 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 >>):

powerpc-linux-ld: drivers/cxl/region.o: in function `cxl_region_probe':
region.c:(.text+0xe54): undefined reference to `__umoddi3'
>> powerpc-linux-ld: region.c:(.text+0x11dc): undefined reference to `nvdimm_pmem_region_create'

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