I was building coreboot toolchain and I got error about graphite on my system. Build root uses system compiler and isl to build gcc. I then try to build gnat-gpl on my system with USE=graphite for gnat-gpl and error. Is this version too new for the 7.3 compiler? /tmp/build/portage/dev-lang/gnat-gpl-2018/work/gcc-7-gpl-2018-src/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&)': /tmp/build/portage/dev-lang/gnat-gpl-2018/work/gcc-7-gpl-2018-src/gcc/graphite-isl-ast-to-gimple.c:629:28: error: 'isl_id_free' was not declared in this scope /tmp/build/portage/dev-lang/gnat-gpl-2018/work/gcc-7-gpl-2018-src/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&)': /tmp/build/portage/dev-lang/gnat-gpl-2018/work/gcc-7-gpl-2018-src/gcc/graphite-isl-ast-to-gimple.c:669:72: error: 'isl_id_get_user' was not declared in this scope /tmp/build/portage/dev-lang/gnat-gpl-2018/work/gcc-7-gpl-2018-src/gcc/graphite-isl-ast-to-gimple.c:672:22: error: 'isl_id_free' was not declared in this scope /tmp/build/portage/dev-lang/gnat-gpl-2018/work/gcc-7-gpl-2018-src/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&)': /tmp/build/portage/dev-lang/gnat-gpl-2018/work/gcc-7-gpl-2018-src/gcc/graphite-isl-ast-to-gimple.c:876:55: error: 'isl_id_get_user' was not declared in this scope /tmp/build/portage/dev-lang/gnat-gpl-2018/work/gcc-7-gpl-2018-src/gcc/graphite-isl-ast-to-gimple.c:882:23: error: 'isl_id_free' was not declared in this scope /tmp/build/portage/dev-lang/gnat-gpl-2018/work/gcc-7-gpl-2018-src/gcc/graphite-isl-ast-to-gimple.c: In function 'isl_id* ast_build_before_for(isl_ast_build*, void*)': /tmp/build/portage/dev-lang/gnat-gpl-2018/work/gcc-7-gpl-2018-src/gcc/graphite-isl-ast-to-gimple.c:2886:61: error: 'isl_space_dim' was not declared in this scope /tmp/build/portage/dev-lang/gnat-gpl-2018/work/gcc-7-gpl-2018-src/gcc/graphite-isl-ast-to-gimple.c:2890:33: error: 'isl_space_free' was not declared in this scope /tmp/build/portage/dev-lang/gnat-gpl-2018/work/gcc-7-gpl-2018-src/gcc/graphite-isl-ast-to-gimple.c:2891:73: error: 'isl_id_alloc' was not declared in this scope /tmp/build/portage/dev-lang/gnat-gpl-2018/work/gcc-7-gpl-2018-src/gcc/graphite-dependences.c: In function 'isl_map* constrain_domain(isl_map*, isl_set*)': /tmp/build/portage/dev-lang/gnat-gpl-2018/work/gcc-7-gpl-2018-src/gcc/graphite-dependences.c:48:53: error: 'isl_space_get_tuple_id' was not declared in this scope /tmp/build/portage/dev-lang/gnat-gpl-2018/work/gcc-7-gpl-2018-src/gcc/graphite-dependences.c:51:20: error: 'isl_space_free' was not declared in this scope /tmp/build/portage/dev-lang/gnat-gpl-2018/work/gcc-7-gpl-2018-src/gcc/graphite-dependences.c: In function 'isl_stat max_number_of_out_dimensions(isl_map*, void*)': /tmp/build/portage/dev-lang/gnat-gpl-2018/work/gcc-7-gpl-2018-src/gcc/graphite-dependences.c:179:49: error: 'isl_space_dim' was not declared in this scope /tmp/build/portage/dev-lang/gnat-gpl-2018/work/gcc-7-gpl-2018-src/gcc/graphite-dependences.c:185:24: error: 'isl_space_free' was not declared in this scope /tmp/build/portage/dev-lang/gnat-gpl-2018/work/gcc-7-gpl-2018-src/gcc/graphite-dependences.c: In function 'isl_map* extend_map(isl_map*, int)': /tmp/build/portage/dev-lang/gnat-gpl-2018/work/gcc-7-gpl-2018-src/gcc/graphite-dependences.c:195:44: error: 'isl_space_dim' was not declared in this scope /tmp/build/portage/dev-lang/gnat-gpl-2018/work/gcc-7-gpl-2018-src/gcc/graphite-dependences.c:197:24: error: 'isl_space_free' was not declared in this scope /tmp/build/portage/dev-lang/gnat-gpl-2018/work/gcc-7-gpl-2018-src/gcc/graphite-dependences.c: In function 'bool carries_deps(isl_union_map*, isl_union_map*, int)': /tmp/build/portage/dev-lang/gnat-gpl-2018/work/gcc-7-gpl-2018-src/gcc/graphite-dependences.c:272:56: error: 'isl_space_range' was not declared in this scope
Thank you for the report. Please recompile and *attach* the logfiles and paste the emerge info as described on https://wiki.gentoo.org/wiki/Attach_the_logs_to_the_bug_ticket The logs must be part of the ticket, but not on external websites. Please reopen this ticket (Status:unconfirmed) afterwards.
Created attachment 549758 [details, diff] graphite.h just lacks a couple includes...