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,652件の閲覧回数
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,556件の閲覧回数
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,577件の閲覧回数
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,571件の閲覧回数
Childe
Contributor II

Hi Harvey,

Please see error log in the attached.

Thanks!

0 件の賞賛
返信
1,557件の閲覧回数
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,504件の閲覧回数
Childe
Contributor II
Hi Harvey,

I can build now. Thanks!
0 件の賞賛
返信