On Sunday 13 July 2025 20:53:18 LIU Hao wrote:
> 在 2025-7-13 20:47, Pali Rohár 写道:
> > The attribute __no_stack_protector__ was introduced in the commit
> > a0e69f7bc83a ("crt/ssp: fix stack smashing protection bootstrapping").
> >
> > Could you look at this issue? It looks like that gcc ignores this
> > attribute and hence the commit for this gcc build does nothing.
> >
>
> The attribute is available in GCC 11+ and Clang 7+. GCC 8 doesn't support the
> attribute.
>
> The warning is harmless and can be ignored. It's only an issue if someone
> has `-fstack-protector` in their CFLAGS.
Ok. Thanks for info. And what in the case if mingw-w64 is compiled with
gcc-8 together with -fstack-protector in CFLAGS?
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public