Advertisement
Guest User

error

a guest
Jul 17th, 2018
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.35 KB | None | 0 0
  1. 1 warning generated.
  2. [ 0% 127/87964] Building Kernel Config
  3. make: Entering directory '/home/luci/Discovery/kernel/xiaomi/sdm660'
  4. make[1]: Entering directory '/home/luci/Discovery/out/target/product/jason/obj/KERNEL_OBJ'
  5. GEN ./Makefile
  6. warning: (SND_SOC_WCD934X) selects SND_SOC_WCD_SPI which has unmet direct dependencies (SOUND && !M68K && !UML && SND && SND_SOC && CONFIG_SPI)
  7. warning: (SND_SOC_WCD934X) selects SND_SOC_WCD_SPI which has unmet direct dependencies (SOUND && !M68K && !UML && SND && SND_SOC && CONFIG_SPI)
  8. #
  9. # configuration written to .config
  10. #
  11. make[1]: Leaving directory '/home/luci/Discovery/out/target/product/jason/obj/KERNEL_OBJ'
  12. make: Leaving directory '/home/luci/Discovery/kernel/xiaomi/sdm660'
  13. make: Entering directory '/home/luci/Discovery/kernel/xiaomi/sdm660'
  14. make[1]: Entering directory '/home/luci/Discovery/out/target/product/jason/obj/KERNEL_OBJ'
  15. GEN ./Makefile
  16. scripts/kconfig/conf --savedefconfig=defconfig Kconfig
  17. warning: (SND_SOC_WCD934X) selects SND_SOC_WCD_SPI which has unmet direct dependencies (SOUND && !M68K && !UML && SND && SND_SOC && CONFIG_SPI)
  18. warning: (SND_SOC_WCD934X) selects SND_SOC_WCD_SPI which has unmet direct dependencies (SOUND && !M68K && !UML && SND && SND_SOC && CONFIG_SPI)
  19. make[1]: Leaving directory '/home/luci/Discovery/out/target/product/jason/obj/KERNEL_OBJ'
  20. make: Leaving directory '/home/luci/Discovery/kernel/xiaomi/sdm660'
  21. [ 0% 128/87964] Building Kernel
  22. FAILED: TARGET_KERNEL_BINARIES
  23. /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 )"
  24. make: Entering directory '/home/luci/Discovery/kernel/xiaomi/sdm660'
  25. make[1]: Entering directory '/home/luci/Discovery/out/target/product/jason/obj/KERNEL_OBJ'
  26. GEN ./Makefile
  27. scripts/kconfig/conf --silentoldconfig Kconfig
  28. warning: (SND_SOC_WCD934X) selects SND_SOC_WCD_SPI which has unmet direct dependencies (SOUND && !M68K && !UML && SND && SND_SOC && CONFIG_SPI)
  29. warning: (SND_SOC_WCD934X) selects SND_SOC_WCD_SPI which has unmet direct dependencies (SOUND && !M68K && !UML && SND && SND_SOC && CONFIG_SPI)
  30. CHK include/config/kernel.release
  31. Using /home/luci/Discovery/kernel/xiaomi/sdm660 as source for kernel
  32. GEN ./Makefile
  33. CHK include/generated/uapi/linux/version.h
  34. CHK include/generated/utsrelease.h
  35. CC kernel/bounds.s
  36. clang.real: warning: optimization flag '-fno-delete-null-pointer-checks' is not supported [-Wignored-optimization-argument]
  37. /home/luci/Discovery/kernel/xiaomi/sdm660/kernel/bounds.c:18:2: error: unexpected token at start of statement
  38. DEFINE(NR_PAGEFLAGS, __NR_PAGEFLAGS);
  39. ^
  40. /home/luci/Discovery/kernel/xiaomi/sdm660/include/linux/kbuild.h:5:25: note: expanded from macro 'DEFINE'
  41. asm volatile("\n->" #sym " %0 " #val : : "i" (val))
  42. ^
  43. <inline asm>:2:1: note: instantiated into assembly here
  44. ->NR_PAGEFLAGS $21 __NR_PAGEFLAGS
  45. ^
  46. /home/luci/Discovery/kernel/xiaomi/sdm660/kernel/bounds.c:19:2: error: unexpected token at start of statement
  47. DEFINE(MAX_NR_ZONES, __MAX_NR_ZONES);
  48. ^
  49. /home/luci/Discovery/kernel/xiaomi/sdm660/include/linux/kbuild.h:5:25: note: expanded from macro 'DEFINE'
  50. asm volatile("\n->" #sym " %0 " #val : : "i" (val))
  51. ^
  52. <inline asm>:2:1: note: instantiated into assembly here
  53. ->MAX_NR_ZONES $3 __MAX_NR_ZONES
  54. ^
  55. /home/luci/Discovery/kernel/xiaomi/sdm660/kernel/bounds.c:21:2: error: unexpected token at start of statement
  56. DEFINE(NR_CPUS_BITS, ilog2(CONFIG_NR_CPUS));
  57. ^
  58. /home/luci/Discovery/kernel/xiaomi/sdm660/include/linux/kbuild.h:5:25: note: expanded from macro 'DEFINE'
  59. asm volatile("\n->" #sym " %0 " #val : : "i" (val))
  60. ^
  61. <inline asm>:2:1: note: instantiated into assembly here
  62. ->NR_CPUS_BITS $3 ilog2(CONFIG_NR_CPUS)
  63. ^
  64. /home/luci/Discovery/kernel/xiaomi/sdm660/kernel/bounds.c:23:2: error: unexpected token at start of statement
  65. DEFINE(SPINLOCK_SIZE, sizeof(spinlock_t));
  66. ^
  67. /home/luci/Discovery/kernel/xiaomi/sdm660/include/linux/kbuild.h:5:25: note: expanded from macro 'DEFINE'
  68. asm volatile("\n->" #sym " %0 " #val : : "i" (val))
  69. ^
  70. <inline asm>:2:1: note: instantiated into assembly here
  71. ->SPINLOCK_SIZE $4 sizeof(spinlock_t)
  72. ^
  73. 4 errors generated.
  74. /home/luci/Discovery/kernel/xiaomi/sdm660/./Kbuild:44: recipe for target 'kernel/bounds.s' failed
  75. make[2]: *** [kernel/bounds.s] Error 1
  76. /home/luci/Discovery/kernel/xiaomi/sdm660/Makefile:992: recipe for target 'prepare0' failed
  77. make[1]: *** [prepare0] Error 2
  78. make[1]: Leaving directory '/home/luci/Discovery/out/target/product/jason/obj/KERNEL_OBJ'
  79. Makefile:146: recipe for target 'sub-make' failed
  80. make: *** [sub-make] Error 2
  81. make: Leaving directory '/home/luci/Discovery/kernel/xiaomi/sdm660'
  82. ninja: build stopped: subcommand failed.
  83. 11:41:17 ninja failed with: exit status 1
  84. build/core/main.mk:21: recipe for target 'run_soong_ui' failed
  85. make: *** [run_soong_ui] Error 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement