[MacPorts] #61170: libffi @3.3_1 fails to build on 10.5 i386
MacPorts
noreply at macports.org
Sun Sep 13 18:12:32 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):
You misunderstood. The problem isn't that `clang` is being used by
mistake; the problem (I think) is that it ''needs'' to use `clang` and
can't, which is why I was able to bully it through by forcing a MacPorts
`clang` on the command line.
I have no idea why the problem only shows up on 10.5/i386/Xcode3.1.4, but
it does. I think this block is relevant:
{{{
# Older versions of cctools have a history of being problematic with
complex
# asm like libffi has, so opt for the integrated assembler if it's
available
if {[string match *clang* ${configure.compiler}]} {
configure.cflags-append -integrated-as
}
}}}
Forcing it to use `clang` allows this to have an effect. It then rebuilds
`llvm`, due to the dependency which is only "loosely circular".
I'll attach the logfile.
--
Ticket URL: <https://trac.macports.org/ticket/61170#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list