From 387914b6838926aef7225c8e2f02c7bc0fde6b99 Mon Sep 17 00:00:00 2001 From: Kamalesh Babulal Date: Wed, 20 Jan 2021 11:26:48 +0530 Subject: [PATCH] kpatch-gcc: powerpc - skip vdso files Starting v5.11-rc, kpatch-build fails on powerpc with the error: ERROR: invalid ancestor arch/powerpc/kernel/vdso64/vdso64.so.dbg for arch/powerpc/kernel/vdso64/vgettimeofday.o the upstream commit ab037dd87a2f(powerpc/vdso: Switch VDSO to generic implementation) introduced this breakage, lets skip vdso files. They are not compatible with kpatch. Signed-off-by: Kamalesh Babulal --- kpatch-build/kpatch-gcc | 1 + 1 file changed, 1 insertion(+) diff --git a/kpatch-build/kpatch-gcc b/kpatch-build/kpatch-gcc index 9663290..8f27fcc 100755 --- a/kpatch-build/kpatch-gcc +++ b/kpatch-build/kpatch-gcc @@ -42,6 +42,7 @@ if [[ "$TOOLCHAINCMD" =~ "gcc" ]] ; then arch/x86/entry/vdso/*|\ drivers/firmware/efi/libstub/*|\ arch/powerpc/kernel/prom_init.o|\ + arch/powerpc/kernel/vdso64/*|\ lib/*|\ .*.o|\ */.lib_exports.o)