[Bug c/81077] linker constants are randomized

gregory.mounie at imag dot fr gcc-bugzilla@gcc.gnu.org
Mon Jun 12 21:33:00 GMT 2017


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81077

--- Comment #2 from Grégory Mounié <gregory.mounie at imag dot fr> ---
  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 <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.
>


More information about the Gcc-bugs mailing list