[MacPorts] #69380: libffi fails on 10.5 PPC for bad patch

MacPorts noreply at macports.org
Mon Feb 26 20:25:37 UTC 2024


#69380: libffi fails on 10.5 PPC for bad patch
-----------------------+-------------------------
  Reporter:  rmottola  |      Owner:  (none)
      Type:  defect    |     Status:  new
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:
Resolution:            |   Keywords:  leopard ppc
      Port:  libffi    |
-----------------------+-------------------------

Comment (by fhgwright):

 Replying to [comment:21 ballapete]:
 > There might be a cause for testing on `PPC` more than on other hardware:
 Different ways to store (real world) multi-byte data, MSB vs. LSB. OTOH,
 there could be the same problem that I addressed in my updated GCC42
 patch: Inadequate compiler options. I could only solve the PPC problems…

 Actually, back when I was wrestling with `libffi` issues, I found that the
 most troublesome architecture was `i386`.  This may be because it's the
 most register-starved architecture, and hence the one with the kludgiest
 ABI.

 That was a few years ago, and I'd come up with three fixes for Portfile
 issues before going down a large rabbit hole trying to fix all the test
 failures, and eventually putting the whole thing aside.  It seems that at
 least two of the Portfile fixes are still relevant, and I'm reserving
 judgment on the third pending further testing.

 I'll clean up the conditional patchfile mess shortly, and then look into
 how many of the test failures are practical to fix in the short term.

 Someone with write access can feel free to assign this ticket to me; I
 can't do it myself.

-- 
Ticket URL: <https://trac.macports.org/ticket/69380#comment:22>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list