ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] Неотключаемый _FORTIFY_SOURCE
@ 2012-06-08 21:24 Vitaly Lipatov
  2012-06-08 21:55 ` Dmitry V. Levin
  0 siblings, 1 reply; 5+ messages in thread
From: Vitaly Lipatov @ 2012-06-08 21:24 UTC (permalink / raw)
  To: devel

На gcc 4.6 (например, gcc4.6-4.6.3-alt2) воспроизводится следующее:

$ touch a.h
$ gcc -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -v -E -dM a.h 2>/dev/null | 
grep FORTIFY
#define _FORTIFY_SOURCE 2

Хотя ожидалось бы получить 0, как на

Как это было на gcc4.5-4.5.3-alt3
$ gcc -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -v -E -dM a.h 2>/dev/null | 
grep FORTIFY
#define _FORTIFY_SOURCE 0

Таким образом получается, что отключить его невозможно.

-- 
С уважением,
Виталий Липатов,
Etersoft


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-06-18 13:37 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-08 21:24 [devel] Неотключаемый _FORTIFY_SOURCE Vitaly Lipatov
2012-06-08 21:55 ` Dmitry V. Levin
2012-06-12  7:23   ` Michael Shigorin
2012-06-18 13:31   ` Michael Shigorin
2012-06-18 13:37     ` Dmitry V. Levin

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git