In file included from include/linux/jump_label.h:70:0,
from include/linux/static_key.h:1,
from include/linux/tracepoint.h:20,
from include/linux/module.h:18,
from arch/arm64/mm/fault.c:21:
/home/fpace/Android/android_kernel_oneplus_msm8994_5_1_1/arch/arm64/include/asm/jump_label.h: In function 'do_page_fault':
/home/fpace/Android/android_kernel_oneplus_msm8994_5_1_1/arch/arm64/include/asm/jump_label.h:30:2: warning: asm operand 0 probably doesn't match constraints
error, forbidden warning: jump_label.h:30
gmake[1]: * [arch/arm64/mm/fault.o] Error 1
gmake: * [arch/arm64/mm] Error 2
I just cloned the kernel on my PC and now I want to build kernel.
Here details about steps used:
export CC=/home/fpace/Android/aarch64-linux-android-4.9/bin/aarch64-linux-android- export CROSS_COMPILE=/home/fpace/Android/aarch64-linux-android-4.9/bin/aarch64-linux-android- export ARCH=arm64 export SUBARCH=arm64 export PLATFORM=msm8994-OnePlus2
make defconfig
alias make="make -j
grep -c processor /proc/cpuinfo | gawk '{print $1*2+1}'
ARCH=arm64"PATH=${PATH}:/home/fpace/Android/aarch64-linux-android-4.9/bin/aarch64-linux-android-
make
This is the output:
In file included from include/linux/jump_label.h:70:0, from include/linux/static_key.h:1, from include/linux/tracepoint.h:20, from include/linux/module.h:18, from arch/arm64/mm/fault.c:21: /home/fpace/Android/android_kernel_oneplus_msm8994_5_1_1/arch/arm64/include/asm/jump_label.h: In function 'do_page_fault': /home/fpace/Android/android_kernel_oneplus_msm8994_5_1_1/arch/arm64/include/asm/jump_label.h:30:2: warning: asm operand 0 probably doesn't match constraints error, forbidden warning: jump_label.h:30 gmake[1]: * [arch/arm64/mm/fault.o] Error 1 gmake: * [arch/arm64/mm] Error 2
Where I'm wrong?
Thanks