Hello,

When I'm trying to compile mingw-w64 with gcc 8.3 with enabled all
warnings, I'm getting following compile warning:

i686-w64-mingw32-gcc -DHAVE_CONFIG_H -I.  -m32 -masm=att -I./include 
"-I/usr/local/include" -I/mingw-w64/mingw-w64-headers/crt/ 
-I/mingw-w64/mingw-w64-headers/include/ -pipe -std=gnu99 -fno-builtin -D_CRTBLD 
-D_WIN32_WINNT=0x0f00 -D__MSVCRT_VERSION__=0x600 -D__USE_MINGW_ANSI_STDIO=0   
-Wall -Wextra -Wformat -Wstrict-aliasing -Wshadow -Wpacked -Winline 
-Wimplicit-function-declaration -Wmissing-noreturn -Wmissing-prototypes 
-march=i486 -Os -g -MT ssp/lib32_libmingwex_a-stack_chk_guard.o -MD -MP -MF 
ssp/.deps/lib32_libmingwex_a-stack_chk_guard.Tpo -c -o 
ssp/lib32_libmingwex_a-stack_chk_guard.o `test -f 'ssp/stack_chk_guard.c' || 
echo './'`ssp/stack_chk_guard.c
ssp/stack_chk_guard.c:18:1: warning: ‘no_stack_protector’ attribute directive 
ignored [-Wattributes]
 {
 ^

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.

Pali


_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to