GCC 4.8.3+ Does anybody aware of Stack Smashing Protection ?

Kim Barrett kim.barrett at oracle.com
Sun Jun 28 01:16:40 UTC 2015

On Jun 9, 2015, at 12:21 AM, David Holmes <david.holmes at oracle.com> wrote:
> We initially added -fstack-protector-all (and related settings under):
> https://bugs.openjdk.java.net/browse/JDK-8032045
> We removed the  -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 definitions under 8047952 as they broke fastdebug builds.
> If we were to make the official compiler one that enables this by default then we would have to re-examine its affects on all platforms and the costs involved - and then allow or disable as appropriate.

I was reminded by this to finally get around to filing an RFE to (carefully) re-enable _FORTIFY_SOURCE for fastdebug builds:

More information about the hotspot-dev mailing list