Summary: | arm profile: unmask virtual/rust and dev-lang/rust | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Craig Andrews <candrews> |
Component: | Profiles | Assignee: | Gentoo Rust Project <rust> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | arm, candrews, cardoe, herrtimson, navi, randy, sam |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=733076 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Craig Andrews
2020-07-17 14:16:01 UTC
prove me wrong, but this mask has been added because there is no rustc stage for armv4/5, and that means no rust-bin but also no dev-lang/rust because there's nothing to bootstrap from in the first place! rust-std is available for armv4/5, so users are able to cross compile binaries if they want to from other and more powerfull devices. (In reply to tt_1 from comment #1) > prove me wrong, but this mask has been added because there is no rustc stage > for armv4/5, and that means no rust-bin but also no dev-lang/rust because > there's nothing to bootstrap from in the first place! > > rust-std is available for armv4/5, so users are able to cross compile > binaries if they want to from other and more powerfull devices. That's exactly it. Let's see what gyakovlev says but we essentially discussed this the other day and the conclusion was there's no point in unmasking (nor would it preserve the integrity of the depgraph) because we can't satisfy virtual/rust on armv4/5. What we do instead is mask Rust-dependent packages on those earlier arm architectures, while making it available for >= armv6j. yeah it's kinda possible to cross-build rust on those arches now (patches needed and work in progress, but getting close). but bootstrap problem still stands, like described above. There's no rust-bin/upstream tarball for those arm subarches, hence not possible to emerge rust. the only possibility is to cross-emerge rust from somewhere else. it does not work by default and that's why it's masked. |