From: kernel test robot <lkp@intel.com>
To: "Thomas Weißschuh " <thomas.weissschuh@linutronix.de>
Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org,
Paul Walmsley <pjw@kernel.org>, Nam Cao <namcao@linutronix.de>
Subject: arch/riscv/kernel/alternative.c:198:6: error: use of undeclared identifier '__vdso_alternatives_start_offset'; did you mean '__vdso_alternatives_start_cfi_offset'?
Date: Tue, 13 Oct 2026 17:01:07 +0200 [thread overview]
Message-ID: <202610131613.BpOi6VPp-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 24a19b953e2a3d0ea5a8c4951a0ab8f32720c907
commit: 63aecaba41a4b2593697f208e91bf542248ec4f8 riscv: alternative: Use the statically extracted vDSO section offsets
date: 10 weeks ago
config: riscv-randconfig-r2104-20261013 (https://download.01.org/0day-ci/archive/20261013/202610131613.BpOi6VPp-lkp@intel.com/config)
compiler: clang version 24.0.0git (https://github.com/llvm/llvm-project ce2a4984a3f43327a2b7c40baa74907bc10eb899)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261013/202610131613.BpOi6VPp-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
| Fixes: 63aecaba41a4 ("riscv: alternative: Use the statically extracted vDSO section offsets")
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202610131613.BpOi6VPp-lkp@intel.com/
All errors (new ones prefixed by >>):
>> arch/riscv/kernel/alternative.c:198:6: error: use of undeclared identifier '__vdso_alternatives_start_offset'; did you mean '__vdso_alternatives_start_cfi_offset'?
198 | __vdso_alternatives_start_offset,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| __vdso_alternatives_start_cfi_offset
arch/riscv/include/asm/vdso.h:29:15: note: '__vdso_alternatives_start_cfi_offset' declared here
29 | extern size_t __vdso_alternatives_start_cfi_offset, __vdso_alternatives_end_cfi_offset;
| ^
>> arch/riscv/kernel/alternative.c:199:6: error: use of undeclared identifier '__vdso_alternatives_end_offset'; did you mean '__vdso_alternatives_end_cfi_offset'?
199 | __vdso_alternatives_end_offset);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| __vdso_alternatives_end_cfi_offset
arch/riscv/include/asm/vdso.h:29:53: note: '__vdso_alternatives_end_cfi_offset' declared here
29 | extern size_t __vdso_alternatives_start_cfi_offset, __vdso_alternatives_end_cfi_offset;
| ^
2 errors generated.
vim +198 arch/riscv/kernel/alternative.c
186
187 void __init apply_boot_alternatives(void)
188 {
189 /* If called on non-boot cpu things could go wrong */
190 WARN_ON(smp_processor_id() != 0);
191
192 _apply_alternatives((struct alt_entry *)__alt_start,
193 (struct alt_entry *)__alt_end,
194 RISCV_ALTERNATIVES_BOOT);
195
196 if (IS_ENABLED(CONFIG_MMU))
197 apply_vdso_alternatives(vdso_start,
> 198 __vdso_alternatives_start_offset,
> 199 __vdso_alternatives_end_offset);
200
201 if (IS_ENABLED(CONFIG_RISCV_USER_CFI))
202 apply_vdso_alternatives(vdso_cfi_start,
203 __vdso_alternatives_start_cfi_offset,
204 __vdso_alternatives_end_cfi_offset);
205 }
206
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next reply other threads:[~2026-10-13 15:01 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-13 15:01 kernel test robot [this message]
2026-10-13 16:10 ` Thomas Weißschuh
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=202610131613.BpOi6VPp-lkp@intel.com \
--to=lkp@intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=namcao@linutronix.de \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=pjw@kernel.org \
--cc=thomas.weissschuh@linutronix.de \
/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
all inboxes | Powered by JetHome®