Created attachment 4851 [details] Error logs while installing sdk with rust tools. The sdk installation with Rust tools is failed with errors for qemuarm architecture. The build configuration and error details are in Chapter1 of attached 'Error_Logs.rtf' file. For the mips & ppc architectures the sdk relocation failed. The build configuration and error details are in Chapter2&3 of attached 'Error_Logs.rtf' file. ------------------- Steps to reproduce: <setup standard poky build in local.conf for target architecture i.e., for arm32/mips32/mips64/ppc> $ echo 'TOOLCHAIN_HOST_TASK:append = " packagegroup-rust-cross-canadian-${MACHINE}"' >> conf/auto.conf $ bitbake core-image-minimal -cpopulate_sdk < installation steps (can be referred in attached file also) > $ ./tmp/deploy/sdk/poky-glibc-x86_64-core-image-minimal-mips64r2-qemumips64-toolchain-3.4+snapshot.sh -------------------- The sdk shall be installed with Rust tools for each BSP and the rust application (any rust program for eg., a simple 'helloWorld' program) developed for the given target shall be executed in the qemu/hardware target. Also, I would like to automate such test case in OEQA framework.
Sundeep, Thanks for the clear defect report. Please work on qemuarm first. To me that's required for 3.5 GA in early April. If we can fix Mips*, ppc* that would be nice but if not we document the limitation in the release notes and see if interested parties are willing to spend time supporting those targets. For anyone reading, Sundeep mentioned privately that: "x86_64 was already tested, the x86 here is a 32 bit machine. Both x86 (32 bit) & x86-64 are tested and works fine."
The errors are fixed and patches sent to upstream. Detailed info about patches can be found in below links: https://www.mail-archive.com/openembedded-core@lists.openembedded.org/msg160828.html https://www.mail-archive.com/openembedded-core@lists.openembedded.org/msg160829.html
Patches are taken to 'master' branch. Below are the Commit IDs. https://git.openembedded.org/openembedded-core/commit/?id=7d6f4b1373e4dfafc63702ef2426cd45100f18a3 https://git.openembedded.org/openembedded-core/commit/?id=8ed000debb026477abd86ea3bf72adaf21d69f39 https://git.openembedded.org/openembedded-core/commit/?id=65ce2d129154d4540cb8ec960971bcf6aa5a9480