[MacPorts] #63469: gcc @7.5.0_2: Fails to link projects compiled with -fstack-protector-strong

MacPorts noreply at macports.org
Fri Sep 10 00:16:35 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):

 You can't inject stuff like that into gcc's configure environment. It will
 not respond (never has in the past).

 see this:

 https://github.com/gcc-
 mirror/gcc/blob/b2d961e7342b5ba4e57adfa81cb189b738d10901/gcc/config/darwin.h#L223

 where:
 {{{
       %(link_ssp) \
 }}}

 is added to the link libraries. Now we have to find out where
 {{{
       %(link_ssp) \
 }}}
 gets defined,and make it right for Tiger.

-- 
Ticket URL: <https://trac.macports.org/ticket/63469#comment:7>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list