[MacPorts] #70331: gcc14 (c++) can not compile trivial program

MacPorts noreply at macports.org
Mon Jul 8 14:14:19 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 mouse07410):

 > 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.

 I honestly do not know.

 > Try gcc13 and gcc12.

 Both gcc13 and gcc12 **fail** when {{{-stdlib=libc++}}} flag is set. Both
 gcc12 and gcc13 **succeed** otherwise.

 > 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).

 Yuk. That's a tall request for me - last time I built GCC myself from
 sources was a decade or two ago.

-- 
Ticket URL: <https://trac.macports.org/ticket/70331#comment:25>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list