| Summary: | rust-cross broken for ARMv5 | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Denys Dmytriyenko <denis> |
| Component: | devtools / tool chain | Assignee: | Steve Sakoman <steve> |
| Status: | RESOLVED WONTFIX | QA Contact: | |
| Severity: | normal | ||
| Priority: | Medium+ | CC: | cp0613, meta.mr.watcher, meta.watcher, randy.macleod, sundeep.kokkonda |
| Version: | 4.0 | ||
| Target Milestone: | 4.0.11 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | Don't know | |
|
Description
Denys Dmytriyenko
2022-11-11 01:12:55 UTC
You can add the '-eabi' for arm-unknown-linux-gnueabihf temporarily in rust-common.inc. I found from the git log that this has been repeatedly modified. For the reference. This commit changed the target generation keyed of from just <arch> to <arch>-<abi>: https://git.openembedded.org/openembedded-core/commit/?id=79bd6389585327820dfc1a1d29f60779ef08b2e0 These are the commits that changed the entry back and forth between "arm" and "arm-eabi": https://git.openembedded.org/openembedded-core/commit/?id=ef49f89c89889466ee3696ab680f8e10c961a677 https://git.openembedded.org/openembedded-core/commit/?id=299f429a1ee387681ba70e33ca23f165e5837961 https://git.openembedded.org/openembedded-core/commit/?id=a4886f02dfb78e861fd7afe07b4a25c262bf0421 Since qemuarm = armv7, not sure why "arm" entry was modified, not "armv7". This does affect qemuarmv5 negatively though. I think I heard Steve say that this likely won't get fixed on the 4.0.* branch. Since we have The newer rust code and build rules in: https://git.yoctoproject.org/meta-lts-mixins/log/?h=kirkstone/rust-1.68 I'm going to close the defect as Won't Fix. If that's a problem for you Denys, please re-open and explain why you can't use the mixin layer. |