[MacPorts] #69913: hivex @1.3.23: cc1: error: unrecognized command line option "-fstack-protector-strong"
MacPorts
noreply at macports.org
Mon May 6 14:10:06 UTC 2024
#69913: hivex @1.3.23: cc1: error: unrecognized command line option "-fstack-
protector-strong"
-------------------------+------------------------
Reporter: ryandesign | Owner: mohd-akram
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version: 2.9.3
Resolution: fixed | Keywords:
Port: hivex |
-------------------------+------------------------
Comment (by mohd-akram):
This is partially because the perl port doesn't seem to set the correct
variables in `Config.pm`, perhaps because it itself was compiled with the
wrong compiler. See `perl5.34 -V`:
{{{
Compiler:
cc='/usr/bin/cc'
ccflags ='-fno-common -DPERL_DARWIN -pipe -Os -fno-strict-aliasing
-fstack-protector-strong -I/opt/local/include -DPERL_USE_SAFE_PUTENV'
}}}
That's where that value is coming from.
--
Ticket URL: <https://trac.macports.org/ticket/69913#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list