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

MacPorts noreply at macports.org
Tue Jul 4 05:37:54 UTC 2023


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

Comment (by mallman):

 Replying to [comment:9 kithrup]:
 > I locally changed it to
 > {{{
 >             } else if $(address-model) = 64 {
 >                 if $(support-ppc64) {
 >                     options = -arch x86_64 -arch ppc64 ;
 >                 } else {
 >                     options = -arch x86_64 -arch arm64 ;
 >                 }
 >             } else {
 >
 > }}}
 >
 > and it seems to have built & installed.

 Supposing this is the correct fix, would a maintainer add a patch to the
 port? As is, boost179+universal is broken.

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


More information about the macports-tickets mailing list