[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 16:37:27 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:40 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….
>
> edit: oh, i could be wrong…. perhaps it would be the fix… have to try
all the combinations.
I greatly appreciate your assistance Ken. I'm sure everyone else who's
been hit with this problem does, too.
Let me know if there's anything I can do to help. I have an M1 Mac. I'm
willing to test some patches, if you want me to.
Cheers.
--
Ticket URL: <https://trac.macports.org/ticket/64954#comment:41>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list