RFR: 8046765: (s) disable FORTIFY_SOURCE for files with optimization disabled.
mike.duigou at oracle.com
Wed Jul 16 17:13:18 UTC 2014
In some GCC distributions the FORTIFY_SOURCE option is incompatible with the -O0. This change disables FORTIFY sources for the files we know have optimizations disabled.
Unfortunately I don't have a Fedora 19 setup to test the change on the reported platform but I did verify that the compiler command line is correct, that fortify is disabled and the resulting build still works on a number of platforms. Additional verifications on other platforms is encouraged.
The changeset will be pushed via hotspot-rt forest unless otherwise requested.
More information about the hotspot-dev