Building the Linux kernel with Clang and LLVM
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
Cc: oe-kbuild-all@lists.linux.dev, llvm@lists.linux.dev
Subject: [tip:sched/core 21/37] ld.lld: error: vmlinux.a(fs/nilfs2/alloc.o):(function nilfs_palloc_prepare_alloc_entry: .text+0x75c): relocation R_RISCV_HI20 out of range: 531709 is not in [-524288, 524287]; references 'phys_ram_base'
Date: Sat, 17 Oct 2026 16:18:09 +0800	[thread overview]
Message-ID: <202610171626.dM4nRKss-lkp@intel.com> (raw)

CC: linux-kernel@vger.kernel.org
CC: x86@kernel.org
TO: Andrea Righi <arighi@nvidia.com>
CC: Peter Zijlstra <peterz@infradead.org>
CC: Srikar Dronamraju <srikar@linux.ibm.com>
CC: K Prateek Nayak <kprateek.nayak@amd.com>
CC: Vincent Guittot <vincent.guittot@linaro.org>
CC: Kayra Cizmeci <kayracizmeci@gmail.com>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git sched/core
head:   b99b7f60c5b473d374c68b53753153b4aa9e0702
commit: c8fc4136fd3c58458592b77168f0916d08dbea5a [21/37] sched/fair: Honor asymmetric SMT priority in idle selection
config: riscv-randconfig-1001-20261017 (https://download.01.org/0day-ci/archive/20261017/202610171626.dM4nRKss-lkp@intel.com/config)
compiler: clang version 24.0.0git (https://github.com/llvm/llvm-project 6719b9e31d6a93099612c474eec76d9f41d0275a)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261017/202610171626.dM4nRKss-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202610171626.dM4nRKss-lkp@intel.com/

All errors (new ones prefixed by >>):

>> ld.lld: error: vmlinux.a(fs/nilfs2/alloc.o):(function nilfs_palloc_prepare_alloc_entry: .text+0x75c): relocation R_RISCV_HI20 out of range: 531709 is not in [-524288, 524287]; references 'phys_ram_base'
   >>> referenced by alloc.c:355 (fs/nilfs2/alloc.c:355)
   >>> defined in vmlinux.a(arch/riscv/mm/init.o)
--
>> ld.lld: error: vmlinux.a(fs/nilfs2/alloc.o):(function nilfs_palloc_prepare_alloc_entry: .text+0x764): relocation R_RISCV_HI20 out of range: 531709 is not in [-524288, 524287]; references 'kernel_map'
   >>> referenced by alloc.c:355 (fs/nilfs2/alloc.c:355)
   >>> defined in vmlinux.a(arch/riscv/mm/init.o)
--
>> ld.lld: error: vmlinux.a(fs/nilfs2/alloc.o):(function nilfs_palloc_prepare_alloc_entry: .text+0x844): relocation R_RISCV_HI20 out of range: 532680 is not in [-524288, 524287]; references 'mem_map'
   >>> referenced by alloc.c:355 (fs/nilfs2/alloc.c:355)
   >>> defined in vmlinux.a(mm/mm_init.o)
--
>> ld.lld: error: vmlinux.a(fs/nilfs2/alloc.o):(function nilfs_palloc_init_blockgroup: .text+0x28): relocation R_RISCV_HI20 out of range: 531709 is not in [-524288, 524287]; references 'kmalloc_caches'
   >>> referenced by slab.h:992 (include/linux/slab.h:992)
   >>> defined in vmlinux.a(mm/slab_common.o)
--
>> ld.lld: error: vmlinux.a(fs/nilfs2/alloc.o):(function nilfs_palloc_prepare_alloc_entry: .text+0x684): relocation R_RISCV_HI20 out of range: 525321 is not in [-524288, 524287]; references 'nilfs_palloc_desc_block_init'
   >>> referenced by alloc.c:355 (fs/nilfs2/alloc.c:355)
   >>> defined in vmlinux.a(fs/nilfs2/alloc.o)
--
>> ld.lld: error: vmlinux.a(drivers/scsi/scsi_trace.o):(function scsi_trace_parse_cdb: .text+0xec): relocation R_RISCV_HI20 out of range: 530523 is not in [-524288, 524287]; references '.LJTI0_0'
   >>> referenced by scsi_trace.c:0 (drivers/scsi/scsi_trace.c:0)
   >>> defined in vmlinux.a(drivers/scsi/scsi_trace.o)

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

                 reply	other threads:[~2026-10-17  8:18 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202610171626.dM4nRKss-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=llvm@lists.linux.dev \
    --cc=oe-kbuild-all@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox