IMX8MP in Yocto LF6.1.22_2.0.0 rust-llvm_1.68.1.bb:do_compile failed

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

IMX8MP in Yocto LF6.1.22_2.0.0 rust-llvm_1.68.1.bb:do_compile failed

跳至解决方案
1,495 次查看
Childe
Contributor II

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!

 

标记 (2)
0 项奖励
回复
1 解答
1,399 次查看
Harvey021
NXP TechSupport
NXP TechSupport

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

在原帖中查看解决方案

0 项奖励
回复
4 回复数
1,420 次查看
Harvey021
NXP TechSupport
NXP TechSupport

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

 

0 项奖励
回复
1,414 次查看
Childe
Contributor II

Hi Harvey,

Please see error log in the attached.

Thanks!

0 项奖励
回复
1,400 次查看
Harvey021
NXP TechSupport
NXP TechSupport

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

0 项奖励
回复
1,347 次查看
Childe
Contributor II
Hi Harvey,

I can build now. Thanks!
0 项奖励
回复