Hi NXP Team,
I got error rust-llvm_1.68.1.bb:do_compile while try to build Yocto LF6.1.22_2.0.0.
I cleaned then build only rust-llvm, it is still failed.
Do you have any idea to fix it?
Below is details
Host machine : Ubuntu 20.04
MACHINE ??= 'imx8mp-lpddr4-evk'
DISTRO ?= 'fsl-imx-wayland'
ERROR: Task (virtual:native:/home/night/imx-yocto-bsp/sources/poky/meta/recipes-devtools/rust/rust-llvm_1.68.1.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 796 tasks of which 794 didn't need to be rerun and 1 failed.
Summary: 1 task failed:
virtual:native:/home/night/imx-yocto-bsp/sources/poky/meta/recipes-devtools/rust/rust-llvm_1.68.1.bb:do_compile
Summary: There was 1 ERROR message, returning a non-zero exit code.
Thanks!
Solved! Go to Solution.
The error that can tell the static library libLLVMAggressiveInstCombine.a is missing.
From the logfile: (Logfile of failure stored in: /home/night/imx-yocto-bsp/build-xwayland/tmp/work/x86_64-linux/rust-llvm-native/1.68.1-r0/temp/log.do_compile.9177) probably can tell more which caused the missing.
One more suggestion to start a clean build.
Best regards
Harvey
Hi @Childe
Can you share the full steps you have done?
The error that you share can't be determined for the cause of the compiling failure. Have you tested with fetch for the recipe- rust-llvm_1.68.1 with success and host packages installed as required by the Yocto User Guide LF6.1.22_2.0.0?
And can you share the error log for further diagnosis?
Best regards
Harvey
The error that can tell the static library libLLVMAggressiveInstCombine.a is missing.
From the logfile: (Logfile of failure stored in: /home/night/imx-yocto-bsp/build-xwayland/tmp/work/x86_64-linux/rust-llvm-native/1.68.1-r0/temp/log.do_compile.9177) probably can tell more which caused the missing.
One more suggestion to start a clean build.
Best regards
Harvey