Forums - How to compile Android with the Snapdragon LLVM Compiler

56 posts / 0 new
Last post
nejrobbins
Join Date: 21 Jan 18
Posts: 6
Posted: Thu, 2018-07-26 17:58

Hi. I'm building CAF using this tag https://source.codeaurora.org/quic/la/platform/manifest/commit/?h=LA.UM.... for OP6 (Snapdragon 845). I'm in the process of creating the device tree, and to test, I ran make bootimage. I then get this error:

oblivionrom@oxygen-experience:~/OnePlus6/CAF$ make bootimage -j6
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=8.1.0
TARGET_PRODUCT=enchilada
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.13.0-39-generic-x86_64-with-Ubuntu-16.04-xenial
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=OPM1.171019.026
OUT_DIR=out
============================================
[44/44] bootstrap out/soong/.minibootstrap/build.ninja.in
[4/4] cp out/soong/.bootstrap/bin/bpglob
[865/866] glob vendor/qcom/opensource/interfaces/wifi/*/Android.bp
[37/54] test android/soong/cc/config
FAILED: out/soong/.bootstrap/soong-cc-config/test/test.passed 
out/soong/.bootstrap/bin/gotestrunner -p ./build/soong/cc/config -f out/soong/.bootstrap/soong-cc-config/test/test.passed -- out/soong/.bootstrap/soong-cc-config/test/test -test.short
panic: unexpected EOF
 
goroutine 1 [running]:
android/soong/cc/config.setSdclangVars()
/home/oblivionrom/OnePlus6/CAF/build/soong/cc/config/global.go:206 +0x17bc
android/soong/cc/config.init.2()
/home/oblivionrom/OnePlus6/CAF/build/soong/cc/config/global.go:179 +0xcd6
android/soong/cc/config.init()
/home/oblivionrom/OnePlus6/CAF/build/soong/cc/config/tidy_test.go:42 +0x3cbb
main.init()
/home/oblivionrom/OnePlus6/CAF/out/soong/.bootstrap/soong-cc-config/test/test.go:64 +0x58
[40/54] compile out/soong/.bootstrap/soong-cc/pkg/android/soong/cc.a
ninja: build stopped: subcommand failed.
20:50:14 soong failed with: exit status 1
 
#### failed to build some targets (9 seconds) ####

I tested as well with the generic sdm845 device (sdm845-userdebug in lunch) and get the same error (not pasting because the error is the same, just diffferences in the text at the beginning.
 
WHAT I'VE TRIED:
I have sdclang.json in my device tree (device/oneplus/enchilada) but had it also in the root of the CAF dir. The contents of this file are here: https://pastebin.com/nu8mTWAP. (enchilada is my custom device tree codename) I ran these 2 commands: 
export SDCLANG_CONFIG=sdclang.json 
export SDCLANG_AE_CONFIG=sdclang.json

and have placed the SDClang compiler in prebuilts/clang/linux-x86/host/sdclang-3.8. I also added this to my BoardConfig.mk: 

#SDCLang Config
ifneq ($(HOST_OS),darwin)
 
SDCLANG := true
 
SDCLANG_PATH := prebuilts/clang/linux-x86/host/sdclang-3.8/bin
 
SDCLANG_LTO_DEFS := device/qcom/common/sdllvm-lto-defs.mk
endif
 
Have I missed anything obvious?
Is there a fix for this error? Thanks :)

 

  • Up1
  • Down0
pstrong
Join Date: 12 May 16
Posts: 24
Posted: Fri, 2018-07-27 17:13

Hi nejrobbins,

The sdclang.json file is missing the top level braces.  It should look like this:

{

    "sdm845": {
        "SDCLANG": true,
        "SDCLANG_PATH": "prebuilts/clang/linux-x86/host/sdclang-3.8/bin",
        "SDCLANG_PATH_2": "prebuilts/clang/linux-x86/host/sdclang-3.8/bin",
        "SDCLANG_FLAGS": "-Wno-vectorizer-no-neon",
        "SDCLANG_FLAGS_2": "-Wno-vectorizer-no-neon"
    },
 
<<< other targets >>>
 
}
 
Also, the following Export should point to a non-existent file, like this:
 
export SDCLANG_AE_CONFIG=sdclang_xyz.json
 
Thanks, Paul
  • Up0
  • Down0
nejrobbins
Join Date: 21 Jan 18
Posts: 6
Posted: Fri, 2018-07-27 20:16
Hi, thanks for the response. I checked the file, and it turns out I just forgot to copy paste the top bracket. The full file looks like: pastebin.com/9DjE9k2Q Thanks, Nate
  • Up0
  • Down0
leon.su
Join Date: 5 Aug 18
Posts: 2
Posted: Wed, 2018-10-03 06:12

Hi all,

I'm encounted a build error with the board Intrinsyc SDA845,

I'v tried to change the clang to sdclang-3.8/sdclang-4.0/sdclang-4.0.2 but all build fail message seems the same like below,

Is any one can help me to figure out this? thanks

root@ubuntu-amigo:/home2/leon/845/SDA845_Open-Q_845_Android-O_v1.0# export SDCLANG_PATH=vendor/qcom/proprietary/llvm-arm-toolchain-ship/3.8/bin
root@ubuntu-amigo:/home2/leon/845/SDA845_Open-Q_845_Android-O_v1.0# make -j8 bootimage
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=8.1.0
TARGET_PRODUCT=sdm845
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=kryo300
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv7-a-neon
TARGET_2ND_CPU_VARIANT=cortex-a9
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.5.0-23-generic-x86_64-with-Ubuntu-12.04-precise
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=OPM1.171019.026
OUT_DIR=out
============================================
environment variables changed value:
   SDCLANG_PATH ("/home2/leon/845/SDA845_Open-Q_845_Android-O_v1.0/vendor/qcom/proprietary/llvm-arm-toolchain-ship/3.8/bin" -> "vendor/qcom/proprietary/llvm-arm-toolchain-ship/3.8/bin")
forcing build manifest regeneration
ninja: no work to do.
[1/1] out/soong/.bootstrap/bin/soong_build out/soong/build.ninja
out/build-sdm845.ninja is missing, regenerating...
[6/1020] including ./build/target/board/Android.mk ...
kernel/msm-4.9/AndroidKernel.mk:27: warning: Forcing kernel header generation only for 'arm64'
Using appended DTB
[138/1020] including ./disregard/Android.mk ...
Skipping Android.mk under disregard
[468/1020] including ./hardware/libhardware/Android.mk ...
hardware/libhardware/modules/sensors/Android.mk:49: warning: Treble enabled device have built-in sensor multihal support. USE_SENSOR_MULTI_HAL should not be set.
[482/1020] including ./kernel/Android.mk ...
Skipping Android.mk under kernel
[679/1020] including ./system/update_engine/Android.mk ...
./system/update_engine/Android.mk:504: warning: No PRODUCT_STATIC_BOOT_CONTROL_HAL configured but AB_OTA_UPDATER is true, no update sideload support.
[1019/1020] including ./vendor/qcom/opensource/wlan/utils/sigma-dut/Android.mk ...
fatal: No names found, cannot describe anything.
fatal: No names found, cannot describe anything.
[1020/1020] including ./vendor/qcom/proprietary/prebuilt_HY11/target/product/sdm845/Android.mk ...
build/core/Makefile:67: warning: Duplicate header copy: out/target/product/sdm845/obj/include/qcom/display/qd_utils.h
build/core/Makefile:67: warning: Defined in: hardware/qcom/display/libqdutils/../common.mk hardware/qcom/display/libqdutils/../common.mk
build/core/Makefile:67: warning: Duplicate header copy: out/target/product/sdm845/obj/include/cld80211-lib/cld80211_lib.h
build/core/Makefile:67: warning: Defined in: hardware/qcom/wlan/cld80211-lib/Android.mk hardware/qcom/wlan/cld80211-lib/Android.mk
No private recovery resources for TARGET_DEVICE sdm845
build/core/base_rules.mk:272: warning: overriding commands for target `out/target/product/sdm845/obj_arm/lib/libscveT2T_skel.so'
build/core/base_rules.mk:272: warning: ignoring old commands for target `out/target/product/sdm845/obj_arm/lib/libscveT2T_skel.so'
build/core/base_rules.mk:311: warning: overriding commands for target `out/target/product/sdm845/obj_arm/lib/libscveT2T_skel.so.toc'
build/core/base_rules.mk:311: warning: ignoring old commands for target `out/target/product/sdm845/obj_arm/lib/libscveT2T_skel.so.toc'
build/core/base_rules.mk:272: warning: overriding commands for target `out/target/product/sdm845/obj/lib/libscvePanorama.so'
build/core/base_rules.mk:272: warning: ignoring old commands for target `out/target/product/sdm845/obj/lib/libscvePanorama.so'
build/core/base_rules.mk:311: warning: overriding commands for target `out/target/product/sdm845/obj/lib/libscvePanorama.so.toc'
build/core/base_rules.mk:311: warning: ignoring old commands for target `out/target/product/sdm845/obj/lib/libscvePanorama.so.toc'
build/core/base_rules.mk:272: warning: overriding commands for target `out/target/product/sdm845/obj_arm/lib/libscvePanorama.so'
build/core/base_rules.mk:272: warning: ignoring old commands for target `out/target/product/sdm845/obj_arm/lib/libscvePanorama.so'
build/core/base_rules.mk:311: warning: overriding commands for target `out/target/product/sdm845/obj_arm/lib/libscvePanorama.so.toc'
build/core/base_rules.mk:311: warning: ignoring old commands for target `out/target/product/sdm845/obj_arm/lib/libscvePanorama.so.toc'
build/core/base_rules.mk:272: warning: overriding commands for target `out/target/product/sdm845/obj_arm/lib/libscveBlobDescriptor_skel.so'
build/core/base_rules.mk:272: warning: ignoring old commands for target `out/target/product/sdm845/obj_arm/lib/libscveBlobDescriptor_skel.so'
build/core/base_rules.mk:311: warning: overriding commands for target `out/target/product/sdm845/obj_arm/lib/libscveBlobDescriptor_skel.so.toc'
build/core/base_rules.mk:311: warning: ignoring old commands for target `out/target/product/sdm845/obj_arm/lib/libscveBlobDescriptor_skel.so.toc'
build/core/base_rules.mk:404: warning: overriding commands for target `out/target/product/sdm845/vendor/etc/init/vendor.qti.hardware.qteeconnector@1.0-service.rc'
build/core/base_rules.mk:390: warning: ignoring old commands for target `out/target/product/sdm845/vendor/etc/init/vendor.qti.hardware.qteeconnector@1.0-service.rc'
build/core/base_rules.mk:272: warning: overriding commands for target `out/target/product/sdm845/obj_arm/lib/libsns_low_lat_stream_skel.so'
build/core/base_rules.mk:272: warning: ignoring old commands for target `out/target/product/sdm845/obj_arm/lib/libsns_low_lat_stream_skel.so'
build/core/base_rules.mk:311: warning: overriding commands for target `out/target/product/sdm845/obj_arm/lib/libsns_low_lat_stream_skel.so.toc'
build/core/base_rules.mk:311: warning: ignoring old commands for target `out/target/product/sdm845/obj_arm/lib/libsns_low_lat_stream_skel.so.toc'
build/core/base_rules.mk:272: warning: overriding commands for target `out/target/product/sdm845/obj/lib/libscveFaceLandmarks.so'
build/core/base_rules.mk:272: warning: ignoring old commands for target `out/target/product/sdm845/obj/lib/libscveFaceLandmarks.so'
build/core/base_rules.mk:311: warning: overriding commands for target `out/target/product/sdm845/obj/lib/libscveFaceLandmarks.so.toc'
build/core/base_rules.mk:311: warning: ignoring old commands for target `out/target/product/sdm845/obj/lib/libscveFaceLandmarks.so.toc'
build/core/base_rules.mk:272: warning: overriding commands for target `out/target/product/sdm845/obj_arm/lib/libscveFaceLandmarks.so'
build/core/base_rules.mk:272: warning: ignoring old commands for target `out/target/product/sdm845/obj_arm/lib/libscveFaceLandmarks.so'
build/core/base_rules.mk:311: warning: overriding commands for target `out/target/product/sdm845/obj_arm/lib/libscveFaceLandmarks.so.toc'
build/core/base_rules.mk:311: warning: ignoring old commands for target `out/target/product/sdm845/obj_arm/lib/libscveFaceLandmarks.so.toc'
build/core/base_rules.mk:404: warning: overriding commands for target `out/target/product/sdm845/vendor/etc/init/vendor.qti.hardware.tui_comm@1.0-service-qti.rc'
build/core/base_rules.mk:390: warning: ignoring old commands for target `out/target/product/sdm845/vendor/etc/init/vendor.qti.hardware.tui_comm@1.0-service-qti.rc'
build/core/base_rules.mk:272: warning: overriding commands for target `out/target/product/sdm845/obj_arm/lib/libexternal_dog_skel.so'
build/core/base_rules.mk:272: warning: ignoring old commands for target `out/target/product/sdm845/obj_arm/lib/libexternal_dog_skel.so'
build/core/base_rules.mk:311: warning: overriding commands for target `out/target/product/sdm845/obj_arm/lib/libexternal_dog_skel.so.toc'
build/core/base_rules.mk:311: warning: ignoring old commands for target `out/target/product/sdm845/obj_arm/lib/libexternal_dog_skel.so.toc'
build/core/base_rules.mk:390: warning: overriding commands for target `out/target/product/sdm845/vendor/lib/rfsa/adsp/libexternal_dog_skel.so'
build/core/base_rules.mk:390: warning: ignoring old commands for target `out/target/product/sdm845/vendor/lib/rfsa/adsp/libexternal_dog_skel.so'
build/core/base_rules.mk:404: warning: overriding commands for target `out/target/product/sdm845/vendor/etc/init/vendor.qti.hardware.qdutils_disp@1.0-service-qti.rc'
build/core/base_rules.mk:390: warning: ignoring old commands for target `out/target/product/sdm845/vendor/etc/init/vendor.qti.hardware.qdutils_disp@1.0-service-qti.rc'
build/core/base_rules.mk:272: warning: overriding commands for target `out/target/product/sdm845/obj_arm/lib/libdspCV_skel.so'
build/core/base_rules.mk:272: warning: ignoring old commands for target `out/target/product/sdm845/obj_arm/lib/libdspCV_skel.so'
build/core/base_rules.mk:311: warning: overriding commands for target `out/target/product/sdm845/obj_arm/lib/libdspCV_skel.so.toc'
build/core/base_rules.mk:311: warning: ignoring old commands for target `out/target/product/sdm845/obj_arm/lib/libdspCV_skel.so.toc'
build/core/base_rules.mk:272: warning: overriding commands for target `out/target/product/sdm845/obj/lib/libsensorslog.so'
build/core/base_rules.mk:272: warning: ignoring old commands for target `out/target/product/sdm845/obj/lib/libsensorslog.so'
build/core/base_rules.mk:311: warning: overriding commands for target `out/target/product/sdm845/obj/lib/libsensorslog.so.toc'
build/core/base_rules.mk:311: warning: ignoring old commands for target `out/target/product/sdm845/obj/lib/libsensorslog.so.toc'
build/core/base_rules.mk:272: warning: overriding commands for target `out/target/product/sdm845/obj_arm/lib/libsensorslog.so'
build/core/base_rules.mk:272: warning: ignoring old commands for target `out/target/product/sdm845/obj_arm/lib/libsensorslog.so'
build/core/base_rules.mk:311: warning: overriding commands for target `out/target/product/sdm845/obj_arm/lib/libsensorslog.so.toc'
build/core/base_rules.mk:311: warning: ignoring old commands for target `out/target/product/sdm845/obj_arm/lib/libsensorslog.so.toc'
build/core/base_rules.mk:404: warning: overriding commands for target `out/target/product/sdm845/vendor/etc/init/android.hardware.gatekeeper@1.0-service-qti.rc'
build/core/base_rules.mk:390: warning: ignoring old commands for target `out/target/product/sdm845/vendor/etc/init/android.hardware.gatekeeper@1.0-service-qti.rc'
build/core/base_rules.mk:272: warning: overriding commands for target `out/target/product/sdm845/obj_arm/lib/libfastcvadsp.so'
build/core/base_rules.mk:272: warning: ignoring old commands for target `out/target/product/sdm845/obj_arm/lib/libfastcvadsp.so'
build/core/base_rules.mk:311: warning: overriding commands for target `out/target/product/sdm845/obj_arm/lib/libfastcvadsp.so.toc'
build/core/base_rules.mk:311: warning: ignoring old commands for target `out/target/product/sdm845/obj_arm/lib/libfastcvadsp.so.toc'
build/core/base_rules.mk:272: warning: overriding commands for target `out/target/product/sdm845/obj/lib/libsns_low_lat_stream_stub.so'
build/core/base_rules.mk:272: warning: ignoring old commands for target `out/target/product/sdm845/obj/lib/libsns_low_lat_stream_stub.so'
build/core/base_rules.mk:311: warning: overriding commands for target `out/target/product/sdm845/obj/lib/libsns_low_lat_stream_stub.so.toc'
build/core/base_rules.mk:311: warning: ignoring old commands for target `out/target/product/sdm845/obj/lib/libsns_low_lat_stream_stub.so.toc'
build/core/base_rules.mk:272: warning: overriding commands for target `out/target/product/sdm845/obj_arm/lib/libsns_low_lat_stream_stub.so'
build/core/base_rules.mk:272: warning: ignoring old commands for target `out/target/product/sdm845/obj_arm/lib/libsns_low_lat_stream_stub.so'
build/core/base_rules.mk:311: warning: overriding commands for target `out/target/product/sdm845/obj_arm/lib/libsns_low_lat_stream_stub.so.toc'
build/core/base_rules.mk:311: warning: ignoring old commands for target `out/target/product/sdm845/obj_arm/lib/libsns_low_lat_stream_stub.so.toc'
build/core/base_rules.mk:272: warning: overriding commands for target `out/target/product/sdm845/obj/lib/libscveObjectTracker.so'
build/core/base_rules.mk:272: warning: ignoring old commands for target `out/target/product/sdm845/obj/lib/libscveObjectTracker.so'
build/core/base_rules.mk:311: warning: overriding commands for target `out/target/product/sdm845/obj/lib/libscveObjectTracker.so.toc'
build/core/base_rules.mk:311: warning: ignoring old commands for target `out/target/product/sdm845/obj/lib/libscveObjectTracker.so.toc'
build/core/base_rules.mk:272: warning: overriding commands for target `out/target/product/sdm845/obj_arm/lib/libscveObjectTracker.so'
build/core/base_rules.mk:272: warning: ignoring old commands for target `out/target/product/sdm845/obj_arm/lib/libscveObjectTracker.so'
build/core/base_rules.mk:311: warning: overriding commands for target `out/target/product/sdm845/obj_arm/lib/libscveObjectTracker.so.toc'
build/core/base_rules.mk:311: warning: ignoring old commands for target `out/target/product/sdm845/obj_arm/lib/libscveObjectTracker.so.toc'
build/core/base_rules.mk:272: warning: overriding commands for target `out/target/product/sdm845/obj/lib/libscveBlobDescriptor.so'
build/core/base_rules.mk:272: warning: ignoring old commands for target `out/target/product/sdm845/obj/lib/libscveBlobDescriptor.so'
build/core/base_rules.mk:311: warning: overriding commands for target `out/target/product/sdm845/obj/lib/libscveBlobDescriptor.so.toc'
build/core/base_rules.mk:311: warning: ignoring old commands for target `out/target/product/sdm845/obj/lib/libscveBlobDescriptor.so.toc'
build/core/base_rules.mk:272: warning: overriding commands for target `out/target/product/sdm845/obj_arm/lib/libscveBlobDescriptor.so'
build/core/base_rules.mk:272: warning: ignoring old commands for target `out/target/product/sdm845/obj_arm/lib/libscveBlobDescriptor.so'
build/core/base_rules.mk:311: warning: overriding commands for target `out/target/product/sdm845/obj_arm/lib/libscveBlobDescriptor.so.toc'
build/core/base_rules.mk:311: warning: ignoring old commands for target `out/target/product/sdm845/obj_arm/lib/libscveBlobDescriptor.so.toc'
build/core/base_rules.mk:272: warning: overriding commands for target `out/target/product/sdm845/obj_arm/lib/libapps_mem_heap.so'
build/core/base_rules.mk:272: warning: ignoring old commands for target `out/target/product/sdm845/obj_arm/lib/libapps_mem_heap.so'
build/core/base_rules.mk:311: warning: overriding commands for target `out/target/product/sdm845/obj_arm/lib/libapps_mem_heap.so.toc'
build/core/base_rules.mk:311: warning: ignoring old commands for target `out/target/product/sdm845/obj_arm/lib/libapps_mem_heap.so.toc'
build/core/base_rules.mk:272: warning: overriding commands for target `out/target/product/sdm845/obj/lib/libfastcvdsp_stub.so'
build/core/base_rules.mk:272: warning: ignoring old commands for target `out/target/product/sdm845/obj/lib/libfastcvdsp_stub.so'
build/core/base_rules.mk:311: warning: overriding commands for target `out/target/product/sdm845/obj/lib/libfastcvdsp_stub.so.toc'
build/core/base_rules.mk:311: warning: ignoring old commands for target `out/target/product/sdm845/obj/lib/libfastcvdsp_stub.so.toc'
build/core/base_rules.mk:272: warning: overriding commands for target `out/target/product/sdm845/obj_arm/lib/libfastcvdsp_stub.so'
build/core/base_rules.mk:272: warning: ignoring old commands for target `out/target/product/sdm845/obj_arm/lib/libfastcvdsp_stub.so'
build/core/base_rules.mk:311: warning: overriding commands for target `out/target/product/sdm845/obj_arm/lib/libfastcvdsp_stub.so.toc'
build/core/base_rules.mk:311: warning: ignoring old commands for target `out/target/product/sdm845/obj_arm/lib/libfastcvdsp_stub.so.toc'
build/core/base_rules.mk:272: warning: overriding commands for target `out/target/product/sdm845/obj/lib/libgpqese.so'
build/core/base_rules.mk:272: warning: ignoring old commands for target `out/target/product/sdm845/obj/lib/libgpqese.so'
build/core/base_rules.mk:311: warning: overriding commands for target `out/target/product/sdm845/obj/lib/libgpqese.so.toc'
build/core/base_rules.mk:311: warning: ignoring old commands for target `out/target/product/sdm845/obj/lib/libgpqese.so.toc'
build/core/base_rules.mk:272: warning: overriding commands for target `out/target/product/sdm845/obj_arm/lib/libgpqese.so'
build/core/base_rules.mk:272: warning: ignoring old commands for target `out/target/product/sdm845/obj_arm/lib/libgpqese.so'
build/core/base_rules.mk:311: warning: overriding commands for target `out/target/product/sdm845/obj_arm/lib/libgpqese.so.toc'
build/core/base_rules.mk:311: warning: ignoring old commands for target `out/target/product/sdm845/obj_arm/lib/libgpqese.so.toc'
build/core/base_rules.mk:272: warning: overriding commands for target `out/target/product/sdm845/obj/lib/libUSTANative.so'
build/core/base_rules.mk:272: warning: ignoring old commands for target `out/target/product/sdm845/obj/lib/libUSTANative.so'
build/core/base_rules.mk:311: warning: overriding commands for target `out/target/product/sdm845/obj/lib/libUSTANative.so.toc'
build/core/base_rules.mk:311: warning: ignoring old commands for target `out/target/product/sdm845/obj/lib/libUSTANative.so.toc'
build/core/base_rules.mk:272: warning: overriding commands for target `out/target/product/sdm845/obj/lib/libsnsdiaglog.so'
build/core/base_rules.mk:272: warning: ignoring old commands for target `out/target/product/sdm845/obj/lib/libsnsdiaglog.so'
build/core/base_rules.mk:311: warning: overriding commands for target `out/target/product/sdm845/obj/lib/libsnsdiaglog.so.toc'
build/core/base_rules.mk:311: warning: ignoring old commands for target `out/target/product/sdm845/obj/lib/libsnsdiaglog.so.toc'
build/core/base_rules.mk:272: warning: overriding commands for target `out/target/product/sdm845/obj_arm/lib/libsnsdiaglog.so'
build/core/base_rules.mk:272: warning: ignoring old commands for target `out/target/product/sdm845/obj_arm/lib/libsnsdiaglog.so'
build/core/base_rules.mk:311: warning: overriding commands for target `out/target/product/sdm845/obj_arm/lib/libsnsdiaglog.so.toc'
build/core/base_rules.mk:311: warning: ignoring old commands for target `out/target/product/sdm845/obj_arm/lib/libsnsdiaglog.so.toc'
build/core/base_rules.mk:272: warning: overriding commands for target `out/target/product/sdm845/obj/lib/libsensor_low_lat.so'
build/core/base_rules.mk:272: warning: ignoring old commands for target `out/target/product/sdm845/obj/lib/libsensor_low_lat.so'
build/core/base_rules.mk:311: warning: overriding commands for target `out/target/product/sdm845/obj/lib/libsensor_low_lat.so.toc'
build/core/base_rules.mk:311: warning: ignoring old commands for target `out/target/product/sdm845/obj/lib/libsensor_low_lat.so.toc'
build/core/base_rules.mk:272: warning: overriding commands for target `out/target/product/sdm845/obj/lib/libssc.so'
build/core/base_rules.mk:272: warning: ignoring old commands for target `out/target/product/sdm845/obj/lib/libssc.so'
build/core/base_rules.mk:311: warning: overriding commands for target `out/target/product/sdm845/obj/lib/libssc.so.toc'
build/core/base_rules.mk:311: warning: ignoring old commands for target `out/target/product/sdm845/obj/lib/libssc.so.toc'
build/core/base_rules.mk:272: warning: overriding commands for target `out/target/product/sdm845/obj_arm/lib/libssc.so'
build/core/base_rules.mk:272: warning: ignoring old commands for target `out/target/product/sdm845/obj_arm/lib/libssc.so'
build/core/base_rules.mk:311: warning: overriding commands for target `out/target/product/sdm845/obj_arm/lib/libssc.so.toc'
build/core/base_rules.mk:311: warning: ignoring old commands for target `out/target/product/sdm845/obj_arm/lib/libssc.so.toc'
build/core/base_rules.mk:404: warning: overriding commands for target `out/target/product/sdm845/vendor/etc/init/android.hardware.keymaster@3.0-service-qti.rc'
build/core/base_rules.mk:390: warning: ignoring old commands for target `out/target/product/sdm845/vendor/etc/init/android.hardware.keymaster@3.0-service-qti.rc'
build/core/base_rules.mk:272: warning: overriding commands for target `out/target/product/sdm845/obj/lib/libscveScan3D.so'
build/core/base_rules.mk:272: warning: ignoring old commands for target `out/target/product/sdm845/obj/lib/libscveScan3D.so'
build/core/base_rules.mk:311: warning: overriding commands for target `out/target/product/sdm845/obj/lib/libscveScan3D.so.toc'
build/core/base_rules.mk:311: warning: ignoring old commands for target `out/target/product/sdm845/obj/lib/libscveScan3D.so.toc'
build/core/base_rules.mk:272: warning: overriding commands for target `out/target/product/sdm845/obj_arm/lib/libscveScan3D.so'
build/core/base_rules.mk:272: warning: ignoring old commands for target `out/target/product/sdm845/obj_arm/lib/libscveScan3D.so'
build/core/base_rules.mk:311: warning: overriding commands for target `out/target/product/sdm845/obj_arm/lib/libscveScan3D.so.toc'
build/core/base_rules.mk:311: warning: ignoring old commands for target `out/target/product/sdm845/obj_arm/lib/libscveScan3D.so.toc'
build/core/base_rules.mk:272: warning: overriding commands for target `out/target/product/sdm845/obj_arm/lib/libfastcvdsp_skel.so'
build/core/base_rules.mk:272: warning: ignoring old commands for target `out/target/product/sdm845/obj_arm/lib/libfastcvdsp_skel.so'
build/core/base_rules.mk:311: warning: overriding commands for target `out/target/product/sdm845/obj_arm/lib/libfastcvdsp_skel.so.toc'
build/core/base_rules.mk:311: warning: ignoring old commands for target `out/target/product/sdm845/obj_arm/lib/libfastcvdsp_skel.so.toc'
build/core/base_rules.mk:272: warning: overriding commands for target `out/target/product/sdm845/obj/lib/libfastcvopt.so'
build/core/base_rules.mk:272: warning: ignoring old commands for target `out/target/product/sdm845/obj/lib/libfastcvopt.so'
build/core/base_rules.mk:311: warning: overriding commands for target `out/target/product/sdm845/obj/lib/libfastcvopt.so.toc'
build/core/base_rules.mk:311: warning: ignoring old commands for target `out/target/product/sdm845/obj/lib/libfastcvopt.so.toc'
build/core/base_rules.mk:272: warning: overriding commands for target `out/target/product/sdm845/obj_arm/lib/libfastcvopt.so'
build/core/base_rules.mk:272: warning: ignoring old commands for target `out/target/product/sdm845/obj_arm/lib/libfastcvopt.so'
build/core/base_rules.mk:311: warning: overriding commands for target `out/target/product/sdm845/obj_arm/lib/libfastcvopt.so.toc'
build/core/base_rules.mk:311: warning: ignoring old commands for target `out/target/product/sdm845/obj_arm/lib/libfastcvopt.so.toc'
build/core/base_rules.mk:272: warning: overriding commands for target `out/target/product/sdm845/obj/lib/libscveBlobDescriptor_stub.so'
build/core/base_rules.mk:272: warning: ignoring old commands for target `out/target/product/sdm845/obj/lib/libscveBlobDescriptor_stub.so'
build/core/base_rules.mk:311: warning: overriding commands for target `out/target/product/sdm845/obj/lib/libscveBlobDescriptor_stub.so.toc'
build/core/base_rules.mk:311: warning: ignoring old commands for target `out/target/product/sdm845/obj/lib/libscveBlobDescriptor_stub.so.toc'
build/core/base_rules.mk:272: warning: overriding commands for target `out/target/product/sdm845/obj_arm/lib/libscveBlobDescriptor_stub.so'
build/core/base_rules.mk:272: warning: ignoring old commands for target `out/target/product/sdm845/obj_arm/lib/libscveBlobDescriptor_stub.so'
build/core/base_rules.mk:311: warning: overriding commands for target `out/target/product/sdm845/obj_arm/lib/libscveBlobDescriptor_stub.so.toc'
build/core/base_rules.mk:311: warning: ignoring old commands for target `out/target/product/sdm845/obj_arm/lib/libscveBlobDescriptor_stub.so.toc'
build/core/base_rules.mk:272: warning: overriding commands for target `out/target/product/sdm845/obj/lib/libscveObjectSegmentation.so'
build/core/base_rules.mk:272: warning: ignoring old commands for target `out/target/product/sdm845/obj/lib/libscveObjectSegmentation.so'
build/core/base_rules.mk:311: warning: overriding commands for target `out/target/product/sdm845/obj/lib/libscveObjectSegmentation.so.toc'
build/core/base_rules.mk:311: warning: ignoring old commands for target `out/target/product/sdm845/obj/lib/libscveObjectSegmentation.so.toc'
build/core/base_rules.mk:272: warning: overriding commands for target `out/target/product/sdm845/obj_arm/lib/libscveObjectSegmentation.so'
build/core/base_rules.mk:272: warning: ignoring old commands for target `out/target/product/sdm845/obj_arm/lib/libscveObjectSegmentation.so'
build/core/base_rules.mk:311: warning: overriding commands for target `out/target/product/sdm845/obj_arm/lib/libscveObjectSegmentation.so.toc'
build/core/base_rules.mk:311: warning: ignoring old commands for target `out/target/product/sdm845/obj_arm/lib/libscveObjectSegmentation.so.toc'
build/core/base_rules.mk:272: warning: overriding commands for target `out/target/product/sdm845/obj/lib/libSensorCalLibNative.so'
build/core/base_rules.mk:272: warning: ignoring old commands for target `out/target/product/sdm845/obj/lib/libSensorCalLibNative.so'
build/core/base_rules.mk:311: warning: overriding commands for target `out/target/product/sdm845/obj/lib/libSensorCalLibNative.so.toc'
build/core/base_rules.mk:311: warning: ignoring old commands for target `out/target/product/sdm845/obj/lib/libSensorCalLibNative.so.toc'
build/core/base_rules.mk:272: warning: overriding commands for target `out/target/product/sdm845/obj/lib/libscveCommon.so'
build/core/base_rules.mk:272: warning: ignoring old commands for target `out/target/product/sdm845/obj/lib/libscveCommon.so'
build/core/base_rules.mk:311: warning: overriding commands for target `out/target/product/sdm845/obj/lib/libscveCommon.so.toc'
build/core/base_rules.mk:311: warning: ignoring old commands for target `out/target/product/sdm845/obj/lib/libscveCommon.so.toc'
build/core/base_rules.mk:272: warning: overriding commands for target `out/target/product/sdm845/obj_arm/lib/libscveCommon.so'
build/core/base_rules.mk:272: warning: ignoring old commands for target `out/target/product/sdm845/obj_arm/lib/libscveCommon.so'
build/core/base_rules.mk:311: warning: overriding commands for target `out/target/product/sdm845/obj_arm/lib/libscveCommon.so.toc'
build/core/base_rules.mk:311: warning: ignoring old commands for target `out/target/product/sdm845/obj_arm/lib/libscveCommon.so.toc'
build/core/base_rules.mk:272: warning: overriding commands for target `out/target/product/sdm845/obj/lib/libscveCommon_stub.so'
build/core/base_rules.mk:272: warning: ignoring old commands for target `out/target/product/sdm845/obj/lib/libscveCommon_stub.so'
build/core/base_rules.mk:311: warning: overriding commands for target `out/target/product/sdm845/obj/lib/libscveCommon_stub.so.toc'
build/core/base_rules.mk:311: warning: ignoring old commands for target `out/target/product/sdm845/obj/lib/libscveCommon_stub.so.toc'
build/core/base_rules.mk:272: warning: overriding commands for target `out/target/product/sdm845/obj_arm/lib/libscveCommon_stub.so'
build/core/base_rules.mk:272: warning: ignoring old commands for target `out/target/product/sdm845/obj_arm/lib/libscveCommon_stub.so'
build/core/base_rules.mk:311: warning: overriding commands for target `out/target/product/sdm845/obj_arm/lib/libscveCommon_stub.so.toc'
build/core/base_rules.mk:311: warning: ignoring old commands for target `out/target/product/sdm845/obj_arm/lib/libscveCommon_stub.so.toc'
build/core/base_rules.mk:272: warning: overriding commands for target `out/target/product/sdm845/obj/lib/libscvePanorama_lite.so'
build/core/base_rules.mk:272: warning: ignoring old commands for target `out/target/product/sdm845/obj/lib/libscvePanorama_lite.so'
build/core/base_rules.mk:311: warning: overriding commands for target `out/target/product/sdm845/obj/lib/libscvePanorama_lite.so.toc'
build/core/base_rules.mk:311: warning: ignoring old commands for target `out/target/product/sdm845/obj/lib/libscvePanorama_lite.so.toc'
build/core/base_rules.mk:272: warning: overriding commands for target `out/target/product/sdm845/obj_arm/lib/libscvePanorama_lite.so'
build/core/base_rules.mk:272: warning: ignoring old commands for target `out/target/product/sdm845/obj_arm/lib/libscvePanorama_lite.so'
build/core/base_rules.mk:311: warning: overriding commands for target `out/target/product/sdm845/obj_arm/lib/libscvePanorama_lite.so.toc'
build/core/base_rules.mk:311: warning: ignoring old commands for target `out/target/product/sdm845/obj_arm/lib/libscvePanorama_lite.so.toc'
build/core/base_rules.mk:272: warning: overriding commands for target `out/target/product/sdm845/obj/lib/libscveObjectTracker_stub.so'
build/core/base_rules.mk:272: warning: ignoring old commands for target `out/target/product/sdm845/obj/lib/libscveObjectTracker_stub.so'
build/core/base_rules.mk:311: warning: overriding commands for target `out/target/product/sdm845/obj/lib/libscveObjectTracker_stub.so.toc'
build/core/base_rules.mk:311: warning: ignoring old commands for target `out/target/product/sdm845/obj/lib/libscveObjectTracker_stub.so.toc'
build/core/base_rules.mk:272: warning: overriding commands for target `out/target/product/sdm845/obj_arm/lib/libscveObjectTracker_stub.so'
build/core/base_rules.mk:272: warning: ignoring old commands for target `out/target/product/sdm845/obj_arm/lib/libscveObjectTracker_stub.so'
build/core/base_rules.mk:311: warning: overriding commands for target `out/target/product/sdm845/obj_arm/lib/libscveObjectTracker_stub.so.toc'
build/core/base_rules.mk:311: warning: ignoring old commands for target `out/target/product/sdm845/obj_arm/lib/libscveObjectTracker_stub.so.toc'
build/core/base_rules.mk:272: warning: overriding commands for target `out/target/product/sdm845/obj/lib/libscveFaceRecognition.so'
build/core/base_rules.mk:272: warning: ignoring old commands for target `out/target/product/sdm845/obj/lib/libscveFaceRecognition.so'
build/core/base_rules.mk:311: warning: overriding commands for target `out/target/product/sdm845/obj/lib/libscveFaceRecognition.so.toc'
build/core/base_rules.mk:311: warning: ignoring old commands for target `out/target/product/sdm845/obj/lib/libscveFaceRecognition.so.toc'
build/core/base_rules.mk:272: warning: overriding commands for target `out/target/product/sdm845/obj_arm/lib/libscveFaceRecognition.so'
build/core/base_rules.mk:272: warning: ignoring old commands for target `out/target/product/sdm845/obj_arm/lib/libscveFaceRecognition.so'
build/core/base_rules.mk:311: warning: overriding commands for target `out/target/product/sdm845/obj_arm/lib/libscveFaceRecognition.so.toc'
build/core/base_rules.mk:311: warning: ignoring old commands for target `out/target/product/sdm845/obj_arm/lib/libscveFaceRecognition.so.toc'
build/core/base_rules.mk:272: warning: overriding commands for target `out/target/product/sdm845/obj/lib/libscveImageCorrection.so'
build/core/base_rules.mk:272: warning: ignoring old commands for target `out/target/product/sdm845/obj/lib/libscveImageCorrection.so'
build/core/base_rules.mk:311: warning: overriding commands for target `out/target/product/sdm845/obj/lib/libscveImageCorrection.so.toc'
build/core/base_rules.mk:311: warning: ignoring old commands for target `out/target/product/sdm845/obj/lib/libscveImageCorrection.so.toc'
build/core/base_rules.mk:272: warning: overriding commands for target `out/target/product/sdm845/obj_arm/lib/libscveImageCorrection.so'
build/core/base_rules.mk:272: warning: ignoring old commands for target `out/target/product/sdm845/obj_arm/lib/libscveImageCorrection.so'
build/core/base_rules.mk:311: warning: overriding commands for target `out/target/product/sdm845/obj_arm/lib/libscveImageCorrection.so.toc'
build/core/base_rules.mk:311: warning: ignoring old commands for target `out/target/product/sdm845/obj_arm/lib/libscveImageCorrection.so.toc'
vendor/qcom/build/tasks/generate_extra_images.mk:35: warning: overriding commands for target `out/target/product/sdm845/root/firmware'
device/qcom/common/generate_extra_images.mk:35: warning: ignoring old commands for target `out/target/product/sdm845/root/firmware'
vendor/qcom/build/tasks/generate_extra_images.mk:40: warning: overriding commands for target `out/target/product/sdm845/root/bt_firmware'
device/qcom/common/generate_extra_images.mk:40: warning: ignoring old commands for target `out/target/product/sdm845/root/bt_firmware'
vendor/qcom/build/tasks/generate_extra_images.mk:45: warning: overriding commands for target `out/target/product/sdm845/root/dsp'
device/qcom/common/generate_extra_images.mk:45: warning: ignoring old commands for target `out/target/product/sdm845/root/dsp'
vendor/qcom/build/tasks/generate_extra_images.mk:50: warning: overriding commands for target `out/target/product/sdm845/root/persist'
device/qcom/common/generate_extra_images.mk:50: warning: ignoring old commands for target `out/target/product/sdm845/root/persist'
vendor/qcom/build/tasks/generate_extra_images.mk:121: warning: overriding commands for target `out/target/product/sdm845/persist.img'
device/qcom/common/generate_extra_images.mk:121: warning: ignoring old commands for target `out/target/product/sdm845/persist.img'
vendor/qcom/build/tasks/generate_extra_images.mk:152: warning: overriding commands for target `out/target/product/sdm845/prebuilt_dtbo.img'
device/qcom/common/generate_extra_images.mk:152: warning: ignoring old commands for target `out/target/product/sdm845/prebuilt_dtbo.img'
vendor/qcom/build/tasks/generate_extra_images.mk:497: warning: overriding commands for target `kernelclean'
device/qcom/common/generate_extra_images.mk:497: warning: ignoring old commands for target `kernelclean'
[ 99% 1602/1603] glob vendor/qcom/opensource/interfaces/wifi/supplicant/1.1/Android.bp
ninja: error: 'vendor/qcom/proprietary/llvm-arm-toolchain-ship/3.8/bin/clang++', needed by 'out/soong/.intermediates/bionic/libc/libc/android_arm64_armv8-a_kryo300_shared_core/obj/shared_library/bionic/libc/bionic/icu.o', missing and no known rule to make it
21:00:11 ninja failed with: exit status 1
 
#### failed to build some targets (01:09 (mm:ss)) ####
 
root@ubuntu-amigo:/home2/leon/845/SDA845_Open-Q_845_Android-O_v1.0#

 

  • Up0
  • Down0
leon.su
Join Date: 5 Aug 18
Posts: 2
Posted: Wed, 2018-10-03 07:48

Hi all,

I've solved the issue after download and chage the SDCLANG_PATH to the snapdragon-llvm-4.0.14-linux64.tar.gz,

https://developer.qualcomm.com/qfile/36011/snapdragon-llvm-4.0.14-linux6...

Thanks all,

  • Up0
  • Down0

Pages

Showing 51 - 55 out of 55
or Register

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.