Hello Jose. A few people have replied to me directly with the same, so I will post here my reply so everyone can see:
Hllo Ernst, thanks for reaching out.
Yes right after submitting my message I noticed this and substituted "gm2" instead of m2. However note that I *copy-pasted* from the
http://nongnu.org/gm2/debian_gcc-8.2_build.html . To avoid confusion for others , it might be useful for the maintainers to make this correction on the installation instructions.
Changing "m2" with "gm2" worked for setting up the flags and configure.
However when running make, I got some other errors. It went a long while without any issues, until:
---------------------------------
../../gcc-8.2.0+gm2-git-latest/gm2/gcc-versionno/gcc/graphite-isl-ast-to-gimple.c: In function ‘void ivs_params_clear(ivs_params&)’:
../../gcc-8.2.0+gm2-git-latest/gm2/gcc-versionno/gcc/graphite-isl-ast-to-gimple.c:83:7: error: ‘isl_id_free’ was not declared in this scope
isl_id_free (it->first);
^~~~~~~~~~~
../../gcc-8.2.0+gm2-git-latest/gm2/gcc-versionno/gcc/graphite-isl-ast-to-gimple.c:83:7: note: suggested alternative: ‘isl_aff_free’
isl_id_free (it->first);
^~~~~~~~~~~
isl_aff_free
../../gcc-8.2.0+gm2-git-latest/gm2/gcc-versionno/gcc/graphite-isl-ast-to-gimple.c: In member function ‘tree_node* translate_isl_ast_to_gimple::gcc_expression_from_isl_ast_expr_id(tree, isl_ast_expr*, ivs_params&)’:
../../gcc-8.2.0+gm2-git-latest/gm2/gcc-versionno/gcc/graphite-isl-ast-to-gimple.c:262:3: error: ‘isl_id_free’ was not declared in this scope
isl_id_free (tmp_isl_id);
^~~~~~~~~~~
../../gcc-8.2.0+gm2-git-latest/gm2/gcc-versionno/gcc/graphite-isl-ast-to-gimple.c:262:3: note: suggested alternative: ‘isl_aff_free’
isl_id_free (tmp_isl_id);
^~~~~~~~~~~
isl_aff_free
../../gcc-8.2.0+gm2-git-latest/gm2/gcc-versionno/gcc/graphite-isl-ast-to-gimple.c: In member function ‘loop* translate_isl_ast_to_gimple::graphite_create_new_loop(edge, isl_ast_node*, loop_p, tree, tree, tree, ivs_params&)’:
../../gcc-8.2.0+gm2-git-latest/gm2/gcc-versionno/gcc/graphite-isl-ast-to-gimple.c:598:5: error: ‘isl_id_free’ was not declared in this scope
isl_id_free (res->first);
^~~~~~~~~~~
../../gcc-8.2.0+gm2-git-latest/gm2/gcc-versionno/gcc/graphite-isl-ast-to-gimple.c:598:5: note: suggested alternative: ‘isl_aff_free’
isl_id_free (res->first);
^~~~~~~~~~~
isl_aff_free
../../gcc-8.2.0+gm2-git-latest/gm2/gcc-versionno/gcc/graphite-isl-ast-to-gimple.c: In member function ‘edge_def* translate_isl_ast_to_gimple::translate_isl_ast_for_loop(loop_p, isl_ast_node*, edge, tree, tree, tree, ivs_params&)’:
../../gcc-8.2.0+gm2-git-latest/gm2/gcc-versionno/gcc/graphite-isl-ast-to-gimple.c:638:53: error: ‘isl_id_get_user’ was not declared in this scope
ast_build_info *for_info = (ast_build_info *) isl_id_get_user (id);
^~~~~~~~~~~~~~~
../../gcc-8.2.0+gm2-git-latest/gm2/gcc-versionno/gcc/graphite-isl-ast-to-gimple.c:638:53: note: suggested alternative: ‘isl_arg_user’
ast_build_info *for_info = (ast_build_info *) isl_id_get_user (id);
^~~~~~~~~~~~~~~
isl_arg_user
../../gcc-8.2.0+gm2-git-latest/gm2/gcc-versionno/gcc/graphite-isl-ast-to-gimple.c:641:7: error: ‘isl_id_free’ was not declared in this scope
isl_id_free (id);
^~~~~~~~~~~
../../gcc-8.2.0+gm2-git-latest/gm2/gcc-versionno/gcc/graphite-isl-ast-to-gimple.c:641:7: note: suggested alternative: ‘isl_aff_free’
isl_id_free (id);
^~~~~~~~~~~
isl_aff_free
../../gcc-8.2.0+gm2-git-latest/gm2/gcc-versionno/gcc/graphite-isl-ast-to-gimple.c: In member function ‘edge_def* translate_isl_ast_to_gimple::translate_isl_ast_node_user(isl_ast_node*, edge, ivs_params&)’:
../../gcc-8.2.0+gm2-git-latest/gm2/gcc-versionno/gcc/graphite-isl-ast-to-gimple.c:802:31: error: ‘isl_id_get_user’ was not declared in this scope
poly_bb_p pbb = (poly_bb_p) isl_id_get_user (name_id);
^~~~~~~~~~~~~~~
../../gcc-8.2.0+gm2-git-latest/gm2/gcc-versionno/gcc/graphite-isl-ast-to-gimple.c:802:31: note: suggested alternative: ‘isl_arg_user’
poly_bb_p pbb = (poly_bb_p) isl_id_get_user (name_id);
^~~~~~~~~~~~~~~
isl_arg_user
../../gcc-8.2.0+gm2-git-latest/gm2/gcc-versionno/gcc/graphite-isl-ast-to-gimple.c:808:3: error: ‘isl_id_free’ was not declared in this scope
isl_id_free (name_id);
^~~~~~~~~~~
../../gcc-8.2.0+gm2-git-latest/gm2/gcc-versionno/gcc/graphite-isl-ast-to-gimple.c:808:3: note: suggested alternative: ‘isl_aff_free’
isl_id_free (name_id);
^~~~~~~~~~~
isl_aff_free
../../gcc-8.2.0+gm2-git-latest/gm2/gcc-versionno/gcc/graphite-isl-ast-to-gimple.c: In function ‘isl_id* ast_build_before_for(isl_ast_build*, void*)’:
../../gcc-8.2.0+gm2-git-latest/gm2/gcc-versionno/gcc/graphite-isl-ast-to-gimple.c:1367:19: error: ‘isl_space_dim’ was not declared in this scope
int dimension = isl_space_dim (schedule_space, isl_dim_out);
^~~~~~~~~~~~~
../../gcc-8.2.0+gm2-git-latest/gm2/gcc-versionno/gcc/graphite-isl-ast-to-gimple.c:1367:19: note: suggested alternative: ‘isl_aff_dim’
int dimension = isl_space_dim (schedule_space, isl_dim_out);
^~~~~~~~~~~~~
isl_aff_dim
../../gcc-8.2.0+gm2-git-latest/gm2/gcc-versionno/gcc/graphite-isl-ast-to-gimple.c:1371:3: error: ‘isl_space_free’ was not declared in this scope
isl_space_free (schedule_space);
^~~~~~~~~~~~~~
../../gcc-8.2.0+gm2-git-latest/gm2/gcc-versionno/gcc/graphite-isl-ast-to-gimple.c:1371:3: note: suggested alternative: ‘isl_aff_free’
isl_space_free (schedule_space);
^~~~~~~~~~~~~~
isl_aff_free
../../gcc-8.2.0+gm2-git-latest/gm2/gcc-versionno/gcc/graphite-isl-ast-to-gimple.c:1372:16: error: ‘isl_id_alloc’ was not declared in this scope
isl_id *id = isl_id_alloc (isl_ast_build_get_ctx (build), "", for_info);
^~~~~~~~~~~~
../../gcc-8.2.0+gm2-git-latest/gm2/gcc-versionno/gcc/graphite-isl-ast-to-gimple.c:1372:16: note: suggested alternative: ‘isl_mat_alloc’
isl_id *id = isl_id_alloc (isl_ast_build_get_ctx (build), "", for_info);
^~~~~~~~~~~~
isl_mat_alloc
make[2]: *** [Makefile:1110: graphite-isl-ast-to-gimple.o] Error 1
make[2]: Leaving directory '/home/drifter/dev/build-8.2.0/gcc'
make[1]: *** [Makefile:4302: all-gcc] Error 2
make[1]: Leaving directory '/home/drifter/dev/build-8.2.0'
make: *** [Makefile:918: all] Error 2
----------------------------
So now I *really* don't know what to do :)