CC: linux-kernel(a)vger.kernel.org
TO: Mark Brown <broonie(a)kernel.org>
tree:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 871bfa02d08d9c0ed981c50082b7afd367d3700b
commit: 7fb593cbd88cf4df01c096d4dc320f027dfa2560 Merge remote-tracking branch
'regulator/for-5.14' into regulator-next
date: 7 months ago
config: riscv-randconfig-r023-20220114
(
https://download.01.org/0day-ci/archive/20220115/202201150206.PzD5J1a9-lk...)
compiler: clang version 14.0.0 (
https://github.com/llvm/llvm-project
82c8aca93488730ce8f66101e0f3538f14b551dd)
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 7fb593cbd88cf4df01c096d4dc320f027dfa2560
# 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: kernel/built-in.a(kallsyms.o):(function
update_iter: .text+0xa10): relocation R_RISCV_PCREL_HI20 out of range: -524433 is not in
[-524288, 524287]; references kallsyms_num_syms
>> referenced by kallsyms.c
>> defined in kernel/built-in.a(kallsyms.o)
--
> ld.lld: error: kernel/built-in.a(kallsyms.o):(function
update_iter: .text+0xa48): relocation R_RISCV_PCREL_HI20 out of range: -524433 is not in
[-524288, 524287]; references kallsyms_relative_base
>> referenced by kallsyms.c
>> defined in kernel/built-in.a(kallsyms.o)
--
> ld.lld: error: kernel/built-in.a(kallsyms.o):(function
kallsyms_expand_symbol: .text+0xfc): relocation R_RISCV_PCREL_HI20 out of range: -524432
is not in [-524288, 524287]; references kallsyms_names
>> referenced by kallsyms.c
>> defined in kernel/built-in.a(kallsyms.o)
--
> ld.lld: error: kernel/built-in.a(kallsyms.o):(function
kallsyms_expand_symbol: .text+0x118): relocation R_RISCV_PCREL_HI20 out of range: -524432
is not in [-524288, 524287]; references kallsyms_token_index
>> referenced by kallsyms.c
>> defined in kernel/built-in.a(kallsyms.o)
--
> ld.lld: error: kernel/built-in.a(kallsyms.o):(function
kallsyms_expand_symbol: .text+0x120): relocation R_RISCV_PCREL_HI20 out of range: -524432
is not in [-524288, 524287]; references kallsyms_token_table
>> referenced by kallsyms.c
>> defined in kernel/built-in.a(kallsyms.o)
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for LOCKDEP
Depends on DEBUG_KERNEL && LOCK_DEBUGGING_SUPPORT && (FRAME_POINTER ||
MIPS || PPC || S390 || MICROBLAZE || ARM || ARC || X86)
Selected by
- LOCK_STAT && DEBUG_KERNEL && LOCK_DEBUGGING_SUPPORT
- DEBUG_LOCK_ALLOC && DEBUG_KERNEL && LOCK_DEBUGGING_SUPPORT
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org