[packages/kernel/LINUX_4_14] - rel 2; fix build with gcc 8
arekm
arekm at pld-linux.org
Sat Jul 28 12:32:50 CEST 2018
commit a5e17970f8c44d7073156cff29897c58fba03086
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Sat Jul 28 12:32:38 2018 +0200
- rel 2; fix build with gcc 8
kernel-small_fixes.patch | 26 ++++++++++++++++++++++++++
kernel.spec | 2 +-
2 files changed, 27 insertions(+), 1 deletion(-)
---
diff --git a/kernel.spec b/kernel.spec
index b0da4d36..7539660e 100644
--- a/kernel.spec
+++ b/kernel.spec
@@ -68,7 +68,7 @@
%define have_pcmcia 0
%endif
-%define rel 1
+%define rel 2
%define basever 4.14
%define postver .59
diff --git a/kernel-small_fixes.patch b/kernel-small_fixes.patch
index d4b60349..e56acbbc 100644
--- a/kernel-small_fixes.patch
+++ b/kernel-small_fixes.patch
@@ -26,3 +26,29 @@
exit
fi
done
+commit 80d172431696482d9acd8d2c4ea78fed8956e2a1
+Author: valdis.kletnieks at vt.edu <valdis.kletnieks at vt.edu>
+Date: Sun Feb 4 12:01:43 2018 -0500
+
+ gcc-plugins: Add include required by GCC release 8
+
+ GCC requires another #include to get the gcc-plugins to build cleanly.
+
+ Signed-off-by: Valdis Kletnieks <valdis.kletnieks at vt.edu>
+ Signed-off-by: Kees Cook <keescook at chromium.org>
+
+diff --git a/scripts/gcc-plugins/gcc-common.h b/scripts/gcc-plugins/gcc-common.h
+index ffd1dfaa1cc1..f46750053377 100644
+--- a/scripts/gcc-plugins/gcc-common.h
++++ b/scripts/gcc-plugins/gcc-common.h
+@@ -97,6 +97,10 @@
+ #include "predict.h"
+ #include "ipa-utils.h"
+
++#if BUILDING_GCC_VERSION >= 8000
++#include "stringpool.h"
++#endif
++
+ #if BUILDING_GCC_VERSION >= 4009
+ #include "attribs.h"
+ #include "varasm.h"
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/kernel.git/commitdiff/a5e17970f8c44d7073156cff29897c58fba03086
More information about the pld-cvs-commit
mailing list