* ld.lld: error: undefined symbol: machine_kexec
@ 2022-06-04 21:29 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-06-04 21:29 UTC (permalink / raw)
To: Liao Chang; +Cc: llvm, kbuild-all, linux-kernel, Palmer Dabbelt, Li Zhengyu
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 032dcf09e2bf7c822be25b4abef7a6c913870d98
commit: 6261586e0c91db14c34f894f4bc48f2300cff1d4 RISC-V: Add kexec_file support
date: 2 weeks ago
config: riscv-randconfig-r012-20220605 (https://download.01.org/0day-ci/archive/20220605/202206050554.XnCXKQwp-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 0a90b72c432d70aae035727ece4ba80ce820f381)
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/torvalds/linux.git/commit/?id=6261586e0c91db14c34f894f4bc48f2300cff1d4
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 6261586e0c91db14c34f894f4bc48f2300cff1d4
# 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 SHELL=/bin/bash
If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
>> ld.lld: error: undefined symbol: machine_kexec_cleanup
>>> referenced by kexec_core.c
>>> kexec_core.o:(kimage_free) in archive kernel/built-in.a
--
>> ld.lld: error: undefined symbol: riscv_crash_save_regs
>>> referenced by kexec_core.c
>>> kexec_core.o:(__crash_kexec) in archive kernel/built-in.a
--
>> ld.lld: error: undefined symbol: machine_crash_shutdown
>>> referenced by kexec_core.c
>>> kexec_core.o:(__crash_kexec) in archive kernel/built-in.a
--
>> ld.lld: error: undefined symbol: machine_kexec
>>> referenced by kexec_core.c
>>> kexec_core.o:(__crash_kexec) in archive kernel/built-in.a
>>> referenced by kexec_core.c
>>> kexec_core.o:(kernel_kexec) in archive kernel/built-in.a
--
>> ld.lld: error: undefined symbol: machine_shutdown
>>> referenced by kexec_core.c
>>> kexec_core.o:(kernel_kexec) in archive kernel/built-in.a
--
>> ld.lld: error: undefined symbol: machine_kexec_prepare
>>> referenced by kexec_file.c
>>> kexec_file.o:(__se_sys_kexec_file_load) in archive kernel/built-in.a
--
0-DAY CI Kernel Test Service
https://01.org/lkp
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-06-04 21:29 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-04 21:29 ld.lld: error: undefined symbol: machine_kexec kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox