llvm.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
* [linux-next:master 2926/4957] ld.lld: error: init/built-in.a(main.o):(function __traceiter_initcall_level: .text+0x12): relocation R_RISCV_HI20 out of range: 535591 is not in [-524288, 524287]; references __tracepoint_initcall_level
@ 2022-04-21  6:43 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-04-21  6:43 UTC (permalink / raw)
  Cc: kbuild-all, llvm

BCC: lkp@intel.com
CC: Linux Memory Management List <linux-mm@kvack.org>
TO: Lv Ruyi <lv.ruyi@zte.com.cn>
CC: Paolo Abeni <pabeni@redhat.com>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   f1244c81da13009dbf61cb807f45881501c44789
commit: ac6bef064f716ba67ab81054d53856f285bec307 [2926/4957] sfc: Fix spelling mistake "writting" -> "writing"
config: riscv-randconfig-r026-20220420 (https://download.01.org/0day-ci/archive/20220421/202204210555.DNvfHvIb-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project bac6cd5bf85669e3376610cfc4c4f9ca015e7b9b)
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=ac6bef064f716ba67ab81054d53856f285bec307
        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 ac6bef064f716ba67ab81054d53856f285bec307
        # 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 as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

>> ld.lld: error: init/built-in.a(main.o):(function __traceiter_initcall_level: .text+0x12): relocation R_RISCV_HI20 out of range: 535591 is not in [-524288, 524287]; references __tracepoint_initcall_level
   >>> referenced by main.c
   >>> defined in init/built-in.a(main.o)
--
>> ld.lld: error: init/built-in.a(main.o):(function __traceiter_initcall_level: .text+0x1c): relocation R_RISCV_HI20 out of range: 536064 is not in [-524288, 524287]; references __traceiter_initcall_level.__if_trace.1
   >>> referenced by main.c
   >>> defined in init/built-in.a(main.o)
--
>> ld.lld: error: init/built-in.a(main.o):(function trace_event_raw_event_initcall_level: .text+0x1e0): relocation R_RISCV_HI20 out of range: 536806 is not in [-524288, 524287]; references .LCPI3_0
   >>> referenced by main.c
   >>> defined in init/built-in.a(main.o)
--
>> ld.lld: error: init/built-in.a(main.o):(function trace_event_raw_event_initcall_level: .text+0x20c): relocation R_RISCV_HI20 out of range: 535663 is not in [-524288, 524287]; references trace_trigger_soft_disabled.______f.56
   >>> referenced by main.c
   >>> defined in init/built-in.a(main.o)
--
>> ld.lld: error: init/built-in.a(main.o):(function trace_event_raw_event_initcall_level: .text+0x222): relocation R_RISCV_HI20 out of range: 536064 is not in [-524288, 524287]; references trace_trigger_soft_disabled.__if_trace.0
   >>> referenced by main.c
   >>> defined in init/built-in.a(main.o)
--
>> ld.lld: error: init/built-in.a(main.o):(function trace_event_raw_event_initcall_level: .text+0x26c): relocation R_RISCV_HI20 out of range: 536064 is not in [-524288, 524287]; references trace_trigger_soft_disabled.__if_trace.59.0
   >>> referenced by main.c
   >>> defined in init/built-in.a(main.o)
--
>> ld.lld: error: init/built-in.a(main.o):(function trace_event_raw_event_initcall_level: .text+0x2a2): relocation R_RISCV_HI20 out of range: 536064 is not in [-524288, 524287]; references trace_event_raw_event_initcall_level.__if_trace.1
   >>> referenced by main.c
   >>> defined in init/built-in.a(main.o)
--
>> ld.lld: error: init/built-in.a(main.o):(function __traceiter_initcall_start: .text+0xae): relocation R_RISCV_HI20 out of range: 536064 is not in [-524288, 524287]; references __traceiter_initcall_start.__if_trace.1
   >>> referenced by main.c
   >>> defined in init/built-in.a(main.o)
--
>> ld.lld: error: init/built-in.a(main.o):(function __traceiter_initcall_finish: .text+0x144): relocation R_RISCV_HI20 out of range: 536064 is not in [-524288, 524287]; references __traceiter_initcall_finish.__if_trace.1
   >>> referenced by main.c
   >>> defined in init/built-in.a(main.o)
--
>> ld.lld: error: init/built-in.a(main.o):(function trace_event_raw_event_initcall_level: .text+0x1ca): relocation R_RISCV_HI20 out of range: 536823 is not in [-524288, 524287]; references __stack_chk_guard
   >>> referenced by main.c
   >>> defined in arch/riscv/built-in.a(kernel/process.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-04-21  6:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-21  6:43 [linux-next:master 2926/4957] ld.lld: error: init/built-in.a(main.o):(function __traceiter_initcall_level: .text+0x12): relocation R_RISCV_HI20 out of range: 535591 is not in [-524288, 524287]; references __tracepoint_initcall_level kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).