Building Android Automtotive with Android Automotive 13.0.0_1.3.0 (Linux 5.15.71_2.2.0 BSP)​​

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Building Android Automtotive with Android Automotive 13.0.0_1.3.0 (Linux 5.15.71_2.2.0 BSP)​​

416 次查看
vsr138
Contributor I

Hello,

We are trying to build Android Automotive 13 with the Android Automotive 13.0.0_1.3.0 (Linux 5.15.71_2.2.0 BSP)​​ sources from NXP.
We are referring the attached pdf for the build process.

However the build process exits with the following errors.(Attaching the full log as well).

[ 0% 16/9728] //frameworks/rs/cpu_ref:libRSCpuRef link libRSCpuRef.so
FAILED: out/soong/.intermediates/frameworks/rs/cpu_ref/libRSCpuRef/android_vendor.33_arm64_armv8-a_cortex-a53_shared/unstripped/libRSCpuRef.so
prebuilts/clang/host/linux-x86/clang-r450784d/bin/clang++ out/soong/.intermediates/bionic/libc/crtbegin_so/android_vendor.33_arm64_armv8-a_cortex-a53/crtbegin_so.o @out/soong/.intermediates/frameworks/rs/cpu_ref/libRSCpuRef/android_vendor.33_arm64_armv8-a_cortex-a53_shared/unstripped/libRSCpuRef.so.rsp out/soong/.intermediates/external/gemmlowp/eight_bit_int_gemm/libbnnmlowp/android_vendor.33_arm64_armv8-a_cortex-a53_static/libbnnmlowp.a out/soong/.intermediates/external/libcxxabi/libc++demangle/android_vendor.33_arm64_armv8-a_cortex-a53_static/libc++demangle.a prebuilts/clang/host/linux-x86/clang-r450784d/lib64/clang/14.0.6/lib/linux/libclang_rt.builtins-aarch64-android.a out/soong/.intermediates/frameworks/rs/libRS_internal/android_vendor.33_arm64_armv8-a_cortex-a53_shared/libRS_internal.so out/soong/.intermediates/system/logging/liblog/liblog/android_vendor.33_arm64_armv8-a_cortex-a53_shared/liblog.so out/soong/.intermediates/external/zlib/libz/android_vendor.33_arm64_armv8-a_cortex-a53_shared/libz.so out/soong/.intermediates/frameworks/compile/libbcc/bcinfo/libbcinfo/android_vendor.33_arm64_armv8-a_cortex-a53_shared/libbcinfo.so out/soong/.intermediates/external/cblas/libblas/android_vendor.33_arm64_armv8-a_cortex-a53_shared/libblas.so out/soong/.intermediates/external/libcxx/libc++/android_vendor.33_arm64_armv8-a_cortex-a53_shared/libc++.so out/soong/.intermediates/bionic/libc/libc/android_vendor.33_arm64_armv8-a_cortex-a53_shared/libc.so out/soong/.intermediates/bionic/libm/libm/android_vendor.33_arm64_armv8-a_cortex-a53_shared/libm.so out/soong/.intermediates/bionic/libdl/libdl/android_vendor.33_arm64_armv8-a_cortex-a53_shared/libdl.so out/soong/.intermediates/bionic/libc/crtend_so/android_vendor.33_arm64_armv8-a_cortex-a53/obj/bionic/libc/arch-common/bionic/crtend_so.o -o out/soong/.intermediates/frameworks/rs/cpu_ref/libRSCpuRef/android_vendor.33_arm64_armv8-a_cortex-a53_shared/unstripped/libRSCpuRef.so -target aarch64-linux-android33 -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--build-id=md5 -Wl,--fatal-warnings -Wl,--no-undefined-version -Wl,--exclude-libs,libgcc.a -Wl,--exclude-libs,libgcc_stripped.a -Wl,--exclude-libs,libunwind_llvm.a -Wl,--exclude-libs,libunwind.a -Wl,--icf=safe -fuse-ld=lld -Wl,--pack-dyn-relocs=android+relr -Wl,--no-undefined -Wl,--hash-style=gnu -Wl,-z,separate-code -Wl,-z,max-page-size=4096 -Wl,--fix-cortex-a53-843419 -Wl,--exclude-libs=libclang_rt.builtins.a -nostdlib -Wl,--gc-sections -shared -Wl,-soname,libRSCpuRef.so
ld.lld: error: undefined symbol: android::renderscript::rsdIntrinsic_YuvToRGB(android::renderscript::RsdCpuReferenceImpl*, android::renderscript::Script const*, android::renderscript::Element const*)
>>> referenced by rsCpuCore.cpp:1001 (frameworks/rs/cpu_ref/rsCpuCore.cpp:1001)
>>> out/soong/.intermediates/frameworks/rs/cpu_ref/libRSCpuRef/android_vendor.33_arm64_armv8-a_cortex-a53_shared/obj/frameworks/rs/cpu_ref/rsCpuCore.o:(android::renderscript::RsdCpuReferenceImpl::createIntrinsic(android::renderscript::Script const*, RsScriptIntrinsicID, android::renderscript::Element*))

