https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67360
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Oh and Ubuntu turns on fortify by default which is why you seeing the difference between Ubuntu and redhat.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67360
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Oh and Ubuntu turns on fortify by default which is why you seeing the difference between Ubuntu and redhat.