[MacPorts] #70951: Linker ld warning -ld_classic is deprecated when compiling with gcc14

MacPorts noreply at macports.org
Tue Oct 1 13:35:38 UTC 2024


#70951: Linker ld warning -ld_classic is deprecated when compiling with gcc14
-----------------------+---------------------
  Reporter:  haberg-1  |      Owner:  (none)
      Type:  defect    |     Status:  closed
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:
Resolution:  fixed     |   Keywords:  sequoia
      Port:  gcc14     |
-----------------------+---------------------

Comment (by cjones051073):

 Just to note, the fix above is only on the macports side, to limit the
 explicit use of ld-classic during build. However, internally gcc14 9and
 others) configures themselves to potentially still use this option, so
 this will remain a warning until upstream GCC fixes it.

 It is only a warning though at this stage, it should not cause any build
 failures. the option will likely remain for the lifetime of Xcode 16, but
 for the next release, 17 onwards, we should consider its removal a
 possibility (its basically up to Apple to decide when they do this).

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


More information about the macports-tickets mailing list