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.

Compiler: While compiling the tisdk for am57xx i am facing below issue

Tool/software: TI C/C++ Compiler

HI TI,

   Please help on this issue 

ERROR: Task (virtual:native:/u/AM57XX/tisdk/sources/meta-arago/meta-arago-extras/recipes-support/tensorflow-lite/tensorflow-lite_1.15.bb:do_compile) failed with exit code '1'

Best Regards,

Suman

  • Hi Suman,

    can you clarify which version of the SDK you use?

    Regards,

    Yordan

  • HI Yordan,

       You mean processor sdk config file or what while building sdk i am getting the above issue

    Regards,

    Suman.

  • Hi Yordan,

       

    /configs/processor-sdk/processor-sdk-06.03.00.106-config.txt

    Regards,

    Suman.

  • Hi Suman,

    Can you please attach the build failure log?

    The log file is usually provided in the console and will have the format name log.do_compile.

    Regards

    Karthik

  • Suman,

    It is recommended to provide logs as an attachment, the log file was ~17000 lines and it makes it difficult to read/post updates.

    Attaching the log here: /cfs-file/__key/communityserver-discussions-components-files/81/build_5F00_error_5F00_console_5F00_log.txt

    Regards

    Karthik

  • Suman,

    From the log that you shared (reposted above), it is not clear to me on what steps were done before this.

    I would request you to do the following and share the feedback as attachment.

    1. Make sure that you have installed all the host tool dependencies: http://software-dl.ti.com/processor-sdk-linux/esd/docs/06_03_00_106/linux/Overview_Building_the_SDK.html#quick-start
    2. Start a new shell and fire the build as indicated here: http://software-dl.ti.com/processor-sdk-linux/esd/docs/06_03_00_106/linux/Overview_Building_the_SDK.html#build-steps
    3. Please share the log of the failure, typically (and as indicated earlier), you will get message from Yocto saying  failure log stored here: as an example from your log it is "/u/AM57XX/tisdk/build/arago-tmp-external-arm-toolchain/work/x86_64-linux/tensorflow-lite-native/1.15-r4/temp/log.do_compile.15846", it would be useful to attach this log - please note that this name will change across runs.

    Regards

    Karthik

  • Hi Karthik,

       Please help on below issue

    ERROR: vlib-c66x-3_2_1_0-r0 do_install: Function failed: do_install (log file is located at /u/suman/work/tisdk/build/arago-tmp-external-arm-toolchain/work/armv7at2hf-neon-linux-gnueabi/vlib-c66x/3_2_1_0-r0/temp/log.do_install.15324)
    ERROR: Logfile of failure stored in: /u/suman/work/tisdk/build/arago-tmp-external-arm-toolchain/work/armv7at2hf-neon-linux-gnueabi/vlib-c66x/3_2_1_0-r0/temp/log.do_install.15324
    Log data follows:
    | DEBUG: Executing python function extend_recipe_sysroot
    | NOTE: Direct dependencies are ['/u/suman/work/tisdk/sources/oe-core/meta/recipes-devtools/quilt/quilt-native_0.65.bb:do_populate_sysroot', 'virtual:native:/u/suman/work/tisdk/sources/oe-core/meta/recipes-devtools/pseudo/pseudo_git.bb:do_populate_sysroot', '/u/suman/work/tisdk/sources/meta-linaro/meta-linaro-toolchain/recipes-devtools/external-arm-toolchain/external-arm-toolchain.bb:do_populate_sysroot']
    | NOTE: Installed into sysroot: []
    | NOTE: Skipping as already exists in sysroot: ['quilt-native', 'pseudo-native', 'external-arm-toolchain']
    | DEBUG: Python function extend_recipe_sysroot finished
    | DEBUG: Executing shell function do_install
    | cp: cannot stat '/u/suman/work/tisdk/build/arago-tmp-external-arm-toolchain/work/armv7at2hf-neon-linux-gnueabi/vlib-c66x/3_2_1_0-r0/vlib_c66x_3_2_1_0/*': No such file or directory
    | WARNING: /u/suman/work/tisdk/build/arago-tmp-external-arm-toolchain/work/armv7at2hf-neon-linux-gnueabi/vlib-c66x/3_2_1_0-r0/temp/run.do_install.15324:1 exit 1 from 'cp ${CP_ARGS} /u/suman/work/tisdk/build/arago-tmp-external-arm-toolchain/work/armv7at2hf-neon-linux-gnueabi/vlib-c66x/3_2_1_0-r0/vlib_c66x_3_2_1_0/* /u/suman/work/tisdk/build/arago-tmp-external-arm-toolchain/work/armv7at2hf-neon-linux-gnueabi/vlib-c66x/3_2_1_0-r0/image/usr/share/ti/ti-vlib-c66x-tree'
    | ERROR: Function failed: do_install (log file is located at /u/suman/work/tisdk/build/arago-tmp-external-arm-toolchain/work/armv7at2hf-neon-linux-gnueabi/vlib-c66x/3_2_1_0-r0/temp/log.do_install.15324)
    ERROR: Task (/u/suman/work/tisdk/sources/meta-ti/recipes-ti/vlib/vlib-c66x_3.2.1.0.bb:do_install) failed with exit code '1'
    ERROR: imglib-c66x-3_1_1_0-r1 do_install: Function failed: do_install (log file is located at /u/suman/work/tisdk/build/arago-tmp-external-arm-toolchain/work/armv7at2hf-neon-linux-gnueabi/imglib-c66x/3_1_1_0-r1/temp/log.do_install.15327)
    ERROR: Logfile of failure stored in: /u/suman/work/tisdk/build/arago-tmp-external-arm-toolchain/work/armv7at2hf-neon-linux-gnueabi/imglib-c66x/3_1_1_0-r1/temp/log.do_install.15327
    Log data follows:
    | DEBUG: Executing python function extend_recipe_sysroot
    | NOTE: Direct dependencies are ['/u/suman/work/tisdk/sources/oe-core/meta/recipes-devtools/quilt/quilt-native_0.65.bb:do_populate_sysroot', 'virtual:native:/u/suman/work/tisdk/sources/oe-core/meta/recipes-devtools/pseudo/pseudo_git.bb:do_populate_sysroot', '/u/suman/work/tisdk/sources/meta-linaro/meta-linaro-toolchain/recipes-devtools/external-arm-toolchain/external-arm-toolchain.bb:do_populate_sysroot']
    | NOTE: Installed into sysroot: []
    | NOTE: Skipping as already exists in sysroot: ['quilt-native', 'pseudo-native', 'external-arm-toolchain']
    | DEBUG: Python function extend_recipe_sysroot finished
    | DEBUG: Executing shell function do_install
    | cp: cannot stat '/u/suman/work/tisdk/build/arago-tmp-external-arm-toolchain/work/armv7at2hf-neon-linux-gnueabi/imglib-c66x/3_1_1_0-r1/imglib-c66x-3_1_1_0/*': No such file or directory
    | WARNING: /u/suman/work/tisdk/build/arago-tmp-external-arm-toolchain/work/armv7at2hf-neon-linux-gnueabi/imglib-c66x/3_1_1_0-r1/temp/run.do_install.15327:1 exit 1 from 'cp ${CP_ARGS} /u/suman/work/tisdk/build/arago-tmp-external-arm-toolchain/work/armv7at2hf-neon-linux-gnueabi/imglib-c66x/3_1_1_0-r1/imglib-c66x-3_1_1_0/* /u/suman/work/tisdk/build/arago-tmp-external-arm-toolchain/work/armv7at2hf-neon-linux-gnueabi/imglib-c66x/3_1_1_0-r1/image/usr/share/ti/ti-imglib-c66x-tree'
    | ERROR: Function failed: do_install (log file is located at /u/suman/work/tisdk/build/arago-tmp-external-arm-toolchain/work/armv7at2hf-neon-linux-gnueabi/imglib-c66x/3_1_1_0-r1/temp/log.do_install.15327)
    ERROR: Task (/u/suman/work/tisdk/sources/meta-ti/recipes-ti/imglib/imglib-c66x_3.1.1.0.bb:do_install) failed with exit code '1'
    NOTE: Tasks Summary: Attempted 4110 tasks of which 4096 didn't need to be rerun and 2 failed.

    Summary: 2 tasks failed:
      /u/suman/work/tisdk/sources/meta-ti/recipes-ti/vlib/vlib-c66x_3.2.1.0.bb:do_install
      /u/suman/work/tisdk/sources/meta-ti/recipes-ti/imglib/imglib-c66x_3.1.1.0.bb:do_install
    Summary: There were 6 WARNING messages shown.
    Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

    Best Regards,

    Suman

  • Hi Suman,

    As indicated in my earlier post, you need to provide more details and specifically answer the questions that are requested for. 

    This error is not reproducible on our machines and your problem description needs further clarity to help further.

    Please refer to this post for previous request: https://e2e.ti.com/support/tools/ccs/f/81/p/903441/3348882#3348882

    Regards

    Karthik