Messages in this thread | | | Date | Wed, 7 Feb 2024 14:27:33 +0800 | From | kernel test robot <> | Subject | ld.lld: error: vmlinux.a(kernel/kallsyms.o):(function kallsyms_on_each_match_symbol: .text+0x97c): relocation R_RISCV_PCREL_HI20 out of range: -524417 is not in [-524288, 524287]; references kallsyms_relative_base |
| |
Hi Zhen,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 99bd3cb0d12e85d5114425353552121ec8f93adc commit: 4dc533e0f2c04174e1ae4aa98e7cffc1c04b9998 kallsyms: Add helper kallsyms_on_each_match_symbol() date: 1 year, 3 months ago config: riscv-randconfig-r064-20240120 (https://download.01.org/0day-ci/archive/20240207/202402071416.ejGGvihf-lkp@intel.com/config) compiler: clang version 15.0.7 (https://github.com/llvm/llvm-project.git 8dfdcc7b7bf66834a761bd8de445840ef68e4d1a) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240207/202402071416.ejGGvihf-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/oe-kbuild-all/202402071416.ejGGvihf-lkp@intel.com/
All errors (new ones prefixed by >>):
>> ld.lld: error: vmlinux.a(kernel/kallsyms.o):(function kallsyms_on_each_match_symbol: .text+0x97c): relocation R_RISCV_PCREL_HI20 out of range: -524417 is not in [-524288, 524287]; references kallsyms_relative_base >>> referenced by kallsyms.c >>> defined in vmlinux.a(kernel/kallsyms.o) -- >> ld.lld: error: vmlinux.a(kernel/kallsyms.o):(function kallsyms_on_each_match_symbol: .text+0x988): relocation R_RISCV_PCREL_HI20 out of range: -524417 is not in [-524288, 524287]; references kallsyms_seqs_of_names >>> referenced by kallsyms.c >>> defined in vmlinux.a(kernel/kallsyms.o) -- >> ld.lld: error: vmlinux.a(kernel/kallsyms.o):(function kallsyms_on_each_match_symbol: .text+0x990): relocation R_RISCV_PCREL_HI20 out of range: -524417 is not in [-524288, 524287]; references kallsyms_offsets >>> referenced by kallsyms.c >>> defined in vmlinux.a(kernel/kallsyms.o) -- >> ld.lld: error: vmlinux.a(kernel/kallsyms.o):(function kallsyms_lookup_names: .text+0x16c): relocation R_RISCV_PCREL_HI20 out of range: -524416 is not in [-524288, 524287]; references kallsyms_num_syms >>> referenced by kallsyms.c >>> defined in vmlinux.a(kernel/kallsyms.o) -- >> ld.lld: error: vmlinux.a(kernel/kallsyms.o):(function kallsyms_lookup_names: .text+0x19c): relocation R_RISCV_PCREL_HI20 out of range: -524417 is not in [-524288, 524287]; references kallsyms_seqs_of_names >>> referenced by kallsyms.c >>> defined in vmlinux.a(kernel/kallsyms.o) -- >> ld.lld: error: vmlinux.a(kernel/kallsyms.o):(function kallsyms_lookup_names: .text+0x1a4): relocation R_RISCV_PCREL_HI20 out of range: -524417 is not in [-524288, 524287]; references kallsyms_markers >>> referenced by kallsyms.c >>> defined in vmlinux.a(kernel/kallsyms.o) -- >> ld.lld: error: vmlinux.a(kernel/kallsyms.o):(function kallsyms_lookup_names: .text+0x1ac): relocation R_RISCV_PCREL_HI20 out of range: -524417 is not in [-524288, 524287]; references kallsyms_names >>> referenced by kallsyms.c >>> defined in vmlinux.a(kernel/kallsyms.o) -- >> ld.lld: error: vmlinux.a(kernel/kallsyms.o):(function kallsyms_lookup_names: .text+0x1b4): relocation R_RISCV_PCREL_HI20 out of range: -524417 is not in [-524288, 524287]; references kallsyms_token_index >>> referenced by kallsyms.c >>> defined in vmlinux.a(kernel/kallsyms.o) -- >> ld.lld: error: vmlinux.a(kernel/kallsyms.o):(function kallsyms_lookup_names: .text+0x1c8): relocation R_RISCV_PCREL_HI20 out of range: -524417 is not in [-524288, 524287]; references kallsyms_token_table >>> referenced by kallsyms.c >>> defined in vmlinux.a(kernel/kallsyms.o)
-- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
| |