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: ld.lld: error: vmlinux.o:(function run_init_process: .text.unlikely.run_init_process+0x18): relocation R_RISCV_HI20 out of range: 529072 is not in [-524288, 524287]; references '.L_MergedGlobals'
Date: Mon, 20 Jan 2025 16:45:24 +0800	[thread overview]
Message-ID: <Z44NJDPJs4uF08bm@rli9-mobl> (raw)

CC: linux-kernel@vger.kernel.org
TO: Masahiro Yamada <masahiroy@kernel.org>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   ffd294d346d185b70e28b1a28abe367bbfe53c04
commit: bede169618c68379e1be7ace14e8ac85b964a9ec kbuild: enable objtool for *.mod.o and additional kernel objects
date:   8 weeks ago
:::::: branch date: 8 hours ago
:::::: commit date: 8 weeks ago
config: riscv-randconfig-002-20250120 (https://download.01.org/0day-ci/archive/20250120/202501201626.M3REz6Dq-lkp@intel.com/config)
compiler: clang version 20.0.0git (https://github.com/llvm/llvm-project c23f2417dc5f6dc371afb07af5627ec2a9d373a0)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250120/202501201626.M3REz6Dq-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/r/202501201626.M3REz6Dq-lkp@intel.com/

All errors (new ones prefixed by >>):

>> ld.lld: error: vmlinux.o:(function run_init_process: .text.unlikely.run_init_process+0x18): relocation R_RISCV_HI20 out of range: 529072 is not in [-524288, 524287]; references '.L_MergedGlobals'
   >>> referenced by main.c:1379 (init/main.c:1379)
   >>> defined in vmlinux.o
--
>> ld.lld: error: vmlinux.o:(function trace_initcall_finish_cb: .text.unlikely.trace_initcall_finish_cb+0x36): relocation R_RISCV_HI20 out of range: 528353 is not in [-524288, 524287]; references '.L.str.144'
   >>> referenced by main.c:1224 (init/main.c:1224)
   >>> defined in vmlinux.o
--
>> ld.lld: error: vmlinux.o:(function run_init_process: .text.unlikely.run_init_process+0x24): relocation R_RISCV_HI20 out of range: 528353 is not in [-524288, 524287]; references '.L.str.121'
   >>> referenced by main.c:1379 (init/main.c:1379)
   >>> defined in vmlinux.o
--
>> ld.lld: error: vmlinux.o:(function try_to_run_init_process: .text.unlikely.try_to_run_init_process+0x32): relocation R_RISCV_HI20 out of range: 528353 is not in [-524288, 524287]; references '.L.str.134'
   >>> referenced by main.c:1397 (init/main.c:1397)
   >>> defined in vmlinux.o
--
>> ld.lld: error: vmlinux.o:(function trace_initcall_start_cb: .text.unlikely.trace_initcall_start_cb+0x1a): relocation R_RISCV_HI20 out of range: 528281 is not in [-524288, 524287]; references '.L.str.142'
   >>> referenced by main.c:1212 (init/main.c:1212)
   >>> defined in vmlinux.o
--
>> ld.lld: error: vmlinux.o:(function trace_initcall_finish_cb: .text.unlikely.trace_initcall_finish_cb+0x20): relocation R_RISCV_HI20 out of range: 528121 is not in [-524288, 524287]; references '.LCPI60_0'
   >>> referenced by main.c:1221 (init/main.c:1221)
   >>> defined in vmlinux.o

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


                 reply	other threads:[~2025-01-20  8:45 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=Z44NJDPJs4uF08bm@rli9-mobl \
    --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