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

MacPorts noreply at macports.org
Mon Oct 2 16:02:48 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):

 Yes indeed the reported build is telling gcc two different ways at the
 same time.

 `--with-ld=${prefix}/bin/ld-classic` is in that portfile, currently line
 176.

 `-ld_classic` is an option on the compiler command line, and is coming
 from somewhere else.  I don't know where, but something is definitely
 injecting that.  Perhaps a portgroup or the latest source for libgcc12.  I
 do not have all the answers instantly for you, but this nicely explains
 the reported error message.

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


More information about the macports-tickets mailing list