Closed sempervictus closed 11 months ago
Started hitting that C99 error a couple of revisions back - have been building with kCFI/LTO since the spring, this popped up sometime in August on 6.1 builds.
Digging back a bit, found commit 9ad49178 which changes static unsigned long vdso_addr(unsigned long start, unsigned len)
in arch/x86/entry/vdso/vma.c
. Since we're not actually using it, i guess its probably better to re-remove the function than reintroducing this one.
I think this is something @anthraxx will catch in the rebase and fix, so going to close this incorrect PR since it can easily be found for reference.
Clang16 and 17 throw a C99 error for the missing
align_vdso_addr
function referenced in arch/x86/entry/vdso/vma.c. Daniel removed it in 06aba60cf x86_64: move vdso to mmap region from stack region.Restore the function delcalration and header without reverting the original mapping mechanism using
vdso_addr
in vma.c.Fixes: