[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 Dec 19 16:48:42 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: closed
Priority: Normal | Milestone:
Component: ports | Version: 2.7.2
Resolution: fixed | Keywords:
Port: boost177 boost176 |
--------------------------------+-----------------------
Changes (by kencu):
* status: reopened => closed
* resolution: => fixed
Comment:
In [changeset:"ecb1dc8dabb800a0fa569b84d32516d81a387180/macports-ports"
ecb1dc8dabb800a0fa569b84d32516d81a387180/macports-ports] (master):
{{{
#!ConfigurableCommitTicketReference repository="macports-ports"
revision="ecb1dc8dabb800a0fa569b84d32516d81a387180"
boost176: allow univeral building on arm/Intel
boost176 predates the arm Macs by some years
We use a fallback pathway to force the "combined" architecture
and jam the proper archflags into the build via that method.
Then there is an issue properly selecting a set of asm sources
to use. The hiccup is on the abi, which is different between
arm64 and Intel, so we remove the abi from the specifications
for asm files.
With these two changes, boost176 builds through as universal
on arm and has the required architectures in libraries.
This is not elegant, but it works until our default boost is advanced
to some newer version that better supports arm/Intel universal builds.
closes: https://trac.macports.org/ticket/64954
}}}
--
Ticket URL: <https://trac.macports.org/ticket/64954#comment:45>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list