commit: 80bd61c1e56fe74a5df3e05fb17f30d75da44628 Author: Mike Pagano <mpagano <AT> gentoo <DOT> org> AuthorDate: Thu Feb 2 19:06:48 2023 +0000 Commit: Mike Pagano <mpagano <AT> gentoo <DOT> org> CommitDate: Thu Feb 2 19:06:48 2023 +0000 URL: https://gitweb.gentoo.org/proj/linux-patches.git/commit/?id=80bd61c1
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 e6042d05..b335d261 100644 --- a/0000_README +++ b/0000_README @@ -431,6 +431,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: 3000_Support-printing-firmware-info.patch From: https://bugs.gentoo.org/732852 Desc: Print firmware info (Reqs CONFIG_GENTOO_PRINT_FIRMWARE_INFO). Thanks to Georgy Yakovlev 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..9e094451 --- /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:04:11.084280229 -0500 ++++ b/scripts/gcc-plugins/Makefile 2023-02-02 14:04:54.084396776 -0500 +@@ -23,7 +23,7 @@ GCC_PLUGINS_DIR = $(shell $(CC) -print-f + + plugin_cxxflags = -Wp,-MMD,$(depfile) $(KBUILD_HOSTCXXFLAGS) -fPIC \ + -include $(srctree)/include/linux/compiler-version.h \ +- -I $(GCC_PLUGINS_DIR)/include -I $(obj) -std=gnu++11 \ ++ -I $(GCC_PLUGINS_DIR)/include -I $(obj) \ + -fno-rtti -fno-exceptions -fasynchronous-unwind-tables \ + -ggdb -Wno-narrowing -Wno-unused-variable \ + -Wno-format-diag
