Page MenuHomeFreeBSD

lang/rust: add powerpc64 ELFv2 support

Authored by mikael on Jun 28 2019, 1:59 PM.
Referenced Files
Unknown Object (File)
Fri, May 12, 5:35 AM
Unknown Object (File)
Thu, May 4, 6:07 PM
Unknown Object (File)
Mar 26 2023, 7:26 AM
Unknown Object (File)
Mar 15 2023, 2:15 PM
Unknown Object (File)
Mar 11 2023, 6:36 AM
Unknown Object (File)
Mar 4 2023, 8:23 AM
Unknown Object (File)
Feb 9 2023, 11:24 PM
Unknown Object (File)
Jan 17 2023, 6:58 AM

Diff Detail

rP FreeBSD ports repository
Lint Not Applicable
Tests Not Applicable

Event Timeline

jbeich added inline comments.
151 ↗(On Diff #59155)

Did you mean > and not >=? If so 1300036 users may end up using Clang but not ELFv2.

156 ↗(On Diff #59155)

None of rustc --print target-list currently have OS version. Did you check ports depending on lang/rust build fine?

156 ↗(On Diff #59155)

Nevermind. I didn't notice this target is for LLVM.

need to fix osversion, distinfo, Uses/

151 ↗(On Diff #59155)

yes, it should be >=

156 ↗(On Diff #59155)

I tried devel/bingrep, it works fine.

mikael edited the summary of this revision. (Show Details)

I did a

svn mv extra-patch-ppc64-gcc

but it doesn't translate well in the diff, what is the correct way to do it?

mikael retitled this revision from lang/rust: WIP add powerpc64 ELFv2 support to lang/rust: add powerpc64 ELFv2 support.
mikael edited the summary of this revision. (Show Details)
mikael edited reviewers, added: rust; removed: portmgr.
tobik requested changes to this revision.Oct 16 2019, 9:07 AM
tobik added a subscriber: tobik.
tobik added inline comments.
70 ↗(On Diff #63311)

Please just use -${PPC_ABI:tl} and revert the distinfo changes. The bootstrap tarball filenames are all lowercase. Let's keep it that way.

91 ↗(On Diff #63311)


138–144 ↗(On Diff #63311)

It sure feels like this (and extra-patch-ppc64-gcc) should be some cfg! or env! thing in Rust rather than us wrangling with conditional patches, but not sure how that would work exactly. It's fine for now I guess.

256–258 ↗(On Diff #63311)

Best add PPC_ABI=ELFv1 here so that makesum can still work as it should on every arch.

265 ↗(On Diff #63311)


266–267 ↗(On Diff #63311)

Revert these too.

This revision now requires changes to proceed.Oct 16 2019, 9:07 AM
This revision is now accepted and ready to land.Nov 7 2019, 6:19 PM