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’?
Do you have any idea about to fixed the issue? Thanks
已解决! 转到解答。
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
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
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