* [linux-stable-rc:queue/5.10 4314/9999] ld.lld: error: kernel/built-in.a(kallsyms.o):(function kallsyms_open: .text+0x634): relocation R_RISCV_PCREL_HI20 out of range: -524475 is not in [-524288, 524287]; references kallsyms_markers
@ 2022-01-28 7:48 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-01-28 7:48 UTC (permalink / raw)
Cc: kbuild-all, llvm
CC: linux-kernel@vger.kernel.org
TO: Khem Raj <raj.khem@gmail.com>
CC: "Greg Kroah-Hartman" <gregkh@linuxfoundation.org>
CC: Nathan Chancellor <nathan@kernel.org>
CC: Palmer Dabbelt <palmerdabbelt@google.com>
CC: Sasha Levin <sashal@kernel.org>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git queue/5.10
head: b3f73a1a2d7d65e96543e6f59f65941452c04565
commit: bb73f2f789695028a4cc8baf9d6a8df03fb5ae14 [4314/9999] riscv: Use -mno-relax when using lld linker
config: riscv-randconfig-r001-20220127 (https://download.01.org/0day-ci/archive/20220128/202201281531.m0NwIQPY-lkp@intel.com/config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project f32dccb9a43b02ce4e540d6ba5dbbdb188f2dc7d)
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.git/commit/?id=bb73f2f789695028a4cc8baf9d6a8df03fb5ae14
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 queue/5.10
git checkout bb73f2f789695028a4cc8baf9d6a8df03fb5ae14
# 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@intel.com>
All errors (new ones prefixed by >>):
>> ld.lld: error: kernel/built-in.a(kallsyms.o):(function kallsyms_open: .text+0x634): relocation R_RISCV_PCREL_HI20 out of range: -524475 is not in [-524288, 524287]; references kallsyms_markers
>>> 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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-01-28 7:49 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-01-28 7:48 [linux-stable-rc:queue/5.10 4314/9999] ld.lld: error: kernel/built-in.a(kallsyms.o):(function kallsyms_open: .text+0x634): relocation R_RISCV_PCREL_HI20 out of range: -524475 is not in [-524288, 524287]; references kallsyms_markers 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;
as well as URLs for NNTP newsgroup(s).