[MacPorts] #61170: libffi @3.3_1 fails to build on 10.5 i386

MacPorts noreply at macports.org
Sun Sep 13 04:02:39 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 kencu):

 I see it built fine on 10.6 i386 using gcc-4.2 and the system assembler
 there.

 This block of the Portfile should ensure that no macports-clang compiler
 is used to build it:
 {{{
 if {${os.platform} eq "darwin" && ${os.major} < 11} {
     # Doesn't actually use C++, and having the stdlib set to libc++
     # on 10.6 causes a macports-clang compiler to be chosen.
     configure.cxx_stdlib
 }
 }}}

 Can you think of some reason that a clang compiler is being called in?
 That would appear to be what we need to fix on 10.5 i386 (which - AFAICT -
 should not be calling a clang compiler for this build in the first place).

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


More information about the macports-tickets mailing list