[MacPorts] #68322: libgcc12 @12.3.0: ld: library not found for -ld_classic
MacPorts
noreply at macports.org
Mon Oct 2 15:19:37 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):
From main.log, the active command on the error is "xgcc". This has hidden
the exact context of `-ld_classic`. However, past experience is that you
have something like this underneath "xgcc":
{{{
gcc -ld_classic
}}}
I think this is processed at the wrong time, so it is interpreted as a
library request rather than a linker option. This would explain "library
not found". Probably you want the following instead. See option -Wl in
GCC docs, "Options for Linking".
{{{
gcc -Wl,-ld_classic
}}}
--
Ticket URL: <https://trac.macports.org/ticket/68322#comment:9>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list