On Fri, Nov 13, 2020 at 12:01:30AM +0200, Jarkko Sakkinen wrote: > diff --git a/arch/x86/entry/vdso/Makefile b/arch/x86/entry/vdso/Makefile > index 2ad757fb3c23..9915fbd34264 100644 > --- a/arch/x86/entry/vdso/Makefile > +++ b/arch/x86/entry/vdso/Makefile > @@ -27,6 +27,7 @@ VDSO32-$(CONFIG_IA32_EMULATION) := y > vobjs-y := vdso-note.o vclock_gettime.o vgetcpu.o > vobjs32-y := vdso32/note.o vdso32/system_call.o vdso32/sigreturn.o > vobjs32-y += vdso32/vclock_gettime.o > +vobjs-$(VDSO64-y) += vsgx.o Why? This needs to be CONFIG_X86_SGX as you need this vdso functionality only when SGX is enabled. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette