CC: linux-kernel(a)vger.kernel.org
TO: Jason Gunthorpe <jgg(a)nvidia.com>
CC: Yishai Hadas <yishaih(a)nvidia.com>
tree:
https://github.com/jgunthorpe/linux for-yishai
head: 6173eda3f1f5508010706943c0bef99dfaf1dcd6
commit: 96734f6e53ef22b459d3ba12b8d22b4309a4cd15 [9/18] vfio: Define device migration
protocol v2
config: riscv-randconfig-r002-20220123
(
https://download.01.org/0day-ci/archive/20220124/202201242051.ZgqCkbdK-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://github.com/jgunthorpe/linux/commit/96734f6e53ef22b459d3ba12b8d22b...
git remote add jgunthorpe
https://github.com/jgunthorpe/linux
git fetch --no-tags jgunthorpe for-yishai
git checkout 96734f6e53ef22b459d3ba12b8d22b4309a4cd15
# 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:
arch/riscv/built-in.a(kernel/stacktrace.o):(function dump_backtrace: .text+0x11c):
relocation R_RISCV_HI20 out of range: 524293 is not in [-524288, 524287]; references
print_trace_address
>> referenced by stacktrace.c
>> defined in arch/riscv/built-in.a(kernel/stacktrace.o)
--
> ld.lld: error:
arch/riscv/built-in.a(kernel/stacktrace.o):(function print_trace_address: .text+0x178):
relocation R_RISCV_HI20 out of range: 534116 is not in [-524288, 524287]; references
.L.str.4
>> referenced by stacktrace.c
>> defined in arch/riscv/built-in.a(kernel/stacktrace.o)
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org