From: Vitaly Lipatov <lav@altlinux.ru> To: <devel@lists.altlinux.org> Subject: [devel] Неотключаемый _FORTIFY_SOURCE Date: Sat, 09 Jun 2012 01:24:03 +0400 Message-ID: <ae8a24d317b4bbfc5019ce4f57cfe968@office.etersoft.ru> (raw) На 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
next reply other threads:[~2012-06-08 21:24 UTC|newest] Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top 2012-06-08 21:24 Vitaly Lipatov [this message] 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
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=ae8a24d317b4bbfc5019ce4f57cfe968@office.etersoft.ru \ --to=lav@altlinux.ru \ --cc=devel@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
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