[MacPorts] #70331: gcc14 (c++) can not compile trivial program
MacPorts
noreply at macports.org
Mon Jul 8 08:16:26 UTC 2024
#70331: gcc14 (c++) can not compile trivial program
----------------------+--------------------
Reporter: acmaggs | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: gcc14 |
----------------------+--------------------
Comment (by cjones051073):
Mouse, my point was I suspect GCC has changed something that has made them
sensitive to the precise Xcode version, so whilst I do not disagree they
shouldn't be sensitive to the exact Xcode version, the fact you are up to
date and the build bots are not are I think the probably (part of) the
problem.
Can you please try a few things.
1. Try gcc13 and gcc12. gcc13 required the same changes as gcc14 in order
for the latest versions to work, which include fixes for the 'fixincludes'
mechanisms GCC has ( see https://github.com/iains/gcc-13-branch/issues/20
for the details). gcc12 does not though.
2. Try building libgcc14+gcc14 from source, so against the SDK you have. I
have the latest Xcode and my version works fine, but this is from when I
built from source myself locally before pushing the new version).
If we can prove to ourselves that it is GCC that is overly senstive to the
SDK used to build itself, then a bug report should be opened at
https://github.com/iains/gcc-14-branch/issues
and/or
https://github.com/iains/gcc-13-branch/issues
--
Ticket URL: <https://trac.macports.org/ticket/70331#comment:18>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list