commit: b2540825f96c83e449d9ffe74894a0cc173ae47e Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Sat Nov 30 11:01:26 2024 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sat Nov 30 11:03:22 2024 +0000 URL: https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=b2540825
15.0.0: don't pass -fcf-protection for offload Well, actually, disable it. Bug: https://bugs.gentoo.org/945296 Bug: https://gcc.gnu.org/PR114717 Signed-off-by: Sam James <sam <AT> gentoo.org> 15.0.0/gentoo/26_all_enable-cet.patch | 2 +- 15.0.0/gentoo/README.history | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/15.0.0/gentoo/26_all_enable-cet.patch b/15.0.0/gentoo/26_all_enable-cet.patch index 85591e9..be772d0 100644 --- a/15.0.0/gentoo/26_all_enable-cet.patch +++ b/15.0.0/gentoo/26_all_enable-cet.patch @@ -68,7 +68,7 @@ Only supported on amd64. + We use a new option (EXTRA_OPTIONS_CF) here to avoid turning + this on accidentally for other arches. */ +#ifdef EXTRA_OPTIONS_CF -+#define DEFAULT_FLAG_CF_SPEC " %{!m16:%{!m32:%{!fcf-protection*:%{!fno-cf-protection:-fcf-protection}}}}" ++#define DEFAULT_FLAG_CF_SPEC " %{!m16:%{!m32:%{!fcf-protection*:%{!fno-cf-protection:-fcf-protection}}}} -foffload-options=-fcf-protection=none" +#endif +#ifndef DEFAULT_FLAG_CF_SPEC +#define DEFAULT_FLAG_CF_SPEC "" diff --git a/15.0.0/gentoo/README.history b/15.0.0/gentoo/README.history index 926d4de..f2fbcd7 100644 --- a/15.0.0/gentoo/README.history +++ b/15.0.0/gentoo/README.history @@ -1,6 +1,7 @@ ?? - 72_all_PR111600-genemit-Distribute-evenly-to-files.patch + U 26_all_enable-cet.patch 28 25 November 2024