https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81077
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |WAITING Last reconfirmed| |2017-06-12 Ever confirmed|0 |1 --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- -fPIE is default for the compiler you are using so they are definitely going to be randomized. Use -fno-pie -no-pie when compiling if you want non-random virtual addresses.