[MacPorts] #64526: p5-filesys-df 0.920.0: fails with unrecognized "-fstack-protector-strong" on snow leopard 10.6

MacPorts noreply at macports.org
Wed Jan 26 08:21:07 UTC 2022


#64526: p5-filesys-df 0.920.0: fails with unrecognized "-fstack-protector-strong"
on snow leopard 10.6
----------------------------+-------------------------
  Reporter:  tenzap         |      Owner:  (none)
      Type:  defect         |     Status:  new
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:
Resolution:                 |   Keywords:  snowleopard
      Port:  p5-filesys-df  |
----------------------------+-------------------------

Comment (by ryandesign):

 Yeah this problem will probably affect
 [query:status=!closed&port=~p5&summary=~fstack-protector-strong a bunch of
 perl modules] on 10.6. perl itself was built with a newer compiler that
 supports `-fstack-protector-strong` so that fact was recorded in perl's
 config, which then gets used to compile other modules, even though those
 modules are now being compiled with an older compiler that doesn't support
 `-fstack-protector-strong`.

 The perl developers expect modules to be compiled with the same compiler
 that was used to compile perl itself. MacPorts does not enforce that, and
 I don't think it's reasonable for the perl developers to expect that, so
 here we are.

 You could retry installing this module, and any others where you encounter
 this problem, with a newer compiler. For example:

 {{{
 sudo port clean p5.28-filesys-df
 sudo port install p5.28-filesys-df configure.compiler=macports-clang-9.0
 }}}

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


More information about the macports-tickets mailing list