commit: 1fe872f729f1361ee45fb0792ca4194cf9c1caeb Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> AuthorDate: Sun Feb 10 12:08:21 2019 +0000 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> CommitDate: Sun Feb 10 12:08:21 2019 +0000 URL: https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=1fe872f7
8.2.0: don't enable -fstack-clach-protection by default In bug #675050 I noticed that -fstack-clash-protection is enabled not just for hardened users but for USE=ssp users as well. That was not an intention of the patch. The change enables -fstack-clach-protection only for -DEXTRA_OPTIONS (hardened users). See https://bugs.gentoo.org/675050 for longer-term plans to enable -fstack-clach-protection for more users. Bug: https://bugs.gentoo.org/675050 Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org> 8.2.0/gentoo/55_all_extra-options.patch | 2 +- 8.2.0/gentoo/README.history | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/8.2.0/gentoo/55_all_extra-options.patch b/8.2.0/gentoo/55_all_extra-options.patch index 3e8275f..9187af8 100644 --- a/8.2.0/gentoo/55_all_extra-options.patch +++ b/8.2.0/gentoo/55_all_extra-options.patch @@ -19,7 +19,7 @@ On Hardened we add some options like -fstack-clash-protection and -z now +/* Default value for flag_clash_protector when flag_clash_protector is + initialized to -1. */ -+#ifdef ENABLE_ESP ++#ifdef EXTRA_OPTIONS +#define DEFAULT_FLAG_SCP 1 +#endif +#ifndef DEFAULT_FLAG_SCP diff --git a/8.2.0/gentoo/README.history b/8.2.0/gentoo/README.history index a20d870..bf28171 100644 --- a/8.2.0/gentoo/README.history +++ b/8.2.0/gentoo/README.history @@ -1,5 +1,6 @@ 1.8 TODO + 116_all_ipa-pgo-PR88561-fix.patch + U 55_all_extra-options.patch 1.7 26 Dec 2018 + 114_all_kr-decl-PR88214.patch