Opened 22 months ago
#66692 new defect
rrdtool @1.8.0: cc1: error: unrecognized command line option "-fstack-protector-strong"
Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.8.0 |
Keywords: | Cc: | ||
Port: | rrdtool |
Description
/usr/bin/cc -c -I/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_net_rrdtool/rrdtool/work/rrdtool-1.8.0/src -I/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_net_rrdtool/rrdtool/work/rrdtool-1.8.0/src -fno-common -DPERL_DARWIN -pipe -Os -fno-strict-aliasing -fstack-protector-strong -I/opt/local/include -DPERL_USE_SAFE_PUTENV -O3 -DVERSION=\"1.8\" -DXS_VERSION=\"1.8\" "-I/opt/local/lib/perl5/5.34/darwin-thread-multi-2level/CORE" -DPERLPATCHLEVEL=34 RRDs.c cc1: error: unrecognized command line option "-fstack-protector-strong"
The wrong compiler (/usr/bin/cc
) is being used; it doesn't understand the -fstack-protector-strong
flag, whereas I suspect the compiler it should be using (/opt/local/bin/clang-mp-11
) does.
Note: See
TracTickets for help on using
tickets.