[MacPorts] #63469: gcc @7.5.0_2: Fails to link projects compiled with -fstack-protector-strong
MacPorts
noreply at macports.org
Fri Sep 10 20:24:58 UTC 2021
#63469: gcc @7.5.0_2: Fails to link projects compiled with -fstack-protector-strong
--------------------------+--------------------
Reporter: evanmiller | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.7.1
Resolution: | Keywords:
Port: gcc7 cmocka |
--------------------------+--------------------
Comment (by kencu):
When you get your link error, and it fails again, please go into the build
at the exact folder where it happens, and run the link command manually
with the same exact invocation, but add {{{-Wl,-v}}} to the link command
line.
You should get a spew of output, and hopefully something in it might give
us a clue why the link library pathway to where {{{libssp}}} lives is not
available to the linker when looking for {{{libssp}}}.
By default, gcc7 will add the proper path to libssp, as we see above. So
my guess at the moment is that something must be stopping it (somehow)
from doing that.
Exactly what is TBA...
--
Ticket URL: <https://trac.macports.org/ticket/63469#comment:17>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list