Source: gcc-6
Version: 6.4.0-19
Severity: serious
Tags: ftbfs, patch

Hi,

gcc-6 FTBFs with the latest version of isl (0.20-1) as well as gcc-7
(see #905539).

Attached is a patch, isl-includes.diff fixing this problem. Attached is
also the diff for debian/rules.patch.

Thanks!
--- a/debian_rules.patch.orig	2018-08-04 21:57:36.000000000 +0200
+++ b/debian/rules.patch	2018-08-05 00:37:20.433243847 +0200
@@ -385,6 +385,7 @@
 
 debian_patches += libgomp-kfreebsd-testsuite
 debian_patches += go-testsuite
+debian_patches += isl-includes
 
 # Ada patches needed for both the stable package and snapshot builds
 debian_patches += ada-749574
Index: gcc-6-6.4.0/src/gcc/graphite-dependences.c
===================================================================
--- gcc-6-6.4.0.orig/src/gcc/graphite-dependences.c
+++ gcc-6-6.4.0/src/gcc/graphite-dependences.c
@@ -24,6 +24,8 @@ along with GCC; see the file COPYING3.
 #include "config.h"
 
 #ifdef HAVE_isl
+#include <isl/id.h>
+#include <isl/space.h>
 
 #include "system.h"
 #include "coretypes.h"
Index: gcc-6-6.4.0/src/gcc/graphite-isl-ast-to-gimple.c
===================================================================
--- gcc-6-6.4.0.orig/src/gcc/graphite-isl-ast-to-gimple.c
+++ gcc-6-6.4.0/src/gcc/graphite-isl-ast-to-gimple.c
@@ -23,6 +23,8 @@ along with GCC; see the file COPYING3.
 #include "config.h"
 
 #ifdef HAVE_isl
+#include <isl/id.h>
+#include <isl/space.h>
 
 #define INCLUDE_MAP
 #include "system.h"
Index: gcc-6-6.4.0/src/gcc/graphite-optimize-isl.c
===================================================================
--- gcc-6-6.4.0.orig/src/gcc/graphite-optimize-isl.c
+++ gcc-6-6.4.0/src/gcc/graphite-optimize-isl.c
@@ -23,6 +23,8 @@ along with GCC; see the file COPYING3.
 #include "config.h"
 
 #ifdef HAVE_isl
+#include <isl/id.h>
+#include <isl/space.h>
 
 #include "system.h"
 #include "coretypes.h"
Index: gcc-6-6.4.0/src/gcc/graphite-sese-to-poly.c
===================================================================
--- gcc-6-6.4.0.orig/src/gcc/graphite-sese-to-poly.c
+++ gcc-6-6.4.0/src/gcc/graphite-sese-to-poly.c
@@ -23,6 +23,8 @@ along with GCC; see the file COPYING3.
 #include "config.h"
 
 #ifdef HAVE_isl
+#include <isl/id.h>
+#include <isl/space.h>
 
 #include "system.h"
 #include "coretypes.h"

Reply via email to