This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


On Tue, Jul 11, 2017 at 1:42 PM, H.J. Lu <hjl.tools@gmail.com> wrote:
> On Tue, Jul 11, 2017 at 1:29 PM, Florian Weimer <fw@deneb.enyo.de> wrote:
>> * 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.)
>
> Here is the patch.
>

I am checking it in.


-- 
H.J.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]