[MacPorts] #47085: libffi is built for G4 when running on a G3
MacPorts
noreply at macports.org
Mon May 10 18:28:58 UTC 2021
#47085: libffi is built for G4 when running on a G3
---------------------+---------------------------
Reporter: tomemm | Owner: ryandesign
Type: defect | Status: accepted
Priority: Normal | Milestone:
Component: ports | Version: 2.3.3
Resolution: | Keywords: tiger powerpc
Port: libffi |
---------------------+---------------------------
Changes (by ryandesign):
* cc: ryandesign (removed)
* status: new => accepted
* owner: macports-tickets@… => ryandesign
Comment:
There was no response to my mailing list post so I'm going ahead with the
change.
Upstream switched to using ppc7400 as part of this megacommit:
https://github.com/libffi/libffi/commit/0e5843995f46900ef212531281e08b224464f413
But the comments in the ChangeLog show that the intention was to provide
64-bit support. There's no mention in the comments about also switching
the 32-bit support to require G4, so the change may have been
unintentional or upstream may simply not have considered that people using
pre-G4 processors might still be interested in libffi.
On Mac OS X 10.5, if you compile for arch ppc, gcc silently substitutes
arch ppc7400 since 10.5 requires a G4 or better, so this won't make a
difference for Leopard systems, so I'm only increasing the revision of the
port for Tiger.
Compiling for G3 should be fine for a G4, it just won't include any
G4-specific optimizations. For PowerPC, MacPorts always compiles with arch
ppc, not arch ppc7400, so this change makes libffi consistent with other
ports.
--
Ticket URL: <https://trac.macports.org/ticket/47085#comment:11>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list