tree: https://git.kernel.org/pub/scm/linux/kernel/git/efi/efi.git urgent head: ef3efc2af044f6da5bb8c55e99f2398081d99c09 commit: 7949368e93e48a15ac5976405def16f8c84c837b [5/5] efi: libstub: Use relocated version of kernel's struct screen_info config: riscv-randconfig-r026-20230313 (https://download.01.org/0day-ci/archive/20230314/202303142336.P1ZcCB9r-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=7949368e93e48a15ac5976405def16f8c84c837b git remote add efi https://git.kernel.org/pub/scm/linux/kernel/git/efi/efi.git git fetch --no-tags efi urgent git checkout 7949368e93e48a15ac5976405def16f8c84c837b # 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/202303142336.P1ZcCB9r-lkp@xxxxxxxxx/ All errors (new ones prefixed by >>): >> ld.lld: error: undefined hidden symbol: __efistub__start >>> referenced by riscv-stub.c:23 (drivers/firmware/efi/libstub/riscv-stub.c:23) >>> riscv-stub.stub.o:(__efistub_stext_offset) in archive drivers/firmware/efi/libstub/lib.a >>> referenced by riscv-stub.c:23 (drivers/firmware/efi/libstub/riscv-stub.c:23) >>> 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 riscv-stub.c:23 (drivers/firmware/efi/libstub/riscv-stub.c:23) >>> 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 riscv-stub.c:23 (drivers/firmware/efi/libstub/riscv-stub.c:23) >>> 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 riscv-stub.c:23 (drivers/firmware/efi/libstub/riscv-stub.c:23) >>> 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 efi-stub-entry.c:27 (drivers/firmware/efi/libstub/efi-stub-entry.c:27) >>> 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