-
Notifications
You must be signed in to change notification settings - Fork 12.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Promote powerpc64le-unknown-freebsd to Tier 2 #80586
Comments
This comment has been minimized.
This comment has been minimized.
Our ELFv1 port currently requires external patch to link with non-base compiler (that is non-upstreamable). However, ELFv2 currently works without any patches (apart from replacing ELFv1 with ELFv2 in Since rust-lang/rfcs#2992 seems to be ready, I expect this issue will soon be fixed. It will be enough if only ELFv2 gets proper support, ELFv1 is long obsolete and we can just patch it on our own until we decide to drop it. |
cc @pietroalbini or @Mark-Simulacrum as infra team members. |
I am inclined to wait for rust-lang/rfcs#2803 to get approved before we examine new targets or tier movement for existing targets. |
Now target tier policy RFC is merged, can we proceed here? |
I'm quite unsure how to solve the ABI issue. FreeBSD targets ELFv2 ABI on big-endian, same as e.g. OpenBSD, Void Linux and Adelie Linux (so we're not alone). FreeBSD will support big-endian POWER and there are no plans to drop it, but given that there's no way to specify ABI and we need to patch Rust, I think it would be nice to switch to PR to refer powerpc64le-unknown-freebsd target. Is that reasonable? |
Is #80970 inappropriate for specifying/conditionalizing on ABI? |
It's not really necessary. powerpc64le-unknown-freebsd supports only ELFv2, so it will be appriopriate to just hardcode the ABI. On the other hand, powerpc64-unknown-freebsd supports both ELFv1 and ELFv2, so specifying ABI would be helpful, but ELFv1 is just FreeBSD 12.4-RELEASE (of the supported versions) and that one will be supported just until the end of year. We removed support for Rust on ELFv1 in FreeBSD ports anyway and the users are advised to migrate to at least 13.x (which is ELFv2). I believe it will be fine to just hardcode ELFv2 as well at this point. |
Oh. In that case, because these are tier 3 targets currently and thus much more subject to change, and because the goal would be to demand ELFv2 anyways, I believe that it would be more appropriate to simply change things as-necessary to enforce that they use ELFv2 before elevating anything to tier 2. It's fine if, in doing this, two FreeBSD targets would demand different FreeBSD OS version minimums, at your preference. We don't demand that sort of consistency. Otherwise, please refer to the target tier policy. |
It looks like we (in FreeBSD) already have no powerpc64* patches, so it should probably be possible to build Rust in the CI without any changes. |
We are interested in making powerpc64 (and in the future powerpc64le) Tier 2 in Rust, to make it easier to test nightly builds in our package cluster. What would be necessary to do it?
Some other powerpc* targets (for Linux) are already Tier 2.
The text was updated successfully, but these errors were encountered: