Skip to contentSkip to conversation

GCC release 8 support for gcc-plugins

PATCH In review [email protected] 2 participants 2 messages Feb 4, 2018 – Feb 6, 2018 Gcc plugins

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 GCC release 8 support for gcc-plugins

GCC requires another #include to get the gcc-plugins to build cleanly.

scripts/gcc-plugins/gcc-common.h +4 -0
index ffd1dfaa1cc1..f46750053377 100644
@@ -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"
#1 lore raw
Quoted 9 lines · On Mon, Feb 5, 2018 at 4:01 AM, <[email protected]> wrote:

GCC requires another #include to get the gcc-plugins to build cleanly.

scripts/gcc-plugins/gcc-common.h +0 -0
index ffd1dfaa1cc1..f46750053377 100644

scripts/gcc-plugins/gcc-common.h line 106

Quoted 10 lines
scripts/gcc-plugins/gcc-common.h +4 -0
@@ -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"

Thanks! I can confirm this works for me. I'll get it applied.

-Kees

Signature · 2 lines
Kees Cook
Pixel Security