SHARE
TWEET

Lin 15.1 potter SDCLANG (incl. kernel) build error

aperio Apr 27th, 2018 103 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.   1% 1802/99446] Building Kernel Config
  2. make: Entering directory '/media/lubuntu/89fd54bd-f15b-4853-ab4e-83e86839bc35/lin-15.1/kernel/motorola/msm8953'
  3. make[1]: Entering directory '/media/lubuntu/89fd54bd-f15b-4853-ab4e-83e86839bc35/lin-15.1/out/target/product/potter/obj/KERNEL_OBJ'
  4.   GEN     ./Makefile
  5.   HOSTCC  scripts/basic/fixdep
  6.   SHIPPED scripts/kconfig/zconf.tab.c
  7.   HOSTCC  scripts/kconfig/conf.o
  8.   SHIPPED scripts/kconfig/zconf.lex.c
  9.   SHIPPED scripts/kconfig/zconf.hash.c
  10.   HOSTCC  scripts/kconfig/zconf.tab.o
  11.   HOSTLD  scripts/kconfig/conf
  12. arch/arm64/configs/potter_defconfig:140:warning: override: reassigning to symbol MEMCG
  13. warning: (SND_SOC_APQ8084 && SND_SOC_MSM8994 && SND_SOC_MSM8996 && SND_SOC_MSM8X16 && SND_SOC_MDM9607 && SND_SOC_MDM9640) selects SND_SOC_WCD9330 which has unmet direct dependencies (SOUND && !M68K && !UML && SND && SND_SOC && WCD9330_CODEC)
  14. warning: (SND_SOC_APQ8084 && SND_SOC_MSM8994 && SND_SOC_MSM8996 && SND_SOC_MSM8X16 && SND_SOC_MDM9607 && SND_SOC_MDM9640) selects SND_SOC_WCD9330 which has unmet direct dependencies (SOUND && !M68K && !UML && SND && SND_SOC && WCD9330_CODEC)
  15. #
  16. # configuration written to .config
  17. #
  18. make[1]: Leaving directory '/media/lubuntu/89fd54bd-f15b-4853-ab4e-83e86839bc35/lin-15.1/out/target/product/potter/obj/KERNEL_OBJ'
  19. make: Leaving directory '/media/lubuntu/89fd54bd-f15b-4853-ab4e-83e86839bc35/lin-15.1/kernel/motorola/msm8953'
  20. make: Entering directory '/media/lubuntu/89fd54bd-f15b-4853-ab4e-83e86839bc35/lin-15.1/kernel/motorola/msm8953'
  21. make[1]: Entering directory '/media/lubuntu/89fd54bd-f15b-4853-ab4e-83e86839bc35/lin-15.1/out/target/product/potter/obj/KERNEL_OBJ'
  22.   GEN     ./Makefile
  23. scripts/kconfig/conf --savedefconfig=defconfig Kconfig
  24. warning: (SND_SOC_APQ8084 && SND_SOC_MSM8994 && SND_SOC_MSM8996 && SND_SOC_MSM8X16 && SND_SOC_MDM9607 && SND_SOC_MDM9640) selects SND_SOC_WCD9330 which has unmet direct dependencies (SOUND && !M68K && !UML && SND && SND_SOC && WCD9330_CODEC)
  25. warning: (SND_SOC_APQ8084 && SND_SOC_MSM8994 && SND_SOC_MSM8996 && SND_SOC_MSM8X16 && SND_SOC_MDM9607 && SND_SOC_MDM9640) selects SND_SOC_WCD9330 which has unmet direct dependencies (SOUND && !M68K && !UML && SND && SND_SOC && WCD9330_CODEC)
  26. make[1]: Leaving directory '/media/lubuntu/89fd54bd-f15b-4853-ab4e-83e86839bc35/lin-15.1/out/target/product/potter/obj/KERNEL_OBJ'
  27. make: Leaving directory '/media/lubuntu/89fd54bd-f15b-4853-ab4e-83e86839bc35/lin-15.1/kernel/motorola/msm8953'
  28. [  2% 2148/99446] Building Kernel
  29. FAILED: TARGET_KERNEL_BINARIES
  30. /bin/bash -c "(rm -rf /media/lubuntu/89fd54bd-f15b-4853-ab4e-83e86839bc35/lin-15.1/out/target/product/potter/system/vendor/lib/modules ) && (mkdir -p /media/lubuntu/89fd54bd-f15b-4853-ab4e-83e86839bc35/lin-15.1/out/target/product/potter/system/vendor/lib/modules ) && (rm -rf /media/lubuntu/89fd54bd-f15b-4853-ab4e-83e86839bc35/lin-15.1/out/target/product/potter/obj/PACKAGING/depmod_vendor_intermediates ) && (make -j2  CFLAGS_MODULE=\"-fno-pic\" -C kernel/motorola/msm8953 O=/media/lubuntu/89fd54bd-f15b-4853-ab4e-83e86839bc35/lin-15.1/out/target/product/potter/obj/KERNEL_OBJ ARCH=arm64 CROSS_COMPILE=\"/media/lubuntu/89fd54bd-f15b-4853-ab4e-83e86839bc35/lin-15.1/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-utc-4.9/bin/aarch64-linux-androidkernel-\" CLANG_TRIPLE=aarch64-linux-gnu- CC=\"/usr/bin/ccache /media/lubuntu/89fd54bd-f15b-4853-ab4e-83e86839bc35/lin-15.1/prebuilts/snapdragon-llvm/toolchains/llvm-Snapdragon_LLVM_for_Android_4.0/prebuilt/linux-x86_64/bin/clang\" Image.gz ) && (if grep -q '^CONFIG_OF=y' /media/lubuntu/89fd54bd-f15b-4853-ab4e-83e86839bc35/lin-15.1/out/target/product/potter/obj/KERNEL_OBJ/.config; then          echo \"Building DTBs\";         make -j2  CFLAGS_MODULE=\"-fno-pic\" -C kernel/motorola/msm8953 O=/media/lubuntu/89fd54bd-f15b-4853-ab4e-83e86839bc35/lin-15.1/out/target/product/potter/obj/KERNEL_OBJ ARCH=arm64 CROSS_COMPILE=\"/media/lubuntu/89fd54bd-f15b-4853-ab4e-83e86839bc35/lin-15.1/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-utc-4.9/bin/aarch64-linux-androidkernel-\" CLANG_TRIPLE=aarch64-linux-gnu- CC=\"/usr/bin/ccache /media/lubuntu/89fd54bd-f15b-4853-ab4e-83e86839bc35/lin-15.1/prebuilts/snapdragon-llvm/toolchains/llvm-Snapdragon_LLVM_for_Android_4.0/prebuilt/linux-x86_64/bin/clang\" dtbs;        fi ) && (if grep -q '^CONFIG_MODULES=y' /media/lubuntu/89fd54bd-f15b-4853-ab4e-83e86839bc35/lin-15.1/out/target/product/potter/obj/KERNEL_OBJ/.config; then             echo \"Building Kernel Modules\";           make -j2  CFLAGS_MODULE=\"-fno-pic\" -C kernel/motorola/msm8953 O=/media/lubuntu/89fd54bd-f15b-4853-ab4e-83e86839bc35/lin-15.1/out/target/product/potter/obj/KERNEL_OBJ ARCH=arm64 CROSS_COMPILE=\"/media/lubuntu/89fd54bd-f15b-4853-ab4e-83e86839bc35/lin-15.1/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-utc-4.9/bin/aarch64-linux-androidkernel-\" CLANG_TRIPLE=aarch64-linux-gnu- CC=\"/usr/bin/ccache /media/lubuntu/89fd54bd-f15b-4853-ab4e-83e86839bc35/lin-15.1/prebuilts/snapdragon-llvm/toolchains/llvm-Snapdragon_LLVM_for_Android_4.0/prebuilt/linux-x86_64/bin/clang\" modules;         fi )"
  31. make: Entering directory '/media/lubuntu/89fd54bd-f15b-4853-ab4e-83e86839bc35/lin-15.1/kernel/motorola/msm8953'
  32. make[1]: Entering directory '/media/lubuntu/89fd54bd-f15b-4853-ab4e-83e86839bc35/lin-15.1/out/target/product/potter/obj/KERNEL_OBJ'
  33.   GEN     ./Makefile
  34. scripts/kconfig/conf --silentoldconfig Kconfig
  35. warning: (SND_SOC_APQ8084 && SND_SOC_MSM8994 && SND_SOC_MSM8996 && SND_SOC_MSM8X16 && SND_SOC_MDM9607 && SND_SOC_MDM9640) selects SND_SOC_WCD9330 which has unmet direct dependencies (SOUND && !M68K && !UML && SND && SND_SOC && WCD9330_CODEC)
  36. warning: (SND_SOC_APQ8084 && SND_SOC_MSM8994 && SND_SOC_MSM8996 && SND_SOC_MSM8X16 && SND_SOC_MDM9607 && SND_SOC_MDM9640) selects SND_SOC_WCD9330 which has unmet direct dependencies (SOUND && !M68K && !UML && SND && SND_SOC && WCD9330_CODEC)
  37.   CHK     include/config/kernel.release
  38.   GEN     ./Makefile
  39.   UPD     include/config/kernel.release
  40.   WRAP    arch/arm64/include/generated/asm/bugs.h
  41.   WRAP    arch/arm64/include/generated/asm/checksum.h
  42.   WRAP    arch/arm64/include/generated/asm/clkdev.h
  43.   WRAP    arch/arm64/include/generated/asm/cputime.h
  44.   WRAP    arch/arm64/include/generated/asm/current.h
  45.   WRAP    arch/arm64/include/generated/asm/delay.h
  46.   WRAP    arch/arm64/include/generated/asm/div64.h
  47.   WRAP    arch/arm64/include/generated/asm/dma.h
  48.   WRAP    arch/arm64/include/generated/asm/dma-contiguous.h
  49.   WRAP    arch/arm64/include/generated/asm/early_ioremap.h
  50.   WRAP    arch/arm64/include/generated/asm/emergency-restart.h
  51.   WRAP    arch/arm64/include/generated/asm/errno.h
  52.   WRAP    arch/arm64/include/generated/asm/ftrace.h
  53.   WRAP    arch/arm64/include/generated/asm/hash.h
  54.   WRAP    arch/arm64/include/generated/asm/hw_irq.h
  55.   WRAP    arch/arm64/include/generated/asm/ioctl.h
  56.   WRAP    arch/arm64/include/generated/asm/ioctls.h
  57.   WRAP    arch/arm64/include/generated/asm/ipcbuf.h
  58.   WRAP    arch/arm64/include/generated/asm/irq_regs.h
  59.   WRAP    arch/arm64/include/generated/asm/kdebug.h
  60.   WRAP    arch/arm64/include/generated/asm/kmap_types.h
  61.   WRAP    arch/arm64/include/generated/asm/kvm_para.h
  62.   WRAP    arch/arm64/include/generated/asm/local.h
  63.   WRAP    arch/arm64/include/generated/asm/local64.h
  64.   WRAP    arch/arm64/include/generated/asm/mcs_spinlock.h
  65.   WRAP    arch/arm64/include/generated/asm/mman.h
  66.   WRAP    arch/arm64/include/generated/asm/msgbuf.h
  67.   WRAP    arch/arm64/include/generated/asm/msi.h
  68.   WRAP    arch/arm64/include/generated/asm/mutex.h
  69.   WRAP    arch/arm64/include/generated/asm/pci.h
  70.   WRAP    arch/arm64/include/generated/asm/pci-bridge.h
  71.   WRAP    arch/arm64/include/generated/asm/poll.h
  72.   WRAP    arch/arm64/include/generated/asm/preempt.h
  73.   WRAP    arch/arm64/include/generated/asm/resource.h
  74.   WRAP    arch/arm64/include/generated/asm/rwsem.h
  75.   CHK     include/generated/uapi/linux/version.h
  76.   WRAP    arch/arm64/include/generated/asm/scatterlist.h
  77.   UPD     include/generated/uapi/linux/version.h
  78.   WRAP    arch/arm64/include/generated/asm/sections.h
  79.   WRAP    arch/arm64/include/generated/asm/segment.h
  80.   WRAP    arch/arm64/include/generated/asm/serial.h
  81.   WRAP    arch/arm64/include/generated/asm/sembuf.h
  82.   WRAP    arch/arm64/include/generated/asm/shmbuf.h
  83.   WRAP    arch/arm64/include/generated/asm/simd.h
  84.   WRAP    arch/arm64/include/generated/asm/socket.h
  85.   WRAP    arch/arm64/include/generated/asm/sizes.h
  86.   WRAP    arch/arm64/include/generated/asm/sockios.h
  87.   WRAP    arch/arm64/include/generated/asm/swab.h
  88.   WRAP    arch/arm64/include/generated/asm/switch_to.h
  89.   WRAP    arch/arm64/include/generated/asm/termbits.h
  90.   WRAP    arch/arm64/include/generated/asm/topology.h
  91.   WRAP    arch/arm64/include/generated/asm/termios.h
  92.   WRAP    arch/arm64/include/generated/asm/trace_clock.h
  93.   WRAP    arch/arm64/include/generated/asm/types.h
  94.   WRAP    arch/arm64/include/generated/asm/unaligned.h
  95.   WRAP    arch/arm64/include/generated/asm/user.h
  96.   WRAP    arch/arm64/include/generated/asm/vga.h
  97.   WRAP    arch/arm64/include/generated/asm/xor.h
  98.   CHK     include/generated/utsrelease.h
  99.   WRAP    arch/arm64/include/generated/uapi/asm/kvm_para.h
  100.   UPD     include/generated/utsrelease.h
  101.   HOSTCC  scripts/basic/bin2c
  102.   Using /media/lubuntu/89fd54bd-f15b-4853-ab4e-83e86839bc35/lin-15.1/kernel/motorola/msm8953 as source for kernel
  103.   HOSTCC  scripts/dtc/dtc.o
  104.   HOSTCC  scripts/genksyms/genksyms.o
  105.   HOSTCC  scripts/dtc/flattree.o
  106.   SHIPPED scripts/genksyms/parse.tab.c
  107.   SHIPPED scripts/genksyms/lex.lex.c
  108.   SHIPPED scripts/genksyms/keywords.hash.c
  109.   SHIPPED scripts/genksyms/parse.tab.h
  110.   HOSTCC  scripts/genksyms/parse.tab.o
  111.   HOSTCC  scripts/dtc/fstree.o
  112.   HOSTCC  scripts/dtc/data.o
  113.   HOSTCC  scripts/genksyms/lex.lex.o
  114.   HOSTCC  scripts/dtc/livetree.o
  115.   HOSTCC  scripts/dtc/treesource.o
  116.   HOSTLD  scripts/genksyms/genksyms
  117.   CC      scripts/mod/empty.o
  118.   HOSTCC  scripts/dtc/srcpos.o
  119. clang-4.0: error: Vectorization flags ignored because armv7/armv8 and neon not set [-Werror,-Wvectorizer-no-neon]
  120. /media/lubuntu/89fd54bd-f15b-4853-ab4e-83e86839bc35/lin-15.1/kernel/motorola/msm8953/scripts/Makefile.build:271: recipe for target 'scripts/mod/empty.o' failed
  121. make[3]: *** [scripts/mod/empty.o] Error 1
  122. /media/lubuntu/89fd54bd-f15b-4853-ab4e-83e86839bc35/lin-15.1/kernel/motorola/msm8953/scripts/Makefile.build:416: recipe for target 'scripts/mod' failed
  123. make[2]: *** [scripts/mod] Error 2
  124. make[2]: *** Waiting for unfinished jobs....
  125.   HOSTCC  scripts/dtc/checks.o
  126.   HOSTCC  scripts/dtc/util.o
  127.   SHIPPED scripts/dtc/dtc-lexer.lex.c
  128.   SHIPPED scripts/dtc/dtc-parser.tab.h
  129.   SHIPPED scripts/dtc/dtc-parser.tab.c
  130.   HOSTCC  scripts/dtc/dtc-lexer.lex.o
  131.   HOSTCC  scripts/dtc/dtc-parser.tab.o
  132.   HOSTLD  scripts/dtc/dtc
  133. /media/lubuntu/89fd54bd-f15b-4853-ab4e-83e86839bc35/lin-15.1/kernel/motorola/msm8953/Makefile:575: recipe for target 'scripts' failed
  134. make[1]: *** [scripts] Error 2
  135. make[1]: Leaving directory '/media/lubuntu/89fd54bd-f15b-4853-ab4e-83e86839bc35/lin-15.1/out/target/product/potter/obj/KERNEL_OBJ'
  136. Makefile:150: recipe for target 'sub-make' failed
  137. make: *** [sub-make] Error 2
  138. make: Leaving directory '/media/lubuntu/89fd54bd-f15b-4853-ab4e-83e86839bc35/lin-15.1/kernel/motorola/msm8953'
  139. [  2% 2153/99446] target  C: toybox <= external/toybox/toys/android/getprop.c
  140. ninja: build stopped: subcommand failed.
  141. 14:31:45 ninja failed with: exit status 1
  142.  
  143. #### failed to build some targets (03:39 (mm:ss)) ####
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top