mingw-cross-env-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Mingw-cross-env-list] stack smashing on i686 with -O3 since da82d07


From: Tony Theodore
Subject: Re: [Mingw-cross-env-list] stack smashing on i686 with -O3 since da82d07dbe
Date: Fri, 23 Oct 2015 00:36:48 +1100

> On 22 Oct 2015, at 18:41, Moritz Bunkus <address@hidden> wrote:
> 
> As I compile with -fstack-protector-strong I get the nice message "***
> stack smashing detected ***" – before any of my code has any chance of
> running, BTW.

We should probably enable it across the board in gcc[1]:

    --enable-default-ssp
        Turn on -fstack-protector-strong by default. 

as it seems like a reasonable default - the `*strong` setting looks much
more versatile than `ssp-buffer-size`.

Cheers,

Tony


[1]https://gcc.gnu.org/install/configure.html




reply via email to

[Prev in Thread] Current Thread [Next in Thread]