1 |
commit: 80bd61c1e56fe74a5df3e05fb17f30d75da44628 |
2 |
Author: Mike Pagano <mpagano <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Feb 2 19:06:48 2023 +0000 |
4 |
Commit: Mike Pagano <mpagano <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Feb 2 19:06:48 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/linux-patches.git/commit/?id=80bd61c1 |
7 |
|
8 |
gcc-plugins: drop -std=gnu++11 to fix GCC 13 build |
9 |
|
10 |
See: https://lore.kernel.org/all/20230201230009.2252783-1-sam <AT> gentoo.org/ |
11 |
|
12 |
Signed-off-by: Mike Pagano <mpagano <AT> gentoo.org> |
13 |
|
14 |
0000_README | 4 ++++ |
15 |
...c-plugins-drop-std-gnu-plus-plus-to-fix-GCC-13-build.patch | 11 +++++++++++ |
16 |
2 files changed, 15 insertions(+) |
17 |
|
18 |
diff --git a/0000_README b/0000_README |
19 |
index e6042d05..b335d261 100644 |
20 |
--- a/0000_README |
21 |
+++ b/0000_README |
22 |
@@ -431,6 +431,10 @@ Patch: 2920_sign-file-patch-for-libressl.patch |
23 |
From: https://bugs.gentoo.org/717166 |
24 |
Desc: sign-file: full functionality with modern LibreSSL |
25 |
|
26 |
+Patch: 2940_gcc-plugins-drop-std-gnu-plus-plus-to-fix-GCC-13-build.patch |
27 |
+From: https://lore.kernel.org/all/20230201230009.2252783-1-sam@g.o/ |
28 |
+Desc: gcc-plugins: drop -std=gnu++11 to fix GCC 13 build |
29 |
+ |
30 |
Patch: 3000_Support-printing-firmware-info.patch |
31 |
From: https://bugs.gentoo.org/732852 |
32 |
Desc: Print firmware info (Reqs CONFIG_GENTOO_PRINT_FIRMWARE_INFO). Thanks to Georgy Yakovlev |
33 |
|
34 |
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 |
35 |
new file mode 100644 |
36 |
index 00000000..9e094451 |
37 |
--- /dev/null |
38 |
+++ b/2940_gcc-plugins-drop-std-gnu-plus-plus-to-fix-GCC-13-build.patch |
39 |
@@ -0,0 +1,11 @@ |
40 |
+--- a/scripts/gcc-plugins/Makefile 2023-02-02 14:04:11.084280229 -0500 |
41 |
++++ b/scripts/gcc-plugins/Makefile 2023-02-02 14:04:54.084396776 -0500 |
42 |
+@@ -23,7 +23,7 @@ GCC_PLUGINS_DIR = $(shell $(CC) -print-f |
43 |
+ |
44 |
+ plugin_cxxflags = -Wp,-MMD,$(depfile) $(KBUILD_HOSTCXXFLAGS) -fPIC \ |
45 |
+ -include $(srctree)/include/linux/compiler-version.h \ |
46 |
+- -I $(GCC_PLUGINS_DIR)/include -I $(obj) -std=gnu++11 \ |
47 |
++ -I $(GCC_PLUGINS_DIR)/include -I $(obj) \ |
48 |
+ -fno-rtti -fno-exceptions -fasynchronous-unwind-tables \ |
49 |
+ -ggdb -Wno-narrowing -Wno-unused-variable \ |
50 |
+ -Wno-format-diag |