This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/AM5728: Bitbake Opencv

Part Number: AM5728


Tool/software: Linux

Hello,

We are try to bitbake opencv with neon enabled but facing the do_compile error for the package ti-llvm3.6.

i also tried to recompile it separately but facing the compilation error.

Attaching the log file for the same.

Please suggest me the solution.

log.do_compile.27345.txt

Thanks and Regards,
Hiren Kumbhare

  • Hi, Hiren,

    Please refer to the section on "Build the SDK" in Software Developer's Guide, software-dl.ti.com/.../Overview_Building_the_SDK.html

    I think the compiler you use isn't correct. Please either download the linaro toolchain or use the one in ProcessorSDK under linux-devkit/sysroots/ x86_64-arago-linux/usr/bin

    Rex
  • Hello Rex,

    Thanks for your valuable time.

    We are using the same compiler as mentioned in the Software Developer's Guide. Still getting the error.

    Thanks and Regards,

    Hiren Kumbhare

  • Hi, Hiren,

    Did you make modification in the yocto? Are you able to build ti-llvm3.6 without any changes? I tried it yesterday and was able to build without issue. The snippets of the build are shown below. It shows the do_compile was done and it was performing do_package. I also listed part of the contents from build as well. The directory name, tisdk-5.0, may be misleading. I configured the yocto using 5.1 release configuration.

    /usr/bin/.debug/clang
    /usr/bin/.debug/clang-format
    Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
    ti-llvm3.6: 70 installed and not shipped files. [installed-vs-shipped]
    Currently 1 running tasks (818 of 822) 99% |############################################### |
    0: ti-llvm3.6-3.6-r6 do_package - 376s (pid 9208)


    user:~/work/yocto/tisdk-5.0/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/ti-llvm3.6/3.6-r6/deploy-ipks/armv7ahf-neon$ ls
    libllvm3.6-clang_3.6-r6_armv7ahf-neon.ipk
    libllvm3.6-clanganalysis-staticdev_3.6-r6_armv7ahf-neon.ipk
    libllvm3.6-clangarcmigrate-staticdev_3.6-r6_armv7ahf-neon.ipk
    libllvm3.6-clangastmatchers-staticdev_3.6-r6_armv7ahf-neon.ipk
    libllvm3.6-clangast-staticdev_3.6-r6_armv7ahf-neon.ipk
    libllvm3.6-clangbasic-staticdev_3.6-r6_armv7ahf-neon.ipk
    libllvm3.6-clangcodegen-staticdev_3.6-r6_armv7ahf-neon.ipk
    libllvm3.6-clang-dbg_3.6-r6_armv7ahf-neon.ipk
    libllvm3.6-clangdriver-staticdev_3.6-r6_armv7ahf-neon.ipk
    libllvm3.6-clangdynamicastmatchers-staticdev_3.6-r6_armv7ahf-neon.ipk

    Rex