On Fri, Feb 22, 2019 at 12:24:26PM +0000, Vincenzo Frascino wrote: > Enable compat vDSO support in the arm64 defconfig. > > Note that the default compiler is set to arm-linux-gnueabihf-. > For this to take effect and for the compat vDSO to compile correctly, it > is required that this compiler is in the PATH. I do not have such a compiler in my path by default. I hope that we handle that gracefully, rather than causing a build failure. Can't we detect the presence of the compat compiler at config time, as happens for the native compiler? Thanks, Mark. > > Cc: Catalin Marinas <catalin.marinas@xxxxxxx> > Cc: Will Deacon <will.deacon@xxxxxxx> > Signed-off-by: Vincenzo Frascino <vincenzo.frascino@xxxxxxx> > --- > arch/arm64/configs/defconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig > index c8432e24207e..3adebe5f3573 100644 > --- a/arch/arm64/configs/defconfig > +++ b/arch/arm64/configs/defconfig > @@ -120,6 +120,7 @@ CONFIG_ACPI_APEI_MEMORY_FAILURE=y > CONFIG_ACPI_APEI_EINJ=y > CONFIG_VIRTUALIZATION=y > CONFIG_KVM=y > +CONFIG_CROSS_COMPILE_COMPAT_VDSO="arm-linux-gnueabihf-" > CONFIG_ARM64_CRYPTO=y > CONFIG_CRYPTO_SHA1_ARM64_CE=y > CONFIG_CRYPTO_SHA2_ARM64_CE=y > -- > 2.20.1 >