[cxl:preview 42/49] port.c:undefined reference to `cxl_region_rwsem'
From: kernel test robot
Date: Thu Jun 23 2022 - 08:45:02 EST
tree: https://git.kernel.org/pub/scm/linux/kernel/git/cxl/cxl.git preview
head: b2d4fd5c97b59f622e6c45ac51020cdcd66bb022
commit: 26b65f41272efb6f9c691f56f02fe4159985d187 [42/49] cxl/region: Enable the assignment of endpoint decoders to regions
config: arc-randconfig-r032-20220622 (https://download.01.org/0day-ci/archive/20220623/202206231921.bj93USvP-lkp@xxxxxxxxx/config)
compiler: arc-elf-gcc (GCC) 11.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
# https://git.kernel.org/pub/scm/linux/kernel/git/cxl/cxl.git/commit/?id=26b65f41272efb6f9c691f56f02fe4159985d187
git remote add cxl https://git.kernel.org/pub/scm/linux/kernel/git/cxl/cxl.git
git fetch --no-tags cxl preview
git checkout 26b65f41272efb6f9c691f56f02fe4159985d187
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross W=1 O=build_dir ARCH=arc SHELL=/bin/bash
If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@xxxxxxxxx>
All errors (new ones prefixed by >>):
arc-elf-ld: drivers/cxl/core/port.o: in function `cxld_unregister':
>> port.c:(.text+0x33e): undefined reference to `cxl_region_rwsem'
>> arc-elf-ld: port.c:(.text+0x33e): undefined reference to `cxl_region_rwsem'
>> arc-elf-ld: port.c:(.text+0x34e): undefined reference to `cxl_region_detach'
>> arc-elf-ld: port.c:(.text+0x34e): undefined reference to `cxl_region_detach'
arc-elf-ld: port.c:(.text+0x356): undefined reference to `cxl_region_rwsem'
arc-elf-ld: port.c:(.text+0x356): undefined reference to `cxl_region_rwsem'
arc-elf-ld: drivers/cxl/core/port.o: in function `cxl_root_decoder_visible':
port.c:(.text+0xd5e): undefined reference to `dev_attr_create_pmem_region'
arc-elf-ld: port.c:(.text+0xd5e): undefined reference to `dev_attr_create_pmem_region'
arc-elf-ld: port.c:(.text+0xd7c): undefined reference to `dev_attr_delete_region'
arc-elf-ld: port.c:(.text+0xd7c): undefined reference to `dev_attr_delete_region'
arc-elf-ld: drivers/cxl/core/port.o: in function `region_show':
port.c:(.text+0xe34): undefined reference to `cxl_region_rwsem'
arc-elf-ld: port.c:(.text+0xe34): undefined reference to `cxl_region_rwsem'
arc-elf-ld: port.c:(.text+0xe62): undefined reference to `cxl_region_rwsem'
arc-elf-ld: port.c:(.text+0xe62): undefined reference to `cxl_region_rwsem'
arc-elf-ld: drivers/cxl/core/port.o:(.data+0x1a0): undefined reference to `dev_attr_create_pmem_region'
arc-elf-ld: drivers/cxl/core/port.o:(.data+0x1a0): undefined reference to `dev_attr_create_pmem_region'
arc-elf-ld: drivers/cxl/core/port.o:(.data+0x1a4): undefined reference to `dev_attr_delete_region'
arc-elf-ld: drivers/cxl/core/port.o:(.data+0x1a4): undefined reference to `dev_attr_delete_region'
`.exit.text' referenced in section `.data' of sound/soc/codecs/tlv320adc3xxx.o: defined in discarded section `.exit.text' of sound/soc/codecs/tlv320adc3xxx.o
--
0-DAY CI Kernel Test Service
https://01.org/lkp