Building the Linux kernel with Clang and LLVM
 help / color / mirror / Atom feed
* ld.lld: error: vmlinux.o:(function run_init_process: .text.unlikely.run_init_process+0x18): relocation R_RISCV_HI20 out of range: 529072 is not in [-524288, 524287]; references '.L_MergedGlobals'
@ 2025-01-20  8:45 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-01-20  8:45 UTC (permalink / raw)
  Cc: oe-kbuild-all, llvm

CC: linux-kernel@vger.kernel.org
TO: Masahiro Yamada <masahiroy@kernel.org>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   ffd294d346d185b70e28b1a28abe367bbfe53c04
commit: bede169618c68379e1be7ace14e8ac85b964a9ec kbuild: enable objtool for *.mod.o and additional kernel objects
date:   8 weeks ago
:::::: branch date: 8 hours ago
:::::: commit date: 8 weeks ago
config: riscv-randconfig-002-20250120 (https://download.01.org/0day-ci/archive/20250120/202501201626.M3REz6Dq-lkp@intel.com/config)
compiler: clang version 20.0.0git (https://github.com/llvm/llvm-project c23f2417dc5f6dc371afb07af5627ec2a9d373a0)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250120/202501201626.M3REz6Dq-lkp@intel.com/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 <lkp@intel.com>
| Closes: https://lore.kernel.org/r/202501201626.M3REz6Dq-lkp@intel.com/

All errors (new ones prefixed by >>):

>> ld.lld: error: vmlinux.o:(function run_init_process: .text.unlikely.run_init_process+0x18): relocation R_RISCV_HI20 out of range: 529072 is not in [-524288, 524287]; references '.L_MergedGlobals'
   >>> referenced by main.c:1379 (init/main.c:1379)
   >>> defined in vmlinux.o
--
>> ld.lld: error: vmlinux.o:(function trace_initcall_finish_cb: .text.unlikely.trace_initcall_finish_cb+0x36): relocation R_RISCV_HI20 out of range: 528353 is not in [-524288, 524287]; references '.L.str.144'
   >>> referenced by main.c:1224 (init/main.c:1224)
   >>> defined in vmlinux.o
--
>> ld.lld: error: vmlinux.o:(function run_init_process: .text.unlikely.run_init_process+0x24): relocation R_RISCV_HI20 out of range: 528353 is not in [-524288, 524287]; references '.L.str.121'
   >>> referenced by main.c:1379 (init/main.c:1379)
   >>> defined in vmlinux.o
--
>> ld.lld: error: vmlinux.o:(function try_to_run_init_process: .text.unlikely.try_to_run_init_process+0x32): relocation R_RISCV_HI20 out of range: 528353 is not in [-524288, 524287]; references '.L.str.134'
   >>> referenced by main.c:1397 (init/main.c:1397)
   >>> defined in vmlinux.o
--
>> ld.lld: error: vmlinux.o:(function trace_initcall_start_cb: .text.unlikely.trace_initcall_start_cb+0x1a): relocation R_RISCV_HI20 out of range: 528281 is not in [-524288, 524287]; references '.L.str.142'
   >>> referenced by main.c:1212 (init/main.c:1212)
   >>> defined in vmlinux.o
--
>> ld.lld: error: vmlinux.o:(function trace_initcall_finish_cb: .text.unlikely.trace_initcall_finish_cb+0x20): relocation R_RISCV_HI20 out of range: 528121 is not in [-524288, 524287]; references '.LCPI60_0'
   >>> referenced by main.c:1221 (init/main.c:1221)
   >>> defined in vmlinux.o

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2025-01-20  8:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-20  8:45 ld.lld: error: vmlinux.o:(function run_init_process: .text.unlikely.run_init_process+0x18): relocation R_RISCV_HI20 out of range: 529072 is not in [-524288, 524287]; references '.L_MergedGlobals' 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