ld.lld: error: vmlinux.a(kernel/panic.o):(function panic: .text.unlikely.+0x28): relocation R_RISCV_HI20 out of range: 533364 is not in [-524288, 524287]; references 'panic_on_warn'
From: kernel test robot
Date: Thu Feb 06 2025 - 10:38:50 EST
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 92514ef226f511f2ca1fb1b8752966097518edc0
commit: a07eb4f67ed085f32002a1af2b6073546d67de3f spi: omap2-mcspi: Correctly handle devm_clk_get_optional() errors
date: 2 weeks ago
config: riscv-randconfig-r111-20250205 (https://download.01.org/0day-ci/archive/20250206/202502062306.dwioNmYP-lkp@xxxxxxxxx/config)
compiler: clang version 18.1.8 (https://github.com/llvm/llvm-project 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)
reproduce: (https://download.01.org/0day-ci/archive/20250206/202502062306.dwioNmYP-lkp@xxxxxxxxx/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@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202502062306.dwioNmYP-lkp@xxxxxxxxx/
All errors (new ones prefixed by >>):
>> ld.lld: error: vmlinux.a(kernel/panic.o):(function panic: .text.unlikely.+0x28): relocation R_RISCV_HI20 out of range: 533364 is not in [-524288, 524287]; references 'panic_on_warn'
>>> referenced by panic.c:288 (kernel/panic.c:288)
>>> defined in vmlinux.a(kernel/panic.o)
--
>> ld.lld: error: vmlinux.a(kernel/panic.o):(function panic: .text.unlikely.+0x36): relocation R_RISCV_HI20 out of range: 533364 is not in [-524288, 524287]; references 'crash_kexec_post_notifiers'
>>> referenced by panic.c:296 (kernel/panic.c:296)
>>> defined in vmlinux.a(kernel/panic.o)
--
>> ld.lld: error: vmlinux.a(kernel/panic.o):(function panic: .text.unlikely.+0x118): relocation R_RISCV_HI20 out of range: 533364 is not in [-524288, 524287]; references 'panic_triggering_all_cpu_backtrace'
>>> referenced by panic.c:0 (kernel/panic.c:0)
>>> defined in vmlinux.a(kernel/panic.o)
--
>> ld.lld: error: vmlinux.a(kernel/panic.o):(function panic: .text.unlikely.+0x124): relocation R_RISCV_HI20 out of range: 531810 is not in [-524288, 524287]; references 'panic_notifier_list'
>>> referenced by panic.c:0 (kernel/panic.c:0)
>>> defined in vmlinux.a(kernel/panic.o)
--
>> ld.lld: error: vmlinux.a(kernel/panic.o):(function panic: .text.unlikely.+0x12c): relocation R_RISCV_HI20 out of range: 533369 is not in [-524288, 524287]; references 'panic.buf'
>>> referenced by panic.c:0 (kernel/panic.c:0)
>>> defined in vmlinux.a(kernel/panic.o)
--
>> ld.lld: error: vmlinux.a(kernel/panic.o):(function panic: .text.unlikely.+0x14c): relocation R_RISCV_HI20 out of range: 533364 is not in [-524288, 524287]; references 'panic_print'
>>> referenced by panic.c:0 (kernel/panic.c:0)
>>> defined in vmlinux.a(kernel/panic.o)
--
>> ld.lld: error: vmlinux.a(kernel/panic.o):(function panic: .text.unlikely.+0x40): relocation R_RISCV_HI20 out of range: 533340 is not in [-524288, 524287]; references '.LCPI6_0'
>>> referenced by panic.c:296 (kernel/panic.c:296)
>>> defined in vmlinux.a(kernel/panic.o)
--
>> ld.lld: error: vmlinux.a(kernel/panic.o):(function panic: .text.unlikely.+0x6a): relocation R_RISCV_HI20 out of range: 533340 is not in [-524288, 524287]; references 'panic_cpu'
>>> referenced by panic.c:294 (kernel/panic.c:294)
>>> defined in vmlinux.a(kernel/panic.o)
--
>> ld.lld: error: vmlinux.a(kernel/panic.o):(function panic: .text.unlikely.+0xd2): relocation R_RISCV_HI20 out of range: 531140 is not in [-524288, 524287]; references '.L.str.4'
>>> referenced by panic.c:296 (kernel/panic.c:296)
>>> defined in vmlinux.a(kernel/panic.o)
--
>> ld.lld: error: vmlinux.a(kernel/panic.o):(function panic: .text.unlikely.+0xe0): relocation R_RISCV_HI20 out of range: 533340 is not in [-524288, 524287]; references 'tainted_mask'
>>> referenced by panic.c:303 (kernel/panic.c:303)
>>> defined in vmlinux.a(kernel/panic.o)
--
>> ld.lld: error: vmlinux.a(kernel/panic.o):(function panic: .text.unlikely.+0xee): relocation R_RISCV_HI20 out of range: 533364 is not in [-524288, 524287]; references 'oops_in_progress'
>>> referenced by panic.c:303 (kernel/panic.c:303)
>>> defined in vmlinux.a(kernel/printk/printk.o)
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki