[peterz-queue:locking/core 4/9] ld.lld: error: vmlinux.a(fs/namei.o):(function getname_flags: .text+0x1c): relocation R_RISCV_HI20 out of range: 563901 is not in [-524288, 524287]; references ''

kernel test robot <[email protected]>
Newsgroups dev.linux.lists.llvm,dev.linux.lists.oe-kbuild-all
Message-ID <[email protected]>
TO: K Prateek Nayak <[email protected]>
CC: Peter Zijlstra <[email protected]>
CC: Charlie Jenkins <[email protected]>
CC: Guo Ren <[email protected]>

Hi Prateek,

FYI, the error/warning was bisected to this commit, please ignore it if it's irrelevant.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git locking/core
head:   79d3fca9230cbd2108fa34ec54f2b1a319057252
commit: af9ae17c5bcc45648d9acf85b28369ed66e31e0f [4/9] riscv/runtime-const: Replace open-coded placeholder with RUNTIME_MAGIC
config: riscv-randconfig-002-20260712 (https://download.01.org/0day-ci/archive/20260712/[email protected]/config)
compiler: clang version 22.1.3 (https://github.com/llvm/llvm-project e9846648fd6183ee6d8cbdb4502213fcf902a211)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260712/[email protected]/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/

All errors (new ones prefixed by >>):

>> ld.lld: error: vmlinux.a(fs/namei.o):(function getname_flags: .text+0x1c): relocation R_RISCV_HI20 out of range: 563901 is not in [-524288, 524287]; references ''
   >>> referenced by namei.c:147 (fs/namei.c:147)
   >>> defined in vmlinux.a(fs/namei.o)
--
>> ld.lld: error: vmlinux.a(fs/namei.o):(function getname_uflags: .text+0xdc): relocation R_RISCV_HI20 out of range: 563901 is not in [-524288, 524287]; references ''
   >>> referenced by namei.c:188 (fs/namei.c:188)
   >>> defined in vmlinux.a(fs/namei.o)

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.