[MacPorts] #67416: libgcc12 @12.3.0: build failure on Monterey
MacPorts
noreply at macports.org
Sun May 21 16:32:56 UTC 2023
#67416: libgcc12 @12.3.0: build failure on Monterey
----------------------+----------------------
Reporter: hululud | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.8.1
Resolution: | Keywords: monterey
Port: gcc12 |
----------------------+----------------------
Comment (by ryandesign):
According to [https://stackoverflow.com/questions/73714336/xcode-update-
to-version-2395-ld-compile-problem-occurs-computedatomcount-m this], it is
a bug in Xcode 14.0, fixed in 14.1 beta 3 and later. The solutions
presented there are to upgrade to Xcode 14.1 or downgrade to 13.4. We have
14.0.1 on the macOS 12 buildbot worker and I don't intend to update
because 14.0.1 is the last version that contains the macOS 12 SDK and we
want the SDK version to match the OS version because of the problems that
not doing that typically causes.
Sounds like this should be added to the port to work around the problem
for anyone using Xcode 14.0 or 14.0.1:
{{{
PortGroup compiler_blacklist_versions 1.0
}}}
{{{
compiler.blacklist-append {clang >= 1400 < 1400.0.29.202}
}}}
I could downgrade Xcode to 13.4 on the buildbot if that is strongly
desired.
--
Ticket URL: <https://trac.macports.org/ticket/67416#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list