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

MacPorts noreply at macports.org
Mon Oct 2 15:41:11 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 you are telling gcc to use the classic linker in two
 different ways at the same time.
 {{{
 --with-ld=${prefix}/bin/ld-classic
 }}}
 and
 {{{
 -ld_classic
 }}}
 Now here is the fun part.  My guess is that the old linker `ld-classic`
 does not include the special option `-ld_classic`.  You can specify either
 the executable or the switch option, but not both at the same time.

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


More information about the macports-tickets mailing list