* [efi:urgent 5/5] ld.lld: error: undefined hidden symbol: __efistub__start
@ 2023-03-14 15:03 kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2023-03-14 15:03 UTC (permalink / raw)
To: Ard Biesheuvel; +Cc: llvm, oe-kbuild-all, linux-efi
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@intel.com/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@intel.com>
| Link: https://lore.kernel.org/oe-kbuild-all/202303142336.P1ZcCB9r-lkp@intel.com/
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* [efi:urgent 5/5] ld.lld: error: undefined hidden symbol: __efistub__start
@ 2023-03-13 12:39 kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2023-03-13 12:39 UTC (permalink / raw)
To: Ard Biesheuvel; +Cc: llvm, oe-kbuild-all, linux-efi
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@intel.com/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@intel.com>
| Link: https://lore.kernel.org/oe-kbuild-all/202303132020.S9CriCjt-lkp@intel.com/
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-03-14 15:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-14 15:03 [efi:urgent 5/5] ld.lld: error: undefined hidden symbol: __efistub__start kernel test robot
-- strict thread matches above, loose matches on Subject: below --
2023-03-13 12:39 kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.