* arch/riscv/kernel/alternative.c:208:6: error: use of undeclared identifier 'compat__vdso_alternatives_start_offset'; did you mean '__vdso_alternatives_start_cfi_offset'?
@ 2026-10-13 16:32 kernel test robot
2026-10-13 16:50 ` Thomas Weißschuh
0 siblings, 1 reply; 2+ messages in thread
From: kernel test robot @ 2026-10-13 16:32 UTC (permalink / raw)
To: Thomas Weißschuh
Cc: oe-kbuild-all, linux-kernel, Paul Walmsley, Nam Cao
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 24a19b953e2a3d0ea5a8c4951a0ab8f32720c907
commit: 42cd1e1fc8995ec7ed5cc61957fc503eb065e0eb riscv: alternative: Also patch the compat vDSO
date: 10 weeks ago
config: riscv-randconfig-r2104-20261013 (https://download.01.org/0day-ci/archive/20261013/202610131828.0hZsGdvF-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/202610131828.0hZsGdvF-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: 42cd1e1fc899 ("riscv: alternative: Also patch the compat vDSO")
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202610131828.0hZsGdvF-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;
| ^
>> arch/riscv/kernel/alternative.c:208:6: error: use of undeclared identifier 'compat__vdso_alternatives_start_offset'; did you mean '__vdso_alternatives_start_cfi_offset'?
208 | compat__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:209:6: error: use of undeclared identifier 'compat__vdso_alternatives_end_offset'; did you mean '__vdso_alternatives_end_cfi_offset'?
209 | compat__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;
| ^
4 errors generated.
vim +208 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 if (IS_ENABLED(CONFIG_COMPAT))
207 apply_vdso_alternatives(compat_vdso_start,
> 208 compat__vdso_alternatives_start_offset,
> 209 compat__vdso_alternatives_end_offset);
210 }
211
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: arch/riscv/kernel/alternative.c:208:6: error: use of undeclared identifier 'compat__vdso_alternatives_start_offset'; did you mean '__vdso_alternatives_start_cfi_offset'?
2026-10-13 16:32 arch/riscv/kernel/alternative.c:208:6: error: use of undeclared identifier 'compat__vdso_alternatives_start_offset'; did you mean '__vdso_alternatives_start_cfi_offset'? kernel test robot
@ 2026-10-13 16:50 ` Thomas Weißschuh
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Weißschuh @ 2026-10-13 16:50 UTC (permalink / raw)
To: kernel test robot; +Cc: oe-kbuild-all, linux-kernel, Paul Walmsley, Nam Cao
On Tue, Oct 13, 2026 at 06:32:32PM +0200, kernel test robot wrote:
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> head: 24a19b953e2a3d0ea5a8c4951a0ab8f32720c907
> commit: 42cd1e1fc8995ec7ed5cc61957fc503eb065e0eb riscv: alternative: Also patch the compat vDSO
> date: 10 weeks ago
> config: riscv-randconfig-r2104-20261013 (https://download.01.org/0day-ci/archive/20261013/202610131828.0hZsGdvF-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/202610131828.0hZsGdvF-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: 42cd1e1fc899 ("riscv: alternative: Also patch the compat vDSO")
> | Reported-by: kernel test robot <lkp@intel.com>
> | Closes: https://lore.kernel.org/oe-kbuild-all/202610131828.0hZsGdvF-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
Same as https://lore.kernel.org/lkml/20261013180342-b562676b-7fd8-433b-8d3f-a6daef549a5e@linutronix.de/
(...)
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-10-13 16:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-13 16:32 arch/riscv/kernel/alternative.c:208:6: error: use of undeclared identifier 'compat__vdso_alternatives_start_offset'; did you mean '__vdso_alternatives_start_cfi_offset'? kernel test robot
2026-10-13 16:50 ` Thomas Weißschuh
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®