[MacPorts] #44170: libffi @3.1 fails to build on 32-bit systems

MacPorts noreply at macports.org
Sun Jul 13 15:57:43 PDT 2014


#44170: libffi @3.1 fails to build on 32-bit systems
----------------------------+--------------------------
  Reporter:  opr_systems@…  |      Owner:  ryandesign@…
      Type:  defect         |     Status:  new
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:  2.3.1
Resolution:                 |   Keywords:  LP32
      Port:  libffi         |
----------------------------+--------------------------

Comment (by egall@…):

 r122003 tried to address this, but it just leads to the following:
 {{{
 --->  Configuring libffi for architecture x86_64
 Warning: All compilers are either blacklisted or unavailable; defaulting
 to first fallback option
 Warning: All compilers are either blacklisted or unavailable; defaulting
 to first fallback option
 Warning: All compilers are either blacklisted or unavailable; defaulting
 to first fallback option
 Warning: All compilers are either blacklisted or unavailable; defaulting
 to first fallback option
 Warning: All compilers are either blacklisted or unavailable; defaulting
 to first fallback option
 Warning: All compilers are either blacklisted or unavailable; defaulting
 to first fallback option
 Warning: All compilers are either blacklisted or unavailable; defaulting
 to first fallback option
 Warning: All compilers are either blacklisted or unavailable; defaulting
 to first fallback option
 Warning: All compilers are either blacklisted or unavailable; defaulting
 to first fallback option
 Warning: All compilers are either blacklisted or unavailable; defaulting
 to first fallback option
 Warning: All compilers are either blacklisted or unavailable; defaulting
 to first fallback option
 Warning: All compilers are either blacklisted or unavailable; defaulting
 to first fallback option
 Warning: All compilers are either blacklisted or unavailable; defaulting
 to first fallback option
 Warning: All compilers are either blacklisted or unavailable; defaulting
 to first fallback option
 Warning: All compilers are either blacklisted or unavailable; defaulting
 to first fallback option
 Warning: All compilers are either blacklisted or unavailable; defaulting
 to first fallback option
 Warning: All compilers are either blacklisted or unavailable; defaulting
 to first fallback option
 Warning: All compilers are either blacklisted or unavailable; defaulting
 to first fallback option
 DEBUG: Environment:
 CC='ccache /usr/bin/gcc-4.2'
 }}}
 And then it fails with the same error.
 Personally I would have tried one or both of the following:
 {{{
 if {[string match *clang* ${configure.compiler}]} {
     configure.cflags-append -integrated-as
 }
 }}}
 and/or:
 {{{
 if {[string match *clang* ${configure.compiler}]} {
     configure.env-append CCAS="${configure.compiler}"
     # or maybe:
     configure.env-append AS="${configure.compiler} -cc1as"
 }
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/44170#comment:48>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list