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.

TMDSIDK572: PROCESSOR-SDK-LINUX-AM57X: SDK build error

Part Number: TMDSIDK572

I have the board "TMDSIDK572 EVM".
With the help of the PROCESSOR-SDK-LINUX-AM57X (Version 08_02_01_00) I want to build the image "tisdk-default-image".

I have performed all the steps described in the section "Download and Install the SDK" (software-dl.ti.com/.../Download_and_Install_the_SDK.html).

In the section "Building the SDK" (file:///home/stranzjm/Projects/ti-am57x/PROCESSOR-SDK-LINUX-AM57X/ti-processor-sdk-linux-08_02_01_00/docs/linux/Overview_Building_the_SDK.html) is described how to build the image "tisdk-default-image".

Regarding the cross-compile toolchain, it only says: "Download the toolchain compilers from the links provided in the SDK release page."
However, I did not find a link to it!

If you start the build process with
MACHINE=am57xx-evm bitbake tisdk-default-image
then it reports that the no toochain "gcc-arm-9.2-2019.12-x86_64-arm-none-linux-gnueabihf" was found.

I then downloaded the toolchain "gcc-arm-9.2-2019.12-x86_64-arm-none-linux-gnueabihf.tar.xz" from the website "">developer.arm.com/.../gnu-a" and unpacked it.

The build process was then restarted with
TOOLCHAIN_BASE=~/Projects/ti-am57x/PROCESSOR-SDK-LINUX-AM57X/toolchain MACHINE=am57xx-evm bitbake tisdk-default-image

Unfortunately the build process is aborted after some time in an error in the recipe "linux-ti-staging_5.10.bb"; the error messages are in the attached file "build_error.txt".

What should I do?
Is there a suitable download link for "ti-processor-sdk-linux-08_02_01_00" for the toolchain to be used?

Jan-Marc.

3644.build_error.txt
ERROR: linux-ti-staging-5.10.100+gitAUTOINC+7a7a3af903-r7b.arago5_psdkla_14 do_compile: oe_runmake failed
ERROR: linux-ti-staging-5.10.100+gitAUTOINC+7a7a3af903-r7b.arago5_psdkla_14 do_compile: Execution of '/home/stranzjm/Yocto/build/ti-processor-sdk-linux-08_02_01_00/arago-tmp-external-arm-glibc/work/am57xx_evm-linux-gnueabi/linux-ti-staging/5.10.100+gitAUTOINC+7a7a3af903-r7b.arago5_psdkla_14/temp/run.do_compile.3704' failed with exit code 1
ERROR: Logfile of failure stored in: /home/stranzjm/Yocto/build/ti-processor-sdk-linux-08_02_01_00/arago-tmp-external-arm-glibc/work/am57xx_evm-linux-gnueabi/linux-ti-staging/5.10.100+gitAUTOINC+7a7a3af903-r7b.arago5_psdkla_14/temp/log.do_compile.3704
Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: make -j 6 HOSTCC=gcc  -isystem/home/stranzjm/Yocto/build/ti-processor-sdk-linux-08_02_01_00/arago-tmp-external-arm-glibc/work/am57xx_evm-linux-gnueabi/linux-ti-staging/5.10.100+gitAUTOINC+7a7a3af903-r7b.arago5_psdkla_14/recipe-sysroot-native/usr/include -O2 -pipe -L/home/stranzjm/Yocto/build/ti-processor-sdk-linux-08_02_01_00/arago-tmp-external-arm-glibc/work/am57xx_evm-linux-gnueabi/linux-ti-staging/5.10.100+gitAUTOINC+7a7a3af903-r7b.arago5_psdkla_14/recipe-sysroot-native/usr/lib                         -L/home/stranzjm/Yocto/build/ti-processor-sdk-linux-08_02_01_00/arago-tmp-external-arm-glibc/work/am57xx_evm-linux-gnueabi/linux-ti-staging/5.10.100+gitAUTOINC+7a7a3af903-r7b.arago5_psdkla_14/recipe-sysroot-native/lib                         -Wl,--enable-new-dtags                         -Wl,-rpath-link,/home/stranzjm/Yocto/build/ti-processor-sdk-linux-08_02_01_00/arago-tmp-external-arm-glibc/work/am57xx_evm-linux-gnueabi/linux-ti-staging/5.10.100+gitAUTOINC+7a7a3af903-r7b.arago5_psdkla_14/recipe-sysroot-native/usr/lib                         -Wl,-rpath-link,/home/stranzjm/Yocto/build/ti-processor-sdk-linux-08_02_01_00/arago-tmp-external-arm-glibc/work/am57xx_evm-linux-gnueabi/linux-ti-staging/5.10.100+gitAUTOINC+7a7a3af903-r7b.arago5_psdkla_14/recipe-sysroot-native/lib                         -Wl,-rpath,/home/stranzjm/Yocto/build/ti-processor-sdk-linux-08_02_01_00/arago-tmp-external-arm-glibc/work/am57xx_evm-linux-gnueabi/linux-ti-staging/5.10.100+gitAUTOINC+7a7a3af903-r7b.arago5_psdkla_14/recipe-sysroot-native/usr/lib                         -Wl,-rpath,/home/stranzjm/Yocto/build/ti-processor-sdk-linux-08_02_01_00/arago-tmp-external-arm-glibc/work/am57xx_evm-linux-gnueabi/linux-ti-staging/5.10.100+gitAUTOINC+7a7a3af903-r7b.arago5_psdkla_14/recipe-sysroot-native/lib                         -Wl,-O1 HOSTCPP=gcc  -E HOSTCXX=g++  -isystem/home/stranzjm/Yocto/build/ti-processor-sdk-linux-08_02_01_00/arago-tmp-external-arm-glibc/work/am57xx_evm-linux-gnueabi/linux-ti-staging/5.10.100+gitAUTOINC+7a7a3af903-r7b.arago5_psdkla_14/recipe-sysroot-native/usr/include -O2 -pipe -L/home/stranzjm/Yocto/build/ti-processor-sdk-linux-08_02_01_00/arago-tmp-external-arm-glibc/work/am57xx_evm-linux-gnueabi/linux-ti-staging/5.10.100+gitAUTOINC+7a7a3af903-r7b.arago5_psdkla_14/recipe-sysroot-native/usr/lib                         -L/home/stranzjm/Yocto/build/ti-processor-sdk-linux-08_02_01_00/arago-tmp-external-arm-glibc/work/am57xx_evm-linux-gnueabi/linux-ti-staging/5.10.100+gitAUTOINC+7a7a3af903-r7b.arago5_psdkla_14/recipe-sysroot-native/lib                         -Wl,--enable-new-dtags                         -Wl,-rpath-link,/home/stranzjm/Yocto/build/ti-processor-sdk-linux-08_02_01_00/arago-tmp-external-arm-glibc/work/am57xx_evm-linux-gnueabi/linux-ti-staging/5.10.100+gitAUTOINC+7a7a3af903-r7b.arago5_psdkla_14/recipe-sysroot-native/usr/lib                         -Wl,-rpath-link,/home/stranzjm/Yocto/build/ti-processor-sdk-linux-08_02_01_00/arago-tmp-external-arm-glibc/work/am57xx_evm-linux-gnueabi/linux-ti-staging/5.10.100+gitAUTOINC+7a7a3af903-r7b.arago5_psdkla_14/recipe-sysroot-native/lib                         -Wl,-rpath,/home/stranzjm/Yocto/build/ti-processor-sdk-linux-08_02_01_00/arago-tmp-external-arm-glibc/work/am57xx_evm-linux-gnueabi/linux-ti-staging/5.10.100+gitAUTOINC+7a7a3af903-r7b.arago5_psdkla_14/recipe-sysroot-native/usr/lib                         -Wl,-rpath,/home/stranzjm/Yocto/build/ti-processor-sdk-linux-08_02_01_00/arago-tmp-external-arm-glibc/work/am57xx_evm-linux-gnueabi/linux-ti-staging/5.10.100+gitAUTOINC+7a7a3af903-r7b.arago5_psdkla_14/recipe-sysroot-native/lib                         -Wl,-O1 uImage CC=arm-none-linux-gnueabihf-gcc  -mno-thumb-interwork -marm -fuse-ld=bfd -fmacro-prefix-map=/home/stranzjm/Yocto/build/ti-processor-sdk-linux-08_02_01_00/arago-tmp-external-arm-glibc/work/am57xx_evm-linux-gnueabi/linux-ti-staging/5.10.100+gitAUTOINC+7a7a3af903-r7b.arago5_psdkla_14=/usr/src/debug/linux-ti-staging/5.10.100+gitAUTOINC+7a7a3af903-r7b.arago5_psdkla_14                      -fdebug-prefix-map=/home/stranzjm/Yocto/build/ti-processor-sdk-linux-08_02_01_00/arago-tmp-external-arm-glibc/work/am57xx_evm-linux-gnueabi/linux-ti-staging/5.10.100+gitAUTOINC+7a7a3af903-r7b.arago5_psdkla_14=/usr/src/debug/linux-ti-staging/5.10.100+gitAUTOINC+7a7a3af903-r7b.arago5_psdkla_14                      -fdebug-prefix-map=/home/stranzjm/Yocto/build/ti-processor-sdk-linux-08_02_01_00/arago-tmp-external-arm-glibc/work/am57xx_evm-linux-gnueabi/linux-ti-staging/5.10.100+gitAUTOINC+7a7a3af903-r7b.arago5_psdkla_14/recipe-sysroot=                      -fdebug-prefix-map=/home/stranzjm/Yocto/build/ti-processor-sdk-linux-08_02_01_00/arago-tmp-external-arm-glibc/work/am57xx_evm-linux-gnueabi/linux-ti-staging/5.10.100+gitAUTOINC+7a7a3af903-r7b.arago5_psdkla_14/recipe-sysroot-native=  -fdebug-prefix-map=/home/stranzjm/Yocto/build/ti-processor-sdk-linux-08_02_01_00/arago-tmp-external-arm-glibc/work-shared/am57xx-evm/kernel-source=/usr/src/kernel   LD=arm-none-linux-gnueabihf-ld.bfd   LOADADDR=0x80008000 DTC_FLAGS=-@
|   GEN     Makefile
|   HOSTCXX scripts/gcc-plugins/arm_ssp_per_task_plugin.so
|   HOSTCC  scripts/extract-cert
| In file included from /home/stranzjm/Yocto/build/ti-processor-sdk-linux-08_02_01_00/arago-tmp-external-arm-glibc/work-shared/am57xx-evm/kernel-source/scripts/gcc-plugins/gcc-common.h:139:0,
|                  from /home/stranzjm/Yocto/build/ti-processor-sdk-linux-08_02_01_00/arago-tmp-external-arm-glibc/work-shared/am57xx-evm/kernel-source/scripts/gcc-plugins/arm_ssp_per_task_plugin.c:3:
| /home/stranzjm/Projekte/ti-am57x/PROCESSOR-SDK-LINUX-AM57X/toolchain/gcc-arm-9.2-2019.12-x86_64-arm-none-linux-gnueabihf/bin/../lib/gcc/arm-none-linux-gnueabihf/9.2.1/plugin/include/builtins.h:23:10: fatal error: mpc.h: No such file or directory
|  #include <mpc.h>
|           ^~~~~~~
| compilation terminated.
| /home/stranzjm/Yocto/build/ti-processor-sdk-linux-08_02_01_00/arago-tmp-external-arm-glibc/work-shared/am57xx-evm/kernel-source/scripts/gcc-plugins/Makefile:47: recipe for target 'scripts/gcc-plugins/arm_ssp_per_task_plugin.so' failed
| make[3]: *** [scripts/gcc-plugins/arm_ssp_per_task_plugin.so] Error 1
| /home/stranzjm/Yocto/build/ti-processor-sdk-linux-08_02_01_00/arago-tmp-external-arm-glibc/work-shared/am57xx-evm/kernel-source/scripts/Makefile.build:497: recipe for target 'scripts/gcc-plugins' failed
| make[2]: *** [scripts/gcc-plugins] Error 2
| make[2]: *** Waiting for unfinished jobs....
| /home/stranzjm/Yocto/build/ti-processor-sdk-linux-08_02_01_00/arago-tmp-external-arm-glibc/work-shared/am57xx-evm/kernel-source/Makefile:1199: recipe for target 'scripts' failed
| make[1]: *** [scripts] Error 2
| /home/stranzjm/Yocto/build/ti-processor-sdk-linux-08_02_01_00/arago-tmp-external-arm-glibc/work-shared/am57xx-evm/kernel-source/Makefile:185: recipe for target '__sub-make' failed
| make: *** [__sub-make] Error 2
| ERROR: oe_runmake failed
| WARNING: /home/stranzjm/Yocto/build/ti-processor-sdk-linux-08_02_01_00/arago-tmp-external-arm-glibc/work/am57xx_evm-linux-gnueabi/linux-ti-staging/5.10.100+gitAUTOINC+7a7a3af903-r7b.arago5_psdkla_14/temp/run.do_compile.3704:1 exit 1 from 'exit 1'
| ERROR: Execution of '/home/stranzjm/Yocto/build/ti-processor-sdk-linux-08_02_01_00/arago-tmp-external-arm-glibc/work/am57xx_evm-linux-gnueabi/linux-ti-staging/5.10.100+gitAUTOINC+7a7a3af903-r7b.arago5_psdkla_14/temp/run.do_compile.3704' failed with exit code 1
ERROR: Task (/home/stranzjm/Projekte/ti-am57x/PROCESSOR-SDK-LINUX-AM57X/ti-processor-sdk-linux-08_02_01_00/yocto-build/sources/meta-ti/recipes-kernel/linux/linux-ti-staging_5.10.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 1527 tasks of which 1525 didn't need to be rerun and 1 failed.
NOTE: Writing buildhistory
NOTE: Writing buildhistory took: 1 seconds