tree: https://git.kernel.org/pub/scm/linux/kernel/git/efi/efi.git urgent head: 21f136ebfb9ef430ed614c3f10325876a12695d2 commit: 21f136ebfb9ef430ed614c3f10325876a12695d2 [5/5] efi: libstub: Use relocated version of kernel's struct screen_info config: riscv-randconfig-r042-20230313 (https://download.01.org/0day-ci/archive/20230313/202303132020.S9CriCjt-lkp@xxxxxxxxx/config) compiler: clang version 17.0.0 (https://github.com/llvm/llvm-project 67409911353323ca5edf2049ef0df54132fa1ca7) 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 # install riscv cross compiling tool for clang build # apt-get install binutils-riscv64-linux-gnu # https://git.kernel.org/pub/scm/linux/kernel/git/efi/efi.git/commit/?id=21f136ebfb9ef430ed614c3f10325876a12695d2 git remote add efi https://git.kernel.org/pub/scm/linux/kernel/git/efi/efi.git git fetch --no-tags efi urgent git checkout 21f136ebfb9ef430ed614c3f10325876a12695d2 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=riscv olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang 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> | Link: https://lore.kernel.org/oe-kbuild-all/202303132020.S9CriCjt-lkp@xxxxxxxxx/ All errors (new ones prefixed by >>): >> ld.lld: error: undefined hidden symbol: __efistub__start >>> referenced by __efistub_riscv-stub.c >>> riscv-stub.stub.o:(__efistub_stext_offset) in archive drivers/firmware/efi/libstub/lib.a >>> referenced by __efistub_riscv-stub.c >>> riscv-stub.stub.o:(__efistub_handle_kernel_image) in archive drivers/firmware/efi/libstub/lib.a -- >> ld.lld: error: undefined hidden symbol: __efistub__start_kernel >>> referenced by __efistub_riscv-stub.c >>> riscv-stub.stub.o:(__efistub_stext_offset) in archive drivers/firmware/efi/libstub/lib.a -- >> ld.lld: error: undefined hidden symbol: __efistub__end >>> referenced by __efistub_riscv-stub.c >>> riscv-stub.stub.o:(__efistub_handle_kernel_image) in archive drivers/firmware/efi/libstub/lib.a -- >> ld.lld: error: undefined hidden symbol: __efistub__edata >>> referenced by __efistub_riscv-stub.c >>> riscv-stub.stub.o:(__efistub_handle_kernel_image) in archive drivers/firmware/efi/libstub/lib.a -- >> ld.lld: error: undefined hidden symbol: __efistub_screen_info >>> referenced by __efistub_efi-stub-entry.c >>> efi-stub-entry.stub.o:(__efistub_efi_pe_entry) in archive drivers/firmware/efi/libstub/lib.a -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests