All of lore.kernel.org
 help / color / mirror / Atom feed
* ld.lld: error: kallsyms.c:(function kallsyms_lookup_name: .text+0x42): relocation R_RISCV_PCREL_HI20 out of range: -524469 is not in [-524288, 524287]; references kallsyms_num_syms
@ 2021-06-06 23:03 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-06-06 23:03 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 4194 bytes --]

CC: linux-kernel(a)vger.kernel.org
TO: Khem Raj <raj.khem@gmail.com>
CC: Palmer Dabbelt <palmerdabbelt@google.com>
CC: Nathan Chancellor <nathan@kernel.org>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   f5b6eb1e018203913dfefcf6fa988649ad11ad6e
commit: ec3a5cb61146c91f0f7dcec8b7e7157a4879a9ee riscv: Use -mno-relax when using lld linker
date:   8 days ago
config: riscv-randconfig-r014-20210606 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 551a697c5cf33275b66add4fc467fcf59084cffb)
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/torvalds/linux.git/commit/?id=ec3a5cb61146c91f0f7dcec8b7e7157a4879a9ee
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout ec3a5cb61146c91f0f7dcec8b7e7157a4879a9ee
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=riscv 

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: kallsyms.c:(function kallsyms_lookup_name: .text+0x42): relocation R_RISCV_PCREL_HI20 out of range: -524469 is not in [-524288, 524287]; references kallsyms_num_syms
   >>> defined in kernel/built-in.a(kallsyms.o)
--
>> ld.lld: error: kallsyms.c:(function kallsyms_lookup_name: .text+0x8C): relocation R_RISCV_PCREL_HI20 out of range: -524469 is not in [-524288, 524287]; references kallsyms_relative_base
   >>> defined in kernel/built-in.a(kallsyms.o)
--
>> ld.lld: error: kallsyms.c:(function kallsyms_lookup: .text+0x38A): relocation R_RISCV_PCREL_HI20 out of range: -524469 is not in [-524288, 524287]; references kallsyms_names
   >>> defined in kernel/built-in.a(kallsyms.o)
--
>> ld.lld: error: kallsyms.c:(function lookup_symbol_name: .text+0x438): relocation R_RISCV_PCREL_HI20 out of range: -524470 is not in [-524288, 524287]; references kallsyms_markers
   >>> defined in kernel/built-in.a(kallsyms.o)
--
>> ld.lld: error: kallsyms.c:(function lookup_symbol_name: .text+0x446): relocation R_RISCV_PCREL_HI20 out of range: -524470 is not in [-524288, 524287]; references kallsyms_names
   >>> defined in kernel/built-in.a(kallsyms.o)
--
>> ld.lld: error: kallsyms.c:(function lookup_symbol_attrs: .text+0x4F2): relocation R_RISCV_PCREL_HI20 out of range: -524470 is not in [-524288, 524287]; references kallsyms_markers
   >>> defined in kernel/built-in.a(kallsyms.o)
--
>> ld.lld: error: kallsyms.c:(function lookup_symbol_attrs: .text+0x500): relocation R_RISCV_PCREL_HI20 out of range: -524470 is not in [-524288, 524287]; references kallsyms_names
   >>> defined in kernel/built-in.a(kallsyms.o)
--
>> ld.lld: error: kallsyms.c:(function kdb_walk_kallsyms: .text+0x78C): relocation R_RISCV_PCREL_HI20 out of range: -524470 is not in [-524288, 524287]; references kallsyms_markers
   >>> defined in kernel/built-in.a(kallsyms.o)
--
>> ld.lld: error: kallsyms.c:(function reset_iter: .text+0x804): relocation R_RISCV_PCREL_HI20 out of range: -524470 is not in [-524288, 524287]; references kallsyms_markers
   >>> defined in kernel/built-in.a(kallsyms.o)
--
>> ld.lld: error: kallsyms.c:(function reset_iter: .text+0x816): relocation R_RISCV_PCREL_HI20 out of range: -524470 is not in [-524288, 524287]; references kallsyms_names
   >>> defined in kernel/built-in.a(kallsyms.o)
--
>> ld.lld: error: kallsyms.c:(function update_iter: .text+0x87E): relocation R_RISCV_PCREL_HI20 out of range: -524470 is not in [-524288, 524287]; references kallsyms_num_syms
   >>> defined in kernel/built-in.a(kallsyms.o)
..

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 35956 bytes --]

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

only message in thread, other threads:[~2021-06-06 23:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-06 23:03 ld.lld: error: kallsyms.c:(function kallsyms_lookup_name: .text+0x42): relocation R_RISCV_PCREL_HI20 out of range: -524469 is not in [-524288, 524287]; references kallsyms_num_syms kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.