[MacPorts] #68322: libgcc12 @12.3.0: ld: library not found for -ld_classic

MacPorts noreply at macports.org
Mon Oct 2 18:50:30 UTC 2023


#68322: libgcc12 @12.3.0: ld: library not found for -ld_classic
-----------------------+--------------------
  Reporter:  k6wx      |      Owner:  (none)
      Type:  defect    |     Status:  new
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.8.1
Resolution:            |   Keywords:
      Port:  libgcc12  |
-----------------------+--------------------

Comment (by Dave-Allured):

 Okay.  It looks like `-ld_classic` is coming from here:
 https://github.com/macports/macports-
 ports/commit/32bc043e582c33a4636fee958774739e7cb90e5b

 And `--with-ld=${prefix}/bin/ld-classic` comes from the current gcc12
 Portfile.  The result is that the two are effectively combined in the same
 xgcc command, which results in this error.  Chris?

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


More information about the macports-tickets mailing list