Building graphite2 1.2.0 on OS X 10.4 Tiger on PowerPC G4 fails with the error message:
cc1plus: error: unrecognized command line option "-fno-stack-protector"
In MacPorts we are now removing the -fno-stack-protector argument, when using Apple gcc 4.0.1:
My hope is that Apple gcc 4.0.1 does not have a stack protector, or that the stack protector is off by default, and that therefore this change will be ok.
-fno-stack-protector is a speedup optimissation given we do very thorough testing via valgrind, we feel it OK to turn this off. The option is irreleveant if there is no -fsatck-protector. If there is, well it will just slow things down slightly, but hopefully not too much. So removal seems a good plan to me, but only for the versions of gcc for which removal is necessary.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.