[MacPorts] #64954: boost177 @1.77.0+universal: error: 64-bit PPC compilation is not supported when targeting OSX 10.6 or later

MacPorts noreply at macports.org
Mon Apr 25 16:08:49 UTC 2022


#64954: boost177 @1.77.0+universal: error: 64-bit PPC compilation is not supported
when targeting OSX 10.6 or later
-----------------------+-----------------------
  Reporter:  kithrup   |      Owner:  michaelld
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.7.2
Resolution:            |   Keywords:
      Port:  boost177  |
-----------------------+-----------------------

Comment (by kithrup):

 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_boost177/boost177/work/boost_1_77_0/tools/build/src/tools/darwin.jam`
 however, has arch "combined" complaining if PPC is not supported:

 {{{
         case combined :
         {
             if $(address-model) = 32_64 {
                 if $(support-ppc64) {
                     options = -arch i386 -arch ppc -arch x86_64 -arch
 ppc64 ;
                 } else {
                     # Build 3-way binary
                     options = -arch i386 -arch ppc -arch x86_64 ;
                 }
             } else if $(address-model) = 64 {
                 if $(support-ppc64) {
                     options = -arch x86_64 -arch ppc64 ;
                 } else {
                     errors.user-error "64-bit PPC compilation is not
 supported w
 hen targeting OSX 10.6 or later" ;
                 }
             } else {
                 options = -arch i386 -arch ppc ;
             }
         }

 }}}

 32-bits isn't supported any longer, so if ppc isn't supported, it should
 be x86_64 and arm64, no?

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


More information about the macports-tickets mailing list