[devel] -fno-stack-protector?
Valery V. Inozemtsev
shrek на altlinux.ru
Вс Июн 20 10:54:13 UTC 2010
Hi
есть код
http://git.altlinux.org/people/shrek/packages/?p=xorg-server.git;a=blob;f=hw/xfree86/vbe/vbe.c;h=0b34648e1ae27e8b8be394fdf32f5efd7e86bba3;hb=refs/heads/xorg-x11-server-1.9
на который наш gcc ругается так:
Making all in vbe
make[4]: Entering directory
`/usr/src/RPM/BUILD/xorg-server-1.8.99.901/hw/xfree86/vbe'
CC vbe.lo
CC vbeModes.lo
CC vbe_module.lo
In file included from /usr/include/string.h:658,
from vbe.c:16:
In function 'memcpy',
inlined from 'VBEGetModeInfo' at vbe.c:589:
/usr/include/bits/string3.h:52: error: call to __builtin___memcpy_chk
will always overflow destination buffer
In function 'memcpy',
inlined from 'VBEGetModeInfo' at vbe.c:592:
/usr/include/bits/string3.h:52: error: call to __builtin___memcpy_chk
will always overflow destination buffer
make[4]: *** [vbe.lo] Error 1
сам код трогать не хотелось бы...
внимание вопрос - как объехать эту проверку на overflow destination
buffer?
--
Valery V. Inozemtsev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.altlinux.org/pipermail/devel/attachments/20100620/c6616db8/attachment.bin>
Подробная информация о списке рассылки Devel