commit: 2f1213f382dae1e03ac226ff55c3dd661d973cea Author: Mike Pagano <mpagano <AT> gentoo <DOT> org> AuthorDate: Thu Feb 2 19:15:00 2023 +0000 Commit: Mike Pagano <mpagano <AT> gentoo <DOT> org> CommitDate: Thu Feb 2 19:15:00 2023 +0000 URL: https://gitweb.gentoo.org/proj/linux-patches.git/commit/?id=2f1213f3
gcc-plugins: drop -std=gnu++11 to fix GCC 13 build See: https://lore.kernel.org/all/20230201230009.2252783-1-sam <AT> gentoo.org/ Signed-off-by: Mike Pagano <mpagano <AT> gentoo.org> 0000_README | 4 ++++ ...c-plugins-drop-std-gnu-plus-plus-to-fix-GCC-13-build.patch | 11 +++++++++++ 2 files changed, 15 insertions(+) diff --git a/0000_README b/0000_README index 36bb199c..3adc520a 100644 --- a/0000_README +++ b/0000_README @@ -991,6 +991,10 @@ Patch: 2920_sign-file-patch-for-libressl.patch From: https://bugs.gentoo.org/717166 Desc: sign-file: full functionality with modern LibreSSL +Patch: 2940_gcc-plugins-drop-std-gnu-plus-plus-to-fix-GCC-13-build.patch +From: https://lore.kernel.org/all/[email protected]/ +Desc: gcc-plugins: drop -std=gnu++11 to fix GCC 13 build + Patch: 4567_distro-Gentoo-Kconfig.patch From: Tom Wijsman <[email protected]> Desc: Add Gentoo Linux support config settings and defaults. diff --git a/2940_gcc-plugins-drop-std-gnu-plus-plus-to-fix-GCC-13-build.patch b/2940_gcc-plugins-drop-std-gnu-plus-plus-to-fix-GCC-13-build.patch new file mode 100644 index 00000000..f4bf6251 --- /dev/null +++ b/2940_gcc-plugins-drop-std-gnu-plus-plus-to-fix-GCC-13-build.patch @@ -0,0 +1,11 @@ +--- a/scripts/gcc-plugins/Makefile 2023-02-02 14:12:55.366308720 -0500 ++++ b/scripts/gcc-plugins/Makefile 2023-02-02 14:13:41.066530357 -0500 +@@ -2,7 +2,7 @@ + GCC_PLUGINS_DIR := $(shell $(CC) -print-file-name=plugin) + + HOSTLIBS := hostcxxlibs +-HOST_EXTRACXXFLAGS += -I$(GCC_PLUGINS_DIR)/include -I$(src) -std=gnu++11 -fno-rtti ++HOST_EXTRACXXFLAGS += -I$(GCC_PLUGINS_DIR)/include -I$(src) -fno-rtti + HOST_EXTRACXXFLAGS += -fno-exceptions -fasynchronous-unwind-tables -ggdb + HOST_EXTRACXXFLAGS += -Wno-narrowing -Wno-unused-variable + HOST_EXTRACXXFLAGS += -Wno-format-diag
