[MacPorts] #68322: libgcc12 @12.3.0: ld: library not found for -ld_classic
MacPorts
noreply at macports.org
Mon Oct 2 19:21: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:22 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?
Incorrect. That commit is simply adding support to the ld64 port, adding
the `${prefix}/bin/ld-classic` wrapper, which then gcc12 just uses via the
configuration option.
--
Ticket URL: <https://trac.macports.org/ticket/68322#comment:24>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list