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

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

 Replying to [comment:15 Dave-Allured]:
 > In main.log, the operative command at the error is `xgcc`.  I do not
 know how to examine the complete expansion of `xgcc`, but my guess is that
 it includes `--with-ld=${prefix}/bin/ld-classic`.  If you can confirm
 that, this would prove that the two different options are both applied in
 the same command.

 xgcc is an internal temporary compiler built by gcc as part of its boot
 strap process. I cannot check anything w.r.t. it.

 Anyway, I think your suggest here is off the mark. I more suspect the
 issue is what Ken spotted, as that explains why only the OP here sees the
 problem.

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


More information about the macports-tickets mailing list