imx-automotive-13.0.0_2.1.0 build error

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

imx-automotive-13.0.0_2.1.0 build error

ソリューションへジャンプ
269件の閲覧回数
wang12zhe
Contributor III

I'm try to building imx-automotive-13.0.0

HW :imx8qm

Refer document:13.0.0_2.1.0_AUTO_DOCS/Android_Automotive_User's_Guide.pdf

 

STEP 1.

git clone https://android.googlesource.com/platform/prebuilts/clang/host/linux-x86  /home/kk/Android/neverDelete/

cd /home/kk/Android/neverDelete/linux-86
git checkout d20e409261d6ad80a0c29ac2055bf5c3bb996ef4

 

git clone https://android.googlesource.com/kernel/prebuilts/buildtools /home/wzg/8TB/Android/neverDelete/
cd /home/wzg/8TB/Android/neverDelete/build-tools/
sudo git checkout e3f6a8c059b94f30f7184a7d335876f8a13a2366

 

STEP 2.

export CLANG_PATH=/home/kk/Android/neverDelete/linux-x86
export PATH=/home/kk/Android/neverDelete/build-tools/bin:$PATH
export ARMGCC_DIR=/home/kk/Android/neverDelete/gcc-arm-none-eabi-7-2018-q2-update
export AARCH64_GCC_CROSS_COMPILE=/opt/gcc-arm-9.2-2019.12-x86_64-aarch64-none-linux-gnu/bin/aarch64-none-linux-gnu-

STEP 3.

source build/envsetup.sh
lunch mek_8q_car-userdebug
./imx-make.sh bootloader kernel -j4

make -j4

 

Then will show error like below:

============================================
[100% 1/1] analyzing Android.bp files and generating ninja file at out/soong/build.ninja
FAILED: out/soong/build.ninja
cd "$(dirname "out/host/linux-x86/bin/soong_build")" && BUILDER="$PWD/$(basename "out/host/linux-x86/bin/soong_build")" && cd / && env -i "$BUILDER" --top "$TOP" --soong_out "out/soong" --ou
t "out" -o out/soong/build.ninja --globListDir build --globFile out/soong/globs-build.ninja -t -l out/.module_paths/Android.bp.list --available_env out/soong/soong.environment.available --used_env ou
t/soong/soong.environment.used.build Android.bp
error: prebuilts/clang/host/linux-x86/Android.bp:39:1: module "prebuilt_libFuzzer": target.android_riscv64: failed to find property to extend
error: prebuilts/clang/host/linux-x86/Android.bp:47:1: module "prebuilt_libomp": target.android_riscv64: failed to find property to extend
error: prebuilts/clang/host/linux-x86/Android.bp:68:1: module "prebuilt_libclang_rt.builtins": target.android_riscv64: failed to find property to extend
error: prebuilts/clang/host/linux-x86/Android.bp:86:1: module "prebuilt_libclang_rt.builtins-exported": target.android_riscv64: failed to find property to extend
error: prebuilts/clang/host/linux-x86/Android.bp:119:1: module "prebuilt_libclang_rt.asan": target.android_riscv64: failed to find property to extend
error: prebuilts/clang/host/linux-x86/Android.bp:131:1: module "prebuilt_libclang_rt.asan.static": target.android_riscv64: failed to find property to extend
error: prebuilts/clang/host/linux-x86/Android.bp:141:1: module "prebuilt_libclang_rt.asan_cxx.static": target.android_riscv64: failed to find property to extend
error: prebuilts/clang/host/linux-x86/Android.bp:151:1: module "prebuilt_libclang_rt.ubsan_standalone": target.android_riscv64: failed to find property to extend
error: prebuilts/clang/host/linux-x86/Android.bp:168:1: module "prebuilt_libclang_rt.ubsan_standalone.static": target.android_riscv64: failed to find property to extend
error: prebuilts/clang/host/linux-x86/Android.bp:183:1: module "prebuilt_libclang_rt.ubsan_minimal": target.android_riscv64: failed to find property to extend
error: prebuilts/clang/host/linux-x86/Android.bp:196:1: module "prebuilt_libclang_rt.hwasan_static": target.android_riscv64: failed to find property to extend
error: prebuilts/clang/host/linux-x86/Android.bp:215:1: module "prebuilt_libclang_rt.hwasan": target.android_riscv64: failed to find property to extend
error: prebuilts/clang/host/linux-x86/Android.bp:234:1: module "prebuilt_libclang_rt.profile": target.android_riscv64: failed to find property to extend
error: prebuilts/clang/host/linux-x86/Android.bp:246:1: module "prebuilt_libclang_rt.fuzzer": target.android_riscv64: failed to find property to extend
error: prebuilts/clang/host/linux-x86/Android.bp:262:1: module "prebuilt_libclang_rt.fuzzer_interceptors": target.android_riscv64: failed to find property to extend
error: prebuilts/clang/host/linux-x86/Android.bp:310:1: module "prebuilt_libunwind": target.android_riscv64: failed to find property to extend
error: prebuilts/clang/host/linux-x86/Android.bp:320:1: module "prebuilt_libunwind-exported": target.android_riscv64: failed to find property to extend
13:43:29 soong bootstrap failed with: exit status 1

#### failed to build some targets (4 seconds) ####

 

if there are any error in my steps and how to fix there error?

 

 

0 件の賞賛
返信
1 解決策
222件の閲覧回数
Harvey021
NXP TechSupport
NXP TechSupport

Suggest to have a check the CLANG referring the User Guide, for its version.

Ensure that the script imx_android_setup.sh and CMake.

 

Regards

Harvey

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
223件の閲覧回数
Harvey021
NXP TechSupport
NXP TechSupport

Suggest to have a check the CLANG referring the User Guide, for its version.

Ensure that the script imx_android_setup.sh and CMake.

 

Regards

Harvey

0 件の賞賛
返信