[MacPorts] #64219: p5-alien-gmp: cc1: error: unrecognized command line option "-fstack-protector-strong"

MacPorts noreply at macports.org
Wed Dec 15 14:22:23 UTC 2021


#64219: p5-alien-gmp: cc1: error: unrecognized command line option "-fstack-
protector-strong"
---------------------------+----------------------
  Reporter:  ryandesign    |      Owner:  dbevans
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.7.1
Resolution:                |   Keywords:
      Port:  p5-alien-gmp  |
---------------------------+----------------------

Comment (by jmroot):

 This is an odd corner case where the port is noarch but is running a
 compiler during its build process. For noarch ports, compiler.cxx_standard
 defaults to nothing, which will affect compiler selection. The easiest
 workaround may be to set `compiler.cxx_standard 1998` to match the default
 without noarch.

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


More information about the macports-tickets mailing list