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

MacPorts noreply at macports.org
Mon Oct 2 15:27:54 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 cjones051073):

 Thing is, the port file does not do anything with these linker options, we
 just tell the gcc build to use a linker than enforces the classic linker.

 https://github.com/macports/macports-
 ports/blob/master/lang/gcc12/Portfile#L176

 Its up to the gcc build to use that correctly.

 There is nothing we need or can do on the port side to change how the flag
 is handled.

 Also, the workaround works just fine for many other users on similar
 systems. So I still don't get what is going on in this case to cause it.

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


More information about the macports-tickets mailing list