[MacPorts] #63232: gcc7 @7.5.0_2: ld: unknown option: -no_pie
MacPorts
noreply at macports.org
Thu Jul 8 06:41:25 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):
bootstrapping gcc7 on 10.5 Intel forcing clang-N as the build compiler (I
used macports-clang-7.0) seems to go down a workable path, and the build
is proceeding on.
So -- it would seem that passing the {{{no_pie}}} linker option part of
this fix is probably not needed, at least on <= 10.6, and seems to
generate an error on 10.5 (and no doubt 10.4).
{{{
-no_pie Do not make a position independent executable (PIE). This is
the default, when targeting 10.6 and earlier.
}}}
I'll work on this.
--
Ticket URL: <https://trac.macports.org/ticket/63232#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list