[MacPorts] #61170: libffi @3.3_1 fails to build on 10.5 i386
MacPorts
noreply at macports.org
Mon Sep 14 01:13:19 UTC 2020
#61170: libffi @3.3_1 fails to build on 10.5 i386
------------------------+--------------------
Reporter: fhgwright | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.6.3
Resolution: | Keywords:
Port: libffi |
------------------------+--------------------
Comment (by fhgwright):
Since that's just trading one problem for another, maybe it's the wrong
rabbit hole to be going down.
I'm attaching logfiles from three "neighboring" success cases - 10.4 i386,
10.5 ppc, 10.5 x86_64. I think you already have 10.6.
On the whole PIC/PIE thing:
AIUI, fully position-independent code, as needed in shared libraries or
code to be statically linked into shared libraries, needs -fPIC, which is
stronger than -fPIE. For code only intended for executables, including
statically linking into executables, -fPIE is sufficient, and serves
entirely just to support ASLR. I think it tracks this to determine
whether ASLR is usable on a given executable. OSX added ASLR support in
10.5, so -fPIE is pointless for 10.4. It's not clear in all this mess
whether -fPIC is present, which would be needed for shared libraries.
--
Ticket URL: <https://trac.macports.org/ticket/61170#comment:13>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list