[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 13:14:09 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 kencu):
Replying to [comment:38 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, boost176+universal is broken.
Doing this all the time breaks the ppc64 universal build, which macports
still supports.
So someone needs to spend a few hours and fix it properly….
--
Ticket URL: <https://trac.macports.org/ticket/64954#comment:40>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list