https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66117
Bug ID: 66117
Summary: GCC can not compile when graphite is enabled, due to
missing isl headers.
Product: gcc
Version: 6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: tree-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: pbeeler80 at gmail dot com
Target Milestone: ---
The full log is attached
The errors in short:
../.././../gcc/gcc-SaberMod/gcc/graphite-poly.h:398:43: error: ‘isl_constraint’
has not been declared
extern void print_isl_constraint (FILE *, isl_constraint *);
^
../.././../gcc/gcc-SaberMod/gcc/graphite-poly.h:402:35: error: variable or
field ‘debug_isl_constraint’ declared void
extern void debug_isl_constraint (isl_constraint *);
^
../.././../gcc/gcc-SaberMod/gcc/graphite-poly.h:402:35: error: ‘isl_constraint’
was not declared in this scope
../.././../gcc/gcc-SaberMod/gcc/graphite-poly.h:402:51: error: expected
primary-expression before ‘)’ token
extern void debug_isl_constraint (isl_constraint *);
^
Makefile:1065: recipe for target 'graphite.o' failed
make[3]: *** [graphite.o] Error 1
x86_64-linux-gnu-g++ -c -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE
-fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing
-Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual
-pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings
-fno-common -DHAVE_CONFIG_H -I. -I. -I../.././../gcc/gcc-SaberMod/gcc
-I../.././../gcc/gcc-SaberMod/gcc/.
-I../.././../gcc/gcc-SaberMod/gcc/../include
-I../.././../gcc/gcc-SaberMod/gcc/../libcpp/include
-I/tmp/sm-tc/build/temp-install/include -I/tmp/sm-tc/build/temp-install/include
-I/tmp/sm-tc/build/temp-install/include
-I../.././../gcc/gcc-SaberMod/gcc/../libdecnumber
-I../.././../gcc/gcc-SaberMod/gcc/../libdecnumber/dpd -I../libdecnumber
-I../.././../gcc/gcc-SaberMod/gcc/../libbacktrace
-I/tmp/sm-tc/build/temp-install/include -o graphite-isl-ast-to-gimple.o -MT
graphite-isl-ast-to-gimple.o -MMD -MP -MF
./.deps/graphite-isl-ast-to-gimple.TPo
../.././../gcc/gcc-SaberMod/gcc/graphite-isl-ast-to-gimple.c
In file included from
../.././../gcc/gcc-SaberMod/gcc/graphite-isl-ast-to-gimple.c:79:0:
../.././../gcc/gcc-SaberMod/gcc/graphite-poly.h:398:43: error: ‘isl_constraint’
has not been declared
extern void print_isl_constraint (FILE *, isl_constraint *);
^
../.././../gcc/gcc-SaberMod/gcc/graphite-poly.h:402:35: error: variable or
field ‘debug_isl_constraint’ declared void
extern void debug_isl_constraint (isl_constraint *);
^
../.././../gcc/gcc-SaberMod/gcc/graphite-poly.h:402:35: error: ‘isl_constraint’
was not declared in this scope
../.././../gcc/gcc-SaberMod/gcc/graphite-poly.h:402:51: error: expected
primary-expression before ‘)’ token
extern void debug_isl_constraint (isl_constraint *);
^
../.././../gcc/gcc-SaberMod/gcc/graphite-isl-ast-to-gimple.c: In function
‘isl_union_set* generate_luj_sepclass(scop_p)’:
../.././../gcc/gcc-SaberMod/gcc/graphite-isl-ast-to-gimple.c:882:70: error:
‘isl_union_set_empty’ was not declared in this scope
domain_isl = isl_union_set_empty (isl_set_get_space (scop->context));
^
../.././../gcc/gcc-SaberMod/gcc/graphite-isl-ast-to-gimple.c:900:70: error:
‘isl_union_set_from_set’ was not declared in this scope
isl_union_set_union (domain_isl, isl_union_set_from_set (bb_domain_s));
^
../.././../gcc/gcc-SaberMod/gcc/graphite-isl-ast-to-gimple.c:900:71: error:
‘isl_union_set_union’ was not declared in this scope
isl_union_set_union (domain_isl, isl_union_set_from_set (bb_domain_s));
^
../.././../gcc/gcc-SaberMod/gcc/graphite-isl-ast-to-gimple.c: In function
‘isl_ast_build* set_options(isl_ast_build*, isl_union_map*, isl_union_map*)’:
../.././../gcc/gcc-SaberMod/gcc/graphite-isl-ast-to-gimple.c:990:59: error:
‘isl_union_set_from_set’ was not declared in this scope
isl_union_set_from_set (isl_set_universe (range_space));
^
../.././../gcc/gcc-SaberMod/gcc/graphite-isl-ast-to-gimple.c:992:42: error:
‘isl_union_set_universe’ was not declared in this scope
domain = isl_union_set_universe (domain);
^
Makefile:1065: recipe for target 'graphite-isl-ast-to-gimple.o' failed
make[3]: *** [graphite-isl-ast-to-gimple.o] Error 1
x86_64-linux-gnu-g++ -c -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STR