On 24/06/2020 13:22, Will Deacon wrote: > On Wed, Jun 24, 2020 at 12:57:23PM +0100, Jon Hunter wrote: >> On 24/06/2020 11:55, Will Deacon wrote: >>> diff --git a/arch/arm64/kernel/vdso/Makefile b/arch/arm64/kernel/vdso/Makefile >>> index 1e5a940532da..97d3d3632093 100644 >>> --- a/arch/arm64/kernel/vdso/Makefile >>> +++ b/arch/arm64/kernel/vdso/Makefile >>> @@ -23,8 +23,9 @@ btildflags-$(CONFIG_ARM64_BTI_KERNEL) += -z force-bti >>> # potential future proofing if we end up with internal calls to the exported >>> # routines, as x86 does (see 6f121e548f83 ("x86, vdso: Reimplement vdso.so >>> # preparation in build-time C")). >>> -ldflags-y := -shared -nostdlib -soname=linux-vdso.so.1 --hash-style=sysv \ >>> - -Bsymbolic --no-eh-frame-hdr --build-id -n $(btildflags-y) -T >>> +ldflags-y := -shared -nostdlib -soname=linux-vdso.so.1 --hash-style=sysv \ >>> + -Bsymbolic $(call ld-option, --no-eh-frame-hdr) --build-id -n \ >>> + $(btildflags-y) -T >>> >>> ccflags-y := -fno-common -fno-builtin -fno-stack-protector -ffixed-x18 >>> ccflags-y += -DDISABLE_BRANCH_PROFILING >>> >> >> >> I am seeing the same build failure and the above does fix it for me. > > Cheers, Jon. I'll get this into -next with your Tested-by. Thanks, that will be great. Jon -- nvpublic