[PATCH] Enable _FORTIFY_SOURCE=3 for gcc 12 and above
Siddhesh Poyarekar
siddhesh@sourceware.org
Wed Jan 12 04:14:32 GMT 2022
On 17/12/2021 18:47, Adhemerval Zanella via Libc-alpha wrote:
>
>
> On 17/12/2021 01:07, Siddhesh Poyarekar via Libc-alpha wrote:
>> gcc 12 now has support for the __builtin_dynamic_object_size builtin.
>> Adapt the macro checks to enable _FORTIFY_SOURCE=3 on gcc 12 and above.
>>
>> Signed-off-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
>
> With gcc version 12.0.0 20211217 (experimental) [master r12-6038-g411ac94611f]
> I am seeing two new failures:
>
> FAIL: debug/tst-chk7
> FAIL: debug/tst-chk8
This should now work on gcc trunk as of r12-6482, tested with:
gcc version 12.0.0 20220112 (experimental) (GCC)
OK to commit?
Thanks,
Siddhesh
More information about the Libc-alpha
mailing list