[MacPorts] #63232: gcc7 @7.5.0_2: ld: unknown option: -no_pie
MacPorts
noreply at macports.org
Thu Jul 8 07:26:06 UTC 2021
#63232: gcc7 @7.5.0_2: ld: unknown option: -no_pie
---------------------+---------------------
Reporter: kencu | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords: leopard
Port: gcc7 |
---------------------+---------------------
Comment (by kencu):
I see what is going on.
{{{
/usr/bin/gcc-4.2
}}}
is using
{{{
/usr/bin/ld
}}}
as the default linker, and that default linker does not support
{{{-no_pie}}}.
For the immediate moment, until iain updates the patch to take this into
account, I think I can only enable the {{{no-pie}}} fix if the bootstrap
compiler matches *clang*.
--
Ticket URL: <https://trac.macports.org/ticket/63232#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list