[ardb:for-kernelci 17/21] efi.c:undefined reference to `phys_initrd_start'

From: kernel test robot
Date: Sun Sep 18 2022 - 17:37:56 EST


tree: git://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux.git for-kernelci
head: 54f3c80676eedf739488a57e3356946ce8d1c091
commit: 498ea7824248d5d0aac3a69546303dae4c75e777 [17/21] efi: libstub: unify initrd loading between architectures
config: riscv-randconfig-r042-20220919 (https://download.01.org/0day-ci/archive/20220919/202209190507.99kyBqaO-lkp@xxxxxxxxx/config)
compiler: riscv64-linux-gcc (GCC) 12.1.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/ardb/linux.git/commit/?id=498ea7824248d5d0aac3a69546303dae4c75e777
git remote add ardb git://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux.git
git fetch --no-tags ardb for-kernelci
git checkout 498ea7824248d5d0aac3a69546303dae4c75e777
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=riscv 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 >>):

riscv64-linux-ld: drivers/firmware/efi/efi.o: in function `.L207':
>> efi.c:(.init.text+0xeae): undefined reference to `phys_initrd_start'
>> riscv64-linux-ld: efi.c:(.init.text+0xeb6): undefined reference to `phys_initrd_start'
riscv64-linux-ld: drivers/firmware/efi/efi.o: in function `.L210':
>> efi.c:(.init.text+0xebc): undefined reference to `phys_initrd_size'
>> riscv64-linux-ld: efi.c:(.init.text+0xec0): undefined reference to `phys_initrd_size'

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