public inbox for llvm@lists.linux.dev
 help / color / mirror / Atom feed
* [rt-devel:linux-5.18.y-rt-rebase 62/78] ld.lld: error: init/built-in.a(main.o):(function __traceiter_initcall_start: .text+0xbc): relocation R_RISCV_HI20 out of range: 531598 is not in [-524288, 524287]; references __tracepoint_initcall_start
@ 2022-04-22 15:26 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-04-22 15:26 UTC (permalink / raw)
  Cc: kbuild-all, llvm

BCC: lkp@intel.com
CC: linux-kernel@vger.kernel.org
TO: "Yadi.hu" <yadi.hu@windriver.com>
CC: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
CC: Thomas Gleixner <tglx@linutronix.de>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-rt-devel.git linux-5.18.y-rt-rebase
head:   03e7725ddbfb0ffd7f3d7b257bfa504c6f795f6b
commit: 3aed8cf1fde30ca5631f4f59dbfb2c93013f3ff7 [62/78] ARM: enable irq in translation/section permission fault handlers
config: riscv-randconfig-r036-20220421 (https://download.01.org/0day-ci/archive/20220422/202204222313.FeHOkWge-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 5bd87350a5ae429baf8f373cb226a57b62f87280)
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/rt/linux-rt-devel.git/commit/?id=3aed8cf1fde30ca5631f4f59dbfb2c93013f3ff7
        git remote add rt-devel https://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-rt-devel.git
        git fetch --no-tags rt-devel linux-5.18.y-rt-rebase
        git checkout 3aed8cf1fde30ca5631f4f59dbfb2c93013f3ff7
        # 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_start: .text+0xbc): relocation R_RISCV_HI20 out of range: 531598 is not in [-524288, 524287]; references __tracepoint_initcall_start
   >>> 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+0x154): relocation R_RISCV_HI20 out of range: 531598 is not in [-524288, 524287]; references __tracepoint_initcall_finish
   >>> 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+0x240): relocation R_RISCV_HI20 out of range: 531618 is not in [-524288, 524287]; references trace_trigger_soft_disabled.______f.27
   >>> referenced by main.c
   >>> defined in init/built-in.a(main.o)
--
>> ld.lld: error: init/built-in.a(main.o):(function perf_trace_initcall_level: .text+0x388): relocation R_RISCV_HI20 out of range: 530554 is not in [-524288, 524287]; references .L.str.24
   >>> referenced by main.c
   >>> defined in init/built-in.a(main.o)

Kconfig warnings: (for reference only)
   WARNING: unmet direct dependencies detected for DRM_TTM
   Depends on HAS_IOMEM && DRM && MMU
   Selected by
   - DRM_TTM_HELPER && HAS_IOMEM && DRM
   - DRM_HISI_HIBMC && HAS_IOMEM && DRM && PCI && (ARM64 || COMPILE_TEST

-- 
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-22 15:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-22 15:26 [rt-devel:linux-5.18.y-rt-rebase 62/78] ld.lld: error: init/built-in.a(main.o):(function __traceiter_initcall_start: .text+0xbc): relocation R_RISCV_HI20 out of range: 531598 is not in [-524288, 524287]; references __tracepoint_initcall_start 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