Reputation: 987
I'm trying to rebuild Kernel for Sony XZ based on Android Pie, but there is a error occuring like below. Message says " CROSS_COMPILE_ARM32 not defined or empty, the compat vDSO will not be built", it means I have to find 32-bit toolchains for compiling compat vDSO supported in Android Pie and set CROSS_COMPILE_ARM32 to an appropriate value. But I haven't yet found that toolchains so far. Can anybody help me?
arch/arm64/Makefile:83: *** CROSS_COMPILE_ARM32 not defined or empty, the compat vDSO will not be built. Stop.
Thank All !
Upvotes: 1
Views: 4829
Reputation: 3201
I had to change CONFIG_COMPAT_VDSO=y
to CONFIG_COMPAT_VDSO=n
in the kernel config.
Upvotes: 0
Reputation: 13947
during the script you need this before it starts compiling
export CC_FOR_BUILD=clang
Upvotes: 0