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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

Jump to solution
1,496 Views
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!

 

Tags (2)
0 Kudos
Reply
1 Solution
1,400 Views
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

View solution in original post

0 Kudos
Reply
4 Replies
1,421 Views
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 Kudos
Reply
1,415 Views
Childe
Contributor II

Hi Harvey,

Please see error log in the attached.

Thanks!

0 Kudos
Reply
1,401 Views
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 Kudos
Reply
1,348 Views
Childe
Contributor II
Hi Harvey,

I can build now. Thanks!
0 Kudos
Reply