All of lore.kernel.org
 help / color / mirror / Atom feed
* ld.lld: error: initramfs.c:(function wait_for_initramfs: .text+0x0): relocation R_RISCV_HI20 out of range: 529135 is not in
@ 2021-08-18 10:36 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-08-18 10:36 UTC (permalink / raw)
  To: kbuild-all

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

CC: linux-kernel(a)vger.kernel.org
TO: Yifan Zhang <yifan1.zhang@amd.com>
CC: Alex Deucher <alexander.deucher@amd.com>
CC: Felix Kuehling <Felix.Kuehling@amd.com>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   614cb2751d3150850d459bee596c397f344a7936
commit: 4cbbe34807938e6e494e535a68d5ff64edac3f20 drm/amdgpu/gfx9: fix the doorbell missing when in CGPG issue.
date:   9 weeks ago
config: riscv-randconfig-r036-20210817 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 2c6448cdc2f68f8c28fd0bd9404182b81306e6e6)
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=4cbbe34807938e6e494e535a68d5ff64edac3f20
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout 4cbbe34807938e6e494e535a68d5ff64edac3f20
        # 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: cpu.c:(function riscv_of_processor_hartid: .text+0x20): relocation R_RISCV_HI20 out of range: 528532 is not in [-524288, 524287]
>> ld.lld: error: initramfs.c:(function wait_for_initramfs: .text+0x0): relocation R_RISCV_HI20 out of range: 529135 is not in [-524288, 524287]
   ld.lld: error: signal.c:(function sys_rt_sigreturn: .text+0x1C): relocation R_RISCV_HI20 out of range: 524312 is not in [-524288, 524287]; references do_no_restart_syscall
   >>> defined in kernel/built-in.a(signal.o)
--
>> ld.lld: error: smpboot.c:(function __cpu_up: .text+0xA): relocation R_RISCV_HI20 out of range: 528568 is not in [-524288, 524287]; references cpu_ops
   >>> defined in arch/riscv/built-in.a(kernel/cpu_ops.o)
--
>> ld.lld: error: ptrace.c:(function __traceiter_sys_enter: .text+0xA): relocation R_RISCV_HI20 out of range: 529122 is not in [-524288, 524287]; references __tracepoint_sys_enter
   >>> defined in arch/riscv/built-in.a(kernel/ptrace.o)
--
>> ld.lld: error: traps.c:(function die: .text+0x16): relocation R_RISCV_HI20 out of range: 528783 is not in [-524288, 524287]
>> ld.lld: error: ptrace.c:(function __traceiter_sys_exit: .text+0x42): relocation R_RISCV_HI20 out of range: 529122 is not in [-524288, 524287]; references __tracepoint_sys_exit
   >>> defined in arch/riscv/built-in.a(kernel/ptrace.o)
--
>> ld.lld: error: calibrate.c:(function calibrate_delay: .text+0x16): relocation R_RISCV_HI20 out of range: 532360 is not in [-524288, 524287]; references __per_cpu_offset
   >>> defined in mm/built-in.a(percpu.o)
--
   ld.lld: error: patch.c:(function patch_text: .text+0x30): relocation R_RISCV_HI20 out of range: 524292 is not in [-524288, 524287]
>> ld.lld: error: process.c:(function show_regs: .text+0x14): relocation R_RISCV_HI20 out of range: 528544 is not in [-524288, 524287]
   ld.lld: error: main.c:(function __traceiter_initcall_start: .text+0x38): relocation R_RISCV_HI20 out of range: 529122 is not in [-524288, 524287]; references __tracepoint_initcall_start
   >>> defined in init/built-in.a(main.o)

Kconfig warnings: (for reference only)
   WARNING: unmet direct dependencies detected for LOCKDEP
   Depends on DEBUG_KERNEL && LOCK_DEBUGGING_SUPPORT && (FRAME_POINTER || MIPS || PPC || S390 || MICROBLAZE || ARM || ARC || X86)
   Selected by
   - PROVE_LOCKING && DEBUG_KERNEL && LOCK_DEBUGGING_SUPPORT
   - LOCK_STAT && DEBUG_KERNEL && LOCK_DEBUGGING_SUPPORT
   - DEBUG_LOCK_ALLOC && DEBUG_KERNEL && LOCK_DEBUGGING_SUPPORT

---
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: 33110 bytes --]

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

only message in thread, other threads:[~2021-08-18 10:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-18 10:36 ld.lld: error: initramfs.c:(function wait_for_initramfs: .text+0x0): relocation R_RISCV_HI20 out of range: 529135 is not in 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.