@Piotr: can we remove these patches? I don't understand what this line is supposed to do: (Triple.getOSMajorVersion() == 0 || Triple.getOSMajorVersion() >= 13)) It fixes rust-bootstrap@powerpc after https://github.com/rust-lang/llvm-project/commit/5d585c9dd07d0df4d450e2b1ba61fb17a5153aac
Created attachment 246444 [details] v0
I'll test it, but basically this line means that if the target is powerpc-unknown-freebsd13.0 (or newer version) or if the version is not specified (so the target is powerpc-unknown-freebsd), then secureplt is enabled.
I think we could currently just drop the version check and just enable secureplt on all powerpc since there wasn't even a Rust support for 12.x.
Testing with 1.73.0, the whole files/powerpc directory may be safely removed. Both lang/rust in powerpc jail and lang/rust-bootstrap@powerpc build.
(In reply to Piotr Kubaj from comment #4) Ok, thanks. Can you commit the change please?