[Bug c/81077] linker constants are randomized
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81077 Grégory Mounié changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|--- |INVALID --- Comment #3 from Grégory Mounié --- Output due to the randomization of the virtual address space The use of -fno-pie -no-pie at compile and link time solve the "bug".
[Bug c/81077] linker constants are randomized
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81077 --- Comment #2 from Grégory Mounié --- Yes ! It correct my problem. I should have found it alone. Sorry for the inconvenience and thanks for lightning speed answer. Grégory Le 12/06/2017 à 23:02, pinskia at gcc dot gnu.org a écrit : > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81077 > > Andrew Pinski changed: > >What|Removed |Added > > Status|UNCONFIRMED |WAITING >Last reconfirmed||2017-06-12 > Ever confirmed|0 |1 > > --- Comment #1 from Andrew Pinski --- > -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. >
[Bug c/81077] linker constants are randomized
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81077 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed||2017-06-12 Ever confirmed|0 |1 --- Comment #1 from Andrew Pinski --- -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.