I am trying to download yocto resources for Linux 5.4.47_2.2.0 for imx6q-sabesd board .
Because some resources have not been downloaded successfully during bitbake imx-image-full, I tried later:
bitbake core-image-base ---> ok
bitbake core-image-base -c populate_sdk ---> failed
bitbake meta-toolchain ---> failed
I found that I have successfully downloaded the kernel and uboot source code, I just want to have a cross-compiler. I will try to download other resources later.
The error message is almost like this:
| WARNING: exit code 1 from a shell command.
|
ERROR: Task (virtual:native:/home/linux/imx-yocto-bsp/sources/meta-clang/recipes-devtools/clang/clang_git.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 4030 tasks of which 4029 didn't need to be rerun and 1 failed.
Summary: 1 task failed:
virtual:native:/home/linux/imx-yocto-bsp/sources/meta-clang/recipes-devtools/clang/clang_git.bb:do_compile
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
After this :
bitbake -c cleanall clang-native
bitbake -c cleanall clang
bitbake meta-toolchain ------------------> failed
Please check the attachment ( the file Linux 5.4.47_2.2.0.txt ) for detailed error information
We have been using gcc. Why is clang here? What should I do now?
In addition, how to get the official cross compiler out of the Yocto project ?