This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Avoid backtrace from __stack_chk_fail [BZ #12189]
* H. J. Lu:
> On Tue, Jul 11, 2017 at 12:39 PM, Florian Weimer <fw@deneb.enyo.de> wrote:
>> * H. J. Lu:
>>
>>> +CFLAGS-tst-ssp-1.c = -fstack-protector
>>
>> This should be -fstack-protector-all, in case the the stack protector
>> heuristics do not instrument a thirty-byte array.
>
> Does GCC 4.9 support -fstack-protector-all?
It's mentioned in
<https://gcc.gnu.org/onlinedocs/gcc-4.4.2/gcc/Optimize-Options.html>
so I assume it does. (-fstack-protector-strong is the recent
addition.)