IMX8MM in Yocto 5.15.52 rust-llvm_1.59.0.bb do_compile failed.

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

IMX8MM in Yocto 5.15.52 rust-llvm_1.59.0.bb do_compile failed.

ソリューションへジャンプ
3,291件の閲覧回数
charleshuang
Senior Contributor II

Hi NXP Team

 

ERROR: Task (virtual:native:/home/adv/adv-release-bsp/sources/poky/meta/recipes-devtools/rust/rust-llvm_1.59.0.bb:do_compile) failed with exit code '1'

In file included from /home/adv/adv-release-bsp/build_5721/tmp/work/x86_64-linux/rust-llvm-native/1.59.0-r0/rustc-1.59.0-src/src/llvm-project/llvm/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp:323:

/home/adv/adv-release-bsp/build_5721/tmp/work/x86_64-linux/rust-llvm-native/1.59.0-r0/build/lib/Target/AArch64/AArch64GenDAGISel.inc: In member function ‘void {anonymous}::AArch64DAGToDAGISel::SelectCode(llvm::SDNode*)’:

/home/adv/adv-release-bsp/build_5721/tmp/work/x86_64-linux/rust-llvm-native/1.59.0-r0/build/lib/Target/AArch64/AArch64GenDAGISel.inc:121066:5: error: ‘OPC_RecordChilD2’ was not declared in this scope; did you mean ‘OPC_RecordChild2’?

charleshuang_0-1670913113948.png

Do you have any idea about to fixed the issue?  Thanks

0 件の賞賛
1 解決策
3,264件の閲覧回数
Sanket_Parekh
NXP TechSupport
NXP TechSupport

Hi @charleshuang 

I hope you are doing well.

It seems you are using old version of rust-llvm. Please try with the latest version of rust-llvm.

Thanks & Regards

Sanket Parekh

元の投稿で解決策を見る

0 件の賞賛
12 返答(返信)
435件の閲覧回数
lkraak
Contributor I

Hey, bump

0 件の賞賛
422件の閲覧回数
charleshuang
Senior Contributor II

Hi NXP Team 

Sorry for late reply. We already find the solution.

0 件の賞賛
436件の閲覧回数
lkraak
Contributor I

bump

0 件の賞賛
1,166件の閲覧回数
yonguklee
Contributor I

i've got the same problem above

please, let me know how to update rust-llvm ??

0 件の賞賛
3,130件の閲覧回数
Ferromagnetic
Contributor II

I have the same problem with standard build for imx8qxpc0mek, is will be fixed on official repo?

0 件の賞賛
3,265件の閲覧回数
Sanket_Parekh
NXP TechSupport
NXP TechSupport

Hi @charleshuang 

I hope you are doing well.

It seems you are using old version of rust-llvm. Please try with the latest version of rust-llvm.

Thanks & Regards

Sanket Parekh

0 件の賞賛
3,252件の閲覧回数
charleshuang
Senior Contributor II
Hi Sanket_Parekh
How to do about update latest version of rust-llvm.
Please provide the solution, Thanks.
0 件の賞賛
3,229件の閲覧回数
Sanket_Parekh
NXP TechSupport
NXP TechSupport

Hi @charleshuang 

One can take the latest source of rust llvm from link. One can follow link to integrate new source in existing yocto repository.

Thanks & Regards

Sanket Parekh

0 件の賞賛
2,980件の閲覧回数
Sanket_Parekh
NXP TechSupport
NXP TechSupport

Hi @charleshuang 

Any updates from your side?

Thanks & Regards

Sanket Parekh

0 件の賞賛
3,206件の閲覧回数
Marco_Zaccheria
NXP Employee
NXP Employee

Hi @Sanket_Parekh,

sorry to jump in, looks like the customer is not doing any BSP customization, instead this issue appears by just following our standard instructions for the build. This means we have a problem on our distribution, and so we definitely have to fix it.

I actually see other similar issues filed, and I have yet another customer who encountered this issue by just building our standard BSP for the i.MX8MNano EVK. This means we shoud definitily file a bug to our SE team, if you don't mind I can do that, and point you to that case so that you can follow the progress.

Meanwhile, could you please provide here more detailed instructions on how to replace the failing package with a more up-to-date one that doesn't show this issue?

Thank you

   Marco

0 件の賞賛
1,304件の閲覧回数
snoophogg
Contributor I

It would be great if someone could provide instructions on how to replace the package with the newer version.  Thanks

0 件の賞賛
2,999件の閲覧回数
Lisbravo
Contributor I

bump