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

MacPorts noreply at macports.org
Thu Sep 9 22:03:15 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):

 for interest, the link flags that get automatically added by gcc are
 controlled in this file in the gcc source code:
 {{{
 gcc/config/darwin.h
 }}}
 There are all kinds of various system checks and workarounds in there for
 various things. It is easy to imagine that whatever is supposed to control
 the automatic linking of {{{libssp}}} whenever {{{-fstack-protector-
 strong}}} is used is hosed on Tiger, because almost nobody every tests
 Tiger any more.

 Iain told me that Tiger is now officially off his regular gcc test suite
 list, although he won't purposefully try to break Tiger.

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


More information about the macports-tickets mailing list