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

MacPorts noreply at macports.org
Sat Jul 6 18:18:49 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 ryandesign):

 A similar problem is reported here without solution:

 https://stackoverflow.com/questions/78452523/g-works-but-g-14-produces-a
 -lot-of-errors-on-macos

 Note that the error is occurring in copies of stdio.h and
 AvailabilityInternal.h that gcc has "fixed" in some unspecified way after
 first copying them from the SDK. It seems likely that a newer SDK contains
 changes that gcc was not anticipating, resulting in incorrect files.

 Possibly related to #70328 which is another error originating from the
 "fixed" AvailabilityInternal.h.

 Did you receive binaries of gcc14 and libgcc14 from our servers or compile
 them from source? If the former, maybe the problem is a mismatch between
 the SDK version used on the server, from which those "fixed" files were
 taken, and the SDK version you are now using.

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


More information about the macports-tickets mailing list