CC: linux-kernel(a)vger.kernel.org
TO: Cai Huoqing <caihuoqing(a)baidu.com>
CC: Borislav Petkov <bp(a)suse.de>
tree:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: dd81e1c7d5fb126e5fbc5c9e334d7b3ec29a16a0
commit: 470b52564cceef62e982283cafbada41ff47903b EDAC/al_mc: Make use of the helper
function devm_add_action_or_reset()
date: 4 months ago
config: riscv-buildonly-randconfig-r001-20220124
(
https://download.01.org/0day-ci/archive/20220124/202201241321.73rz7g3Z-lk...)
compiler: clang version 14.0.0 (
https://github.com/llvm/llvm-project
7b3d30728816403d1fd73cc5082e9fb761262bce)
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...
git remote add linus
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 470b52564cceef62e982283cafbada41ff47903b
# save the config file to linux build tree
mkdir build_dir
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 as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
> ld.lld: error: init/built-in.a(main.o):(function
__traceiter_initcall_level: .text+0x18): relocation R_RISCV_HI20 out of range: 528322 is
not in [-524288, 524287]; references __tracepoint_initcall_level
>> referenced by main.c
>> defined in init/built-in.a(main.o)
--
> ld.lld: error: init/built-in.a(main.o):(function
__traceiter_initcall_start: .text+0x98): relocation R_RISCV_HI20 out of range: 528322 is
not in [-524288, 524287]; references __tracepoint_initcall_start
>> referenced by main.c
>> defined in init/built-in.a(main.o)
--
> ld.lld: error: init/built-in.a(main.o):(function
__traceiter_initcall_finish: .text+0x11c): relocation R_RISCV_HI20 out of range: 528322 is
not in [-524288, 524287]; references __tracepoint_initcall_finish
>> referenced by main.c
>> defined in init/built-in.a(main.o)
--
> ld.lld: error: arch/riscv/built-in.a(kernel/patch.o):(function
patch_text: .text+0x19c): relocation R_RISCV_HI20 out of range: 524294 is not in [-524288,
524287]; references patch_text_cb
>> referenced by patch.c
>> defined in arch/riscv/built-in.a(kernel/patch.o)
--
> ld.lld: error: arch/riscv/built-in.a(kernel/patch.o):(function
patch_text: .text+0x1a4): relocation R_RISCV_HI20 out of range: 528338 is not in [-524288,
524287]; references __cpu_online_mask
>> referenced by patch.c
>> defined in kernel/built-in.a(cpu.o)
--
> ld.lld: error: arch/riscv/built-in.a(kernel/patch.o):(function
patch_text_cb: .text+0xf0): relocation R_RISCV_HI20 out of range: 528338 is not in
[-524288, 524287]; references __num_online_cpus
>> referenced by patch.c
>> defined in kernel/built-in.a(cpu.o)
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org