[PATCH] Avoid backtrace from __stack_chk_fail [BZ #12189]

Florian Weimer fw@deneb.enyo.de
Tue Jul 11 20:30:00 GMT 2017


* 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.)



More information about the Libc-alpha mailing list