Re: next-20250422: arch/riscv/kernel/vdso/vdso.so.dbg: dynamic relocations are not supported
From: Nathan Chancellor
Date: Wed Apr 30 2025 - 20:44:50 EST
On Wed, Apr 30, 2025 at 05:48:45PM +0200, Miguel Ojeda wrote:
> On Wed, 23 Apr 2025 20:15:45 +0530 Naresh Kamboju <naresh.kamboju@xxxxxxxxxx> wrote:
> >
> > build errors with clang
> > ld.lld: error: version script assignment of 'LINUX_4.15' to symbol
> > '__vdso_getrandom' failed: symbol not defined
> > llvm-nm: error: arch/riscv/kernel/compat_vdso/compat_vdso.so.dbg: No
> > such file or directory
>
> I have also been seeing this too in my Rust-enabled builds for a few
> days at least.
I forgot to follow up here and say that I sent a patch for this, it just
needs to be applied by the RISC-V folks.
https://lore.kernel.org/20250423-riscv-fix-compat_vdso-lld-v2-1-b7bbbc244501@xxxxxxxxxx/
Cheers,
Nathan