+++ This bug was initially created as a clone of Bug #38911 +++ I'm compiling gcc revision 143664 on F10.
The cloog website recommends it's ".git" for best results: http://www.bastoul.net/cloog/download.php#DEV The '.git' version (newest) creates version.h with this content: #define CLOOG_HEAD "0.14.0-148-gdccf6cb" Gcc's ./configure requires cloog 0.15 as a minimum. The Instructions for cloog DEV have this as one of the things you must do: ./configure --without-polylib --with-isl=bundled --with-gmp-prefix=/path/to/gmp/installation If you configure in that manner gcc's ./configure will see that you do not use PPL but do have Cloog and will allow gcc to configure and build, failing here: gcc -ffloat-store -c -g -fkeep-inline-functions -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wcast-qual -Wold-style-definition -Wc++-compat -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -DHAVE_CONFIG_H -I. -I. -I../../gcc_trunk/gcc -I../../gcc_trunk/gcc/. -I../../gcc_trunk/gcc/../include -I./../intl -I../../gcc_trunk/gcc/../libcpp/include -I../../gcc_trunk/gcc/../libdecnumber -I../../gcc_trunk/gcc/../libdecnumber/bid -I../libdecnumber -I/usr/local/include -DCLOOG_PPL_BACKEND ../../gcc_trunk/gcc/graphite.c -o graphite.o In file included from ../../gcc_trunk/gcc/graphite.c:60: ../../gcc_trunk/gcc/graphite.h:119: error: expected specifier-qualifier-list before CloogMatrix ../../gcc_trunk/gcc/graphite.h: In function gbb_nb_loops: ../../gcc_trunk/gcc/graphite.h:227: error: const struct graphite_bb has no member named domain ../../gcc_trunk/gcc/graphite.h:230: error: const struct graphite_bb has no member named domain ../../gcc_trunk/gcc/graphite.h:231: warning: control reaches end of non-void function ../../gcc_trunk/gcc/graphite.h: In function gbb_loop_at_index: ../../gcc_trunk/gcc/graphite.h:239: error: struct graphite_bb has no member named loops ../../gcc_trunk/gcc/graphite.h:239: error: struct graphite_bb has no member named loops ../../gcc_trunk/gcc/graphite.h: In function gbb_loop_index: ../../gcc_trunk/gcc/graphite.h:250: error: struct graphite_bb has no member named loops ../../gcc_trunk/gcc/graphite.h:250: error: struct graphite_bb has no member named loops ../../gcc_trunk/gcc/graphite.h: In function loop_domain_dim: ../../gcc_trunk/gcc/graphite.h:482: warning: implicit declaration of function cloog_domain_dim ../../gcc_trunk/gcc/graphite.h:482: warning: implicit declaration of function cloog_loop_domain ../../gcc_trunk/gcc/graphite.c: At top level: ../../gcc_trunk/gcc/graphite.c:67: error: expected declaration specifiers or ... before Value ../../gcc_trunk/gcc/graphite.c: In function gmp_cst_to_tree: ../../gcc_trunk/gcc/graphite.c:69: warning: implicit declaration of function value_get_si ../../gcc_trunk/gcc/graphite.c:69: error: v undeclared (first use in this function) ../../gcc_trunk/gcc/graphite.c:69: error: (Each undeclared identifier is reported only once ../../gcc_trunk/gcc/graphite.c:69: error: for each function it appears in.) ../../gcc_trunk/gcc/graphite.c: In function debug_loop_vec: ../../gcc_trunk/gcc/graphite.c:101: error: struct graphite_bb has no member named loops ../../gcc_trunk/gcc/graphite.c:101: error: struct graphite_bb has no member named loops ../../gcc_trunk/gcc/graphite.c: In function gcc_type_for_cloog_iv: ../../gcc_trunk/gcc/graphite.c:331: error: struct graphite_bb has no member named cloog_iv_types ../../gcc_trunk/gcc/graphite.c: In function loop_iv_stack_patch_for_consts: ../../gcc_trunk/gcc/graphite.c:350: warning: implicit declaration of function cloog_statement_usr ../../gcc_trunk/gcc/graphite.c:365: error: too many arguments to function gmp_cst_to_tree ... ../../gcc_trunk/gcc/graphite.c: In function graphite_transform_loops: ../../gcc_trunk/gcc/graphite.c:6071: warning: implicit declaration of function cloog_initialize ../../gcc_trunk/gcc/graphite.c:6133: warning: implicit declaration of function cloog_finalize make[3]: *** [graphite.o] Error 1 make[3]: Leaving directory `/mnt/drive2/gcc_build/gcc' make[2]: *** [all-stage1-gcc] Error 2 make[2]: Leaving directory `/mnt/drive2/gcc_build' make[1]: *** [stage1-bubble] Error 2 make[1]: Leaving directory `/mnt/drive2/gcc_build' make: *** [all] Error 2 Thanks, Rob -- Summary: RFE - Cloog .git is version "0.14.0" but gcc requires "0.15.0" (and our other problems with the cloog trunk) Product: gcc Version: 4.4.0 Status: UNCONFIRMED Severity: major Priority: P3 Component: bootstrap AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: rob1weld at aol dot com GCC build triplet: i386-redhat-linux-gnu GCC host triplet: i386-redhat-linux-gnu GCC target triplet: i386-redhat-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38971