[MacPorts] #63232: gcc7 @7.5.0_2: ld: unknown option: -no_pie
MacPorts
noreply at macports.org
Fri Jul 9 01:40:05 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):
disabling the patch is a bit problematic, it turns out, because the
patches are overlapping and you can't get the asm patch without the no-pie
patch unless I redo the patches somehow to make them not overlap.
This might be a better idea anyway. supply the flag if it is needed, and
not if not needed:
{{{
+STAGE1_NO_PIE_FLAG := `case ${host} in *-*-darwin[1-9][1-9]*) echo
-Wl,-no_pie ;; esac;`
+BOOT_NO_PIE_FLAG := `case ${host} in *-*-darwin[1-9][1-9]*) echo
-Wl,-no_pie ;; esac;`
}}}
--
Ticket URL: <https://trac.macports.org/ticket/63232#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list