CC: linux-kernel(a)vger.kernel.org
TO: Paolo Bonzini <pbonzini(a)redhat.com>
CC: "Greg Kroah-Hartman" <gregkh(a)linuxfoundation.org>
tree:
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
linux-5.15.y
head: 47c02c404f4a01320618263ee704576959e3de43
commit: 26ac7dec7ff00704e31e91d35d5ebf4a8a7cc1e9 [14/1649] KVM: x86: avoid warning with
-Wbitwise-instead-of-logical
config: riscv-buildonly-randconfig-r005-20211207
(
https://download.01.org/0day-ci/archive/20211208/202112080235.qWx8fmbC-lk...)
compiler: clang version 14.0.0 (
https://github.com/llvm/llvm-project
097a1cb1d5ebb3a0ec4bcaed8ba3ff6a8e33c00a)
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/stable/linux-stable-rc.gi...
git remote add linux-stable-rc
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
git fetch --no-tags linux-stable-rc linux-5.15.y
git checkout 26ac7dec7ff00704e31e91d35d5ebf4a8a7cc1e9
# 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
trace_event_raw_event_initcall_level: .text+0x190): relocation R_RISCV_HI20 out of range:
528284 is not in [-524288, 524287]; references __stack_chk_guard
>> referenced by main.c
>> defined in arch/riscv/built-in.a(kernel/process.o)
--
> ld.lld: error: init/built-in.a(main.o):(function
perf_trace_initcall_level: .text+0x314): relocation R_RISCV_HI20 out of range: 528284 is
not in [-524288, 524287]; references __stack_chk_guard
>> referenced by main.c
>> defined in arch/riscv/built-in.a(kernel/process.o)
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org