arceb-elf-ld: system_keyring.c:undefined reference to `x509_load_certificate_list'

From: kernel test robot
Date: Wed Jun 22 2022 - 03:13:58 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: ca1fdab7fd27eb069df1384b2850dcd0c2bebe8d
commit: 60050ffe3d770dd1df5b641aa48f49d07a54bd84 certs: Move load_certificate_list() to be with the asymmetric keys code
date: 16 hours ago
config: arc-randconfig-r022-20220622 (https://download.01.org/0day-ci/archive/20220622/202206221515.DqpUuvbQ-lkp@xxxxxxxxx/config)
compiler: arceb-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/torvalds/linux.git/commit/?id=60050ffe3d770dd1df5b641aa48f49d07a54bd84
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 60050ffe3d770dd1df5b641aa48f49d07a54bd84
# 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 >>):

arceb-elf-ld: certs/system_keyring.o: in function `load_system_certificate_list':
system_keyring.c:(.init.text+0x142): undefined reference to `x509_load_certificate_list'
>> arceb-elf-ld: system_keyring.c:(.init.text+0x142): undefined reference to `x509_load_certificate_list'

--
0-DAY CI Kernel Test Service
https://01.org/lkp