ld.lld: error: undefined symbol: rsdIntrinsic3DLUT_K
>>> referenced by rsCpuIntrinsic3DLUT.cpp:83 (frameworks/rs/cpu_ref/rsCpuIntrinsic3DLUT.cpp:83)
>>> out/soong/.intermediates/frameworks/rs/cpu_ref/libRSCpuRef/android_vendor.33_arm64_armv8-a_cortex-a53_shared/obj/frameworks/rs/cpu_ref/rsCpuIntrinsic3DLUT.o:(android::renderscript::RsdCpuScriptIntrinsic3DLUT::kernel(RsExpandKernelDriverInfo const*, unsigned int, unsigned int, unsigned int))

ld.lld: error: undefined symbol: rsdIntrinsicBlend_K
>>> referenced by rsCpuIntrinsicBlend.cpp:132 (frameworks/rs/cpu_ref/rsCpuIntrinsicBlend.cpp:132)
>>> out/soong/.intermediates/frameworks/rs/cpu_ref/libRSCpuRef/android_vendor.33_arm64_armv8-a_cortex-a53_shared/obj/frameworks/rs/cpu_ref/rsCpuIntrinsicBlend.o:(android::renderscript::RsdCpuScriptIntrinsicBlend::kernel(RsExpandKernelDriverInfo const*, unsigned int, unsigned int, unsigned int))

ld.lld: error: undefined symbol: rsdIntrinsicBlurU4_K
>>> referenced by rsCpuIntrinsicBlur.cpp:309 (frameworks/rs/cpu_ref/rsCpuIntrinsicBlur.cpp:309)
>>> out/soong/.intermediates/frameworks/rs/cpu_ref/libRSCpuRef/android_vendor.33_arm64_armv8-a_cortex-a53_shared/obj/frameworks/rs/cpu_ref/rsCpuIntrinsicBlur.o:(android::renderscript::RsdCpuScriptIntrinsicBlur::kernelU4(RsExpandKernelDriverInfo const*, unsigned int, unsigned int, unsigned int))

ld.lld: error: undefined symbol: rsdIntrinsicBlurU1_K
>>> referenced by rsCpuIntrinsicBlur.cpp:384 (frameworks/rs/cpu_ref/rsCpuIntrinsicBlur.cpp:384)
>>> out/soong/.intermediates/frameworks/rs/cpu_ref/libRSCpuRef/android_vendor.33_arm64_armv8-a_cortex-a53_shared/obj/frameworks/rs/cpu_ref/rsCpuIntrinsicBlur.o:(android::renderscript::RsdCpuScriptIntrinsicBlur::kernelU1(RsExpandKernelDriverInfo const*, unsigned int, unsigned int, unsigned int))

ld.lld: error: undefined symbol: rsdIntrinsicColorMatrix_int_K
>>> referenced by rsCpuIntrinsicColorMatrix.cpp:924 (frameworks/rs/cpu_ref/rsCpuIntrinsicColorMatrix.cpp:924)
>>> out/soong/.intermediates/frameworks/rs/cpu_ref/libRSCpuRef/android_vendor.33_arm64_armv8-a_cortex-a53_shared/obj/frameworks/rs/cpu_ref/rsCpuIntrinsicColorMatrix.o:(android::renderscript::RsdCpuScriptIntrinsicColorMatrix::kernel(RsExpandKernelDriverInfo const*, unsigned int, unsigned int, unsigned int))

ld.lld: error: undefined symbol: rsdIntrinsicColorMatrixSetup_int_K
>>> referenced by rsCpuIntrinsicColorMatrix.cpp:1001 (frameworks/rs/cpu_ref/rsCpuIntrinsicColorMatrix.cpp:1001)
>>> out/soong/.intermediates/frameworks/rs/cpu_ref/libRSCpuRef/android_vendor.33_arm64_armv8-a_cortex-a53_shared/obj/frameworks/rs/cpu_ref/rsCpuIntrinsicColorMatrix.o:(android::renderscript::RsdCpuScriptIntrinsicColorMatrix::preLaunch(unsigned int, android::renderscript::Allocation const**, unsigned int, android::renderscript::Allocation*, void const*, unsigned int, RsScriptCall const*))

ld.lld: error: undefined symbol: rsdIntrinsicColorMatrixSetup_float_K
>>> referenced by rsCpuIntrinsicColorMatrix.cpp:999 (frameworks/rs/cpu_ref/rsCpuIntrinsicColorMatrix.cpp:999)
>>> out/soong/.intermediates/frameworks/rs/cpu_ref/libRSCpuRef/android_vendor.33_arm64_armv8-a_cortex-a53_shared/obj/frameworks/rs/cpu_ref/rsCpuIntrinsicColorMatrix.o:(android::renderscript::RsdCpuScriptIntrinsicColorMatrix::preLaunch(unsigned int, android::renderscript::Allocation const**, unsigned int, android::renderscript::Allocation*, void const*, unsigned int, RsScriptCall const*))

ld.lld: error: undefined symbol: rsdIntrinsicConvolve3x3_K
>>> referenced by rsCpuIntrinsicConvolve3x3.cpp:211 (frameworks/rs/cpu_ref/rsCpuIntrinsicConvolve3x3.cpp:211)
>>> out/soong/.intermediates/frameworks/rs/cpu_ref/libRSCpuRef/android_vendor.33_arm64_armv8-a_cortex-a53_shared/obj/frameworks/rs/cpu_ref/rsCpuIntrinsicConvolve3x3.o:(android::renderscript::RsdCpuScriptIntrinsicConvolve3x3::kernelU4(RsExpandKernelDriverInfo const*, unsigned int, unsigned int, unsigned int))

ld.lld: error: undefined symbol: rsdIntrinsicConvolve5x5_K
>>> referenced by rsCpuIntrinsicConvolve5x5.cpp:390 (frameworks/rs/cpu_ref/rsCpuIntrinsicConvolve5x5.cpp:390)
>>> out/soong/.intermediates/frameworks/rs/cpu_ref/libRSCpuRef/android_vendor.33_arm64_armv8-a_cortex-a53_shared/obj/frameworks/rs/cpu_ref/rsCpuIntrinsicConvolve5x5.o:(android::renderscript::RsdCpuScriptIntrinsicConvolve5x5::kernelU4(RsExpandKernelDriverInfo const*, unsigned int, unsigned int, unsigned int))

ld.lld: error: undefined symbol: rsdIntrinsicResize_oscctl_K
>>> referenced by rsCpuIntrinsicResize.cpp:371 (frameworks/rs/cpu_ref/rsCpuIntrinsicResize.cpp:371)
>>> out/soong/.intermediates/frameworks/rs/cpu_ref/libRSCpuRef/android_vendor.33_arm64_armv8-a_cortex-a53_shared/obj/frameworks/rs/cpu_ref/rsCpuIntrinsicResize.o:(android::renderscript::RsdCpuScriptIntrinsicResize::kernelU4(RsExpandKernelDriverInfo const*, unsigned int, unsigned int, unsigned int))
>>> referenced by rsCpuIntrinsicResize.cpp:448 (frameworks/rs/cpu_ref/rsCpuIntrinsicResize.cpp:448)
>>> out/soong/.intermediates/frameworks/rs/cpu_ref/libRSCpuRef/android_vendor.33_arm64_armv8-a_cortex-a53_shared/obj/frameworks/rs/cpu_ref/rsCpuIntrinsicResize.o:(android::renderscript::RsdCpuScriptIntrinsicResize::kernelU2(RsExpandKernelDriverInfo const*, unsigned int, unsigned int, unsigned int))
>>> referenced by rsCpuIntrinsicResize.cpp:526 (frameworks/rs/cpu_ref/rsCpuIntrinsicResize.cpp:526)
>>> out/soong/.intermediates/frameworks/rs/cpu_ref/libRSCpuRef/android_vendor.33_arm64_armv8-a_cortex-a53_shared/obj/frameworks/rs/cpu_ref/rsCpuIntrinsicResize.o:(android::renderscript::RsdCpuScriptIntrinsicResize::kernelU1(RsExpandKernelDriverInfo const*, unsigned int, unsigned int, unsigned int))

ld.lld: error: undefined symbol: rsdIntrinsicResizeB4_K
>>> referenced by rsCpuIntrinsicResize.cpp:376 (frameworks/rs/cpu_ref/rsCpuIntrinsicResize.cpp:376)
>>> out/soong/.intermediates/frameworks/rs/cpu_ref/libRSCpuRef/android_vendor.33_arm64_armv8-a_cortex-a53_shared/obj/frameworks/rs/cpu_ref/rsCpuIntrinsicResize.o:(android::renderscript::RsdCpuScriptIntrinsicResize::kernelU4(RsExpandKernelDriverInfo const*, unsigned int, unsigned int, unsigned int))

ld.lld: error: undefined symbol: rsdIntrinsicResizeB2_K
>>> referenced by rsCpuIntrinsicResize.cpp:453 (frameworks/rs/cpu_ref/rsCpuIntrinsicResize.cpp:453)
>>> out/soong/.intermediates/frameworks/rs/cpu_ref/libRSCpuRef/android_vendor.33_arm64_armv8-a_cortex-a53_shared/obj/frameworks/rs/cpu_ref/rsCpuIntrinsicResize.o:(android::renderscript::RsdCpuScriptIntrinsicResize::kernelU2(RsExpandKernelDriverInfo const*, unsigned int, unsigned int, unsigned int))

ld.lld: error: undefined symbol: rsdIntrinsicResizeB1_K
>>> referenced by rsCpuIntrinsicResize.cpp:531 (frameworks/rs/cpu_ref/rsCpuIntrinsicResize.cpp:531)
>>> out/soong/.intermediates/frameworks/rs/cpu_ref/libRSCpuRef/android_vendor.33_arm64_armv8-a_cortex-a53_shared/obj/frameworks/rs/cpu_ref/rsCpuIntrinsicResize.o:(android::renderscript::RsdCpuScriptIntrinsicResize::kernelU1(RsExpandKernelDriverInfo const*, unsigned int, unsigned int, unsigned int))
clang-14: error: linker command failed with exit code 1 (use -v to see invocation)
[ 0% 17/9728] //external/one-true-awk:awk clang proctab.c
[ 0% 18/9728] //external/one-true-awk:awk_vendor clang proctab.c
[ 0% 19/9728] depmod out/target/product/mek_8q/obj/PACKAGING/depmod_VENDOR_intermediates
depmod: WARNING: could not open modules.order at /home/devel/Android_NXP_IMX/android_build/out/target/product/mek_8q/obj/PACKAGING/depmod_VENDOR_intermediates/lib/modules/0.0: No such file or directory
depmod: WARNING: could not open modules.builtin at /home/devel/Android_NXP_IMX/android_build/out/target/product/mek_8q/obj/PACKAGING/depmod_VENDOR_intermediates/lib/modules/0.0: No such file or directory
ninja: build stopped: subcommand failed.
14:21:48 ninja failed with: exit status 1

#### failed to build some targets (01:28 (mm:ss)) ####

 

What could be the issue here, any leads are appreciated!
thanks.

 

0 项奖励
回复
0 回复数