All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-next:master 8660/8813] ld.lld: error: vmlinux.a(kernel/crash_core.o):(function crash_save_vmcoreinfo_init: .init.text+0x67c): relocation R_RISCV_PCREL_HI20 out of range: -526499 is not in [-524288, 524287]; references kallsyms_names
@ 2022-09-22 23:03 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-09-22 23:03 UTC (permalink / raw)
  Cc: kbuild-all, llvm

CC: Linux Memory Management List <linux-mm@kvack.org>
TO: Vignesh Raghavendra <vigneshr@ti.com>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   483fed3b5dc8ce3644c83d24240cf5756fb0993e
commit: a7c350a0e522caa4fb89ca3f28ab18091c75c419 [8660/8813] Merge branch 'ti-next' of git://git.kernel.org/pub/scm/linux/kernel/git/ti/linux.git
config: riscv-buildonly-randconfig-r002-20220922 (https://download.01.org/0day-ci/archive/20220923/202209230603.Y1zKLGtz-lkp@intel.com/config)
compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project 791a7ae1ba3efd6bca96338e10ffde557ba83920)
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/next/linux-next.git/commit/?id=a7c350a0e522caa4fb89ca3f28ab18091c75c419
        git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
        git fetch --no-tags linux-next master
        git checkout a7c350a0e522caa4fb89ca3f28ab18091c75c419
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=riscv SHELL=/bin/bash

If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

>> ld.lld: error: vmlinux.a(kernel/crash_core.o):(function crash_save_vmcoreinfo_init: .init.text+0x67c): relocation R_RISCV_PCREL_HI20 out of range: -526499 is not in [-524288, 524287]; references kallsyms_names
   >>> referenced by crash_core.c:260 (kernel/crash_core.c:260)
   >>> defined in vmlinux.a(kernel/kallsyms.o)
--
>> ld.lld: error: vmlinux.a(kernel/crash_core.o):(function crash_save_vmcoreinfo_init: .init.text+0x696): relocation R_RISCV_PCREL_HI20 out of range: -526499 is not in [-524288, 524287]; references kallsyms_num_syms
   >>> referenced by crash_core.c:267 (kernel/crash_core.c:267)
   >>> defined in vmlinux.a(kernel/kallsyms.o)
--
>> ld.lld: error: vmlinux.a(kernel/crash_core.o):(function crash_save_vmcoreinfo_init: .init.text+0x6b0): relocation R_RISCV_PCREL_HI20 out of range: -526499 is not in [-524288, 524287]; references kallsyms_token_table
   >>> referenced by crash_core.c:267 (kernel/crash_core.c:267)
   >>> defined in vmlinux.a(kernel/kallsyms.o)
--
>> ld.lld: error: vmlinux.a(kernel/crash_core.o):(function crash_save_vmcoreinfo_init: .init.text+0x6ca): relocation R_RISCV_PCREL_HI20 out of range: -526499 is not in [-524288, 524287]; references kallsyms_token_index
   >>> referenced by crash_core.c:267 (kernel/crash_core.c:267)
   >>> defined in vmlinux.a(kernel/kallsyms.o)
--
>> ld.lld: error: vmlinux.a(kernel/crash_core.o):(function crash_save_vmcoreinfo_init: .init.text+0x6e4): relocation R_RISCV_PCREL_HI20 out of range: -526499 is not in [-524288, 524287]; references kallsyms_offsets
   >>> referenced by crash_core.c:267 (kernel/crash_core.c:267)
   >>> defined in vmlinux.a(kernel/kallsyms.o)
--
>> ld.lld: error: vmlinux.a(kernel/crash_core.o):(function crash_save_vmcoreinfo_init: .init.text+0x6fe): relocation R_RISCV_PCREL_HI20 out of range: -526499 is not in [-524288, 524287]; references kallsyms_relative_base
   >>> referenced by crash_core.c:267 (kernel/crash_core.c:267)
   >>> defined in vmlinux.a(kernel/kallsyms.o)

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

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

only message in thread, other threads:[~2022-09-22 23:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-22 23:03 [linux-next:master 8660/8813] ld.lld: error: vmlinux.a(kernel/crash_core.o):(function crash_save_vmcoreinfo_init: .init.text+0x67c): relocation R_RISCV_PCREL_HI20 out of range: -526499 is not in [-524288, 524287]; references kallsyms_names 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.