Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 1 warning generated.
- [ 0% 127/87964] Building Kernel Config
- make: Entering directory '/home/luci/Discovery/kernel/xiaomi/sdm660'
- make[1]: Entering directory '/home/luci/Discovery/out/target/product/jason/obj/KERNEL_OBJ'
- GEN ./Makefile
- warning: (SND_SOC_WCD934X) selects SND_SOC_WCD_SPI which has unmet direct dependencies (SOUND && !M68K && !UML && SND && SND_SOC && CONFIG_SPI)
- warning: (SND_SOC_WCD934X) selects SND_SOC_WCD_SPI which has unmet direct dependencies (SOUND && !M68K && !UML && SND && SND_SOC && CONFIG_SPI)
- #
- # configuration written to .config
- #
- make[1]: Leaving directory '/home/luci/Discovery/out/target/product/jason/obj/KERNEL_OBJ'
- make: Leaving directory '/home/luci/Discovery/kernel/xiaomi/sdm660'
- make: Entering directory '/home/luci/Discovery/kernel/xiaomi/sdm660'
- make[1]: Entering directory '/home/luci/Discovery/out/target/product/jason/obj/KERNEL_OBJ'
- GEN ./Makefile
- scripts/kconfig/conf --savedefconfig=defconfig Kconfig
- warning: (SND_SOC_WCD934X) selects SND_SOC_WCD_SPI which has unmet direct dependencies (SOUND && !M68K && !UML && SND && SND_SOC && CONFIG_SPI)
- warning: (SND_SOC_WCD934X) selects SND_SOC_WCD_SPI which has unmet direct dependencies (SOUND && !M68K && !UML && SND && SND_SOC && CONFIG_SPI)
- make[1]: Leaving directory '/home/luci/Discovery/out/target/product/jason/obj/KERNEL_OBJ'
- make: Leaving directory '/home/luci/Discovery/kernel/xiaomi/sdm660'
- [ 0% 128/87964] Building Kernel
- FAILED: TARGET_KERNEL_BINARIES
- /bin/bash -c "(rm -rf /home/luci/Discovery/out/target/product/jason/system/vendor/lib/modules ) && (mkdir -p /home/luci/Discovery/out/target/product/jason/system/vendor/lib/modules ) && (rm -rf /home/luci/Discovery/out/target/product/jason/obj/PACKAGING/depmod_vendor_intermediates ) && (make -j1 CFLAGS_MODULE=\"-fno-pic\" -C kernel/xiaomi/sdm660 O=/home/luci/Discovery/out/target/product/jason/obj/KERNEL_OBJ ARCH=arm64 CROSS_COMPILE=\"aarch64-linux-android-\" CLANG_TRIPLE=aarch64-linux-gnu- CC=\"/usr/bin/ccache /home/luci/Discovery/prebuilts/clang/host/linux-x86/clang-4053586/bin/clang\" Image.gz-dtb ) && (if grep -q '^CONFIG_OF=y' /home/luci/Discovery/out/target/product/jason/obj/KERNEL_OBJ/.config; then echo \"Building DTBs\"; make -j1 CFLAGS_MODULE=\"-fno-pic\" -C kernel/xiaomi/sdm660 O=/home/luci/Discovery/out/target/product/jason/obj/KERNEL_OBJ ARCH=arm64 CROSS_COMPILE=\"aarch64-linux-android-\" CLANG_TRIPLE=aarch64-linux-gnu- CC=\"/usr/bin/ccache /home/luci/Discovery/prebuilts/clang/host/linux-x86/clang-4053586/bin/clang\" dtbs; fi ) && (if grep -q '^CONFIG_MODULES=y' /home/luci/Discovery/out/target/product/jason/obj/KERNEL_OBJ/.config; then echo \"Building Kernel Modules\"; make -j1 CFLAGS_MODULE=\"-fno-pic\" -C kernel/xiaomi/sdm660 O=/home/luci/Discovery/out/target/product/jason/obj/KERNEL_OBJ ARCH=arm64 CROSS_COMPILE=\"aarch64-linux-android-\" CLANG_TRIPLE=aarch64-linux-gnu- CC=\"/usr/bin/ccache /home/luci/Discovery/prebuilts/clang/host/linux-x86/clang-4053586/bin/clang\" modules; fi )"
- make: Entering directory '/home/luci/Discovery/kernel/xiaomi/sdm660'
- make[1]: Entering directory '/home/luci/Discovery/out/target/product/jason/obj/KERNEL_OBJ'
- GEN ./Makefile
- scripts/kconfig/conf --silentoldconfig Kconfig
- warning: (SND_SOC_WCD934X) selects SND_SOC_WCD_SPI which has unmet direct dependencies (SOUND && !M68K && !UML && SND && SND_SOC && CONFIG_SPI)
- warning: (SND_SOC_WCD934X) selects SND_SOC_WCD_SPI which has unmet direct dependencies (SOUND && !M68K && !UML && SND && SND_SOC && CONFIG_SPI)
- CHK include/config/kernel.release
- Using /home/luci/Discovery/kernel/xiaomi/sdm660 as source for kernel
- GEN ./Makefile
- CHK include/generated/uapi/linux/version.h
- CHK include/generated/utsrelease.h
- CC kernel/bounds.s
- clang.real: warning: optimization flag '-fno-delete-null-pointer-checks' is not supported [-Wignored-optimization-argument]
- /home/luci/Discovery/kernel/xiaomi/sdm660/kernel/bounds.c:18:2: error: unexpected token at start of statement
- DEFINE(NR_PAGEFLAGS, __NR_PAGEFLAGS);
- ^
- /home/luci/Discovery/kernel/xiaomi/sdm660/include/linux/kbuild.h:5:25: note: expanded from macro 'DEFINE'
- asm volatile("\n->" #sym " %0 " #val : : "i" (val))
- ^
- <inline asm>:2:1: note: instantiated into assembly here
- ->NR_PAGEFLAGS $21 __NR_PAGEFLAGS
- ^
- /home/luci/Discovery/kernel/xiaomi/sdm660/kernel/bounds.c:19:2: error: unexpected token at start of statement
- DEFINE(MAX_NR_ZONES, __MAX_NR_ZONES);
- ^
- /home/luci/Discovery/kernel/xiaomi/sdm660/include/linux/kbuild.h:5:25: note: expanded from macro 'DEFINE'
- asm volatile("\n->" #sym " %0 " #val : : "i" (val))
- ^
- <inline asm>:2:1: note: instantiated into assembly here
- ->MAX_NR_ZONES $3 __MAX_NR_ZONES
- ^
- /home/luci/Discovery/kernel/xiaomi/sdm660/kernel/bounds.c:21:2: error: unexpected token at start of statement
- DEFINE(NR_CPUS_BITS, ilog2(CONFIG_NR_CPUS));
- ^
- /home/luci/Discovery/kernel/xiaomi/sdm660/include/linux/kbuild.h:5:25: note: expanded from macro 'DEFINE'
- asm volatile("\n->" #sym " %0 " #val : : "i" (val))
- ^
- <inline asm>:2:1: note: instantiated into assembly here
- ->NR_CPUS_BITS $3 ilog2(CONFIG_NR_CPUS)
- ^
- /home/luci/Discovery/kernel/xiaomi/sdm660/kernel/bounds.c:23:2: error: unexpected token at start of statement
- DEFINE(SPINLOCK_SIZE, sizeof(spinlock_t));
- ^
- /home/luci/Discovery/kernel/xiaomi/sdm660/include/linux/kbuild.h:5:25: note: expanded from macro 'DEFINE'
- asm volatile("\n->" #sym " %0 " #val : : "i" (val))
- ^
- <inline asm>:2:1: note: instantiated into assembly here
- ->SPINLOCK_SIZE $4 sizeof(spinlock_t)
- ^
- 4 errors generated.
- /home/luci/Discovery/kernel/xiaomi/sdm660/./Kbuild:44: recipe for target 'kernel/bounds.s' failed
- make[2]: *** [kernel/bounds.s] Error 1
- /home/luci/Discovery/kernel/xiaomi/sdm660/Makefile:992: recipe for target 'prepare0' failed
- make[1]: *** [prepare0] Error 2
- make[1]: Leaving directory '/home/luci/Discovery/out/target/product/jason/obj/KERNEL_OBJ'
- Makefile:146: recipe for target 'sub-make' failed
- make: *** [sub-make] Error 2
- make: Leaving directory '/home/luci/Discovery/kernel/xiaomi/sdm660'
- ninja: build stopped: subcommand failed.
- 11:41:17 ninja failed with: exit status 1
- build/core/main.mk:21: recipe for target 'run_soong_ui' failed
- make: *** [run_soong_ui] Error 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement