Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 662794

Summary: sys-devel/gcc-8.2.0: gcc/graphite-dependences.c:48:16: error: ‘isl_space_get_tuple_id’ was not declared in this scope
Product: Gentoo Linux Reporter: Marek Bartosiewicz <marek.bartosiewicz>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---

Description Marek Bartosiewicz 2018-08-04 19:06:09 UTC
I'm not sure that this is the cause, but today in the morning I updated glibc-2.27 to 2.28 (only that one package).
Afterward I tried to rebuild toolchain, but it failed on gcc-8.2.0 (I had it emerged earlier with glibc-2.27).
I have graphite USE flag enabled, seems that libreoffice needs it, but I do not set graphite CFLAGS for compilation.

gcc-8.2.0 compile failure with USE=graphite (USE=-graphite compiles OK):

x86_64-pc-linux-gnu-g++ -std=gnu++98 -fno-PIE -c -fno-PIE     -DIN_GCC     -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-form
at -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings   -DHAVE_CONFIG_H -I. -I. -I/var/tmp/portage/sys-devel/gcc-8.2.0/work/
gcc-8.2.0/gcc -I/var/tmp/portage/sys-devel/gcc-8.2.0/work/gcc-8.2.0/gcc/. -I/var/tmp/portage/sys-devel/gcc-8.2.0/work/gcc-8.2.0/gcc/../include -I/var/tmp/portage/sys-devel/gcc-8.2.0/work/gcc-
8.2.0/gcc/../libcpp/include  -I/var/tmp/portage/sys-devel/gcc-8.2.0/work/gcc-8.2.0/gcc/../libdecnumber -I/var/tmp/portage/sys-devel/gcc-8.2.0/work/gcc-8.2.0/gcc/../libdecnumber/bid -I../libde
cnumber -I/var/tmp/portage/sys-devel/gcc-8.2.0/work/gcc-8.2.0/gcc/../libbacktrace   -o graphite-optimize-isl.o -MT graphite-optimize-isl.o -MMD -MP -MF ./.deps/graphite-optimize-isl.TPo /var/
tmp/portage/sys-devel/gcc-8.2.0/work/gcc-8.2.0/gcc/graphite-optimize-isl.c
/var/tmp/portage/sys-devel/gcc-8.2.0/work/gcc-8.2.0/gcc/graphite-dependences.c: In function ‘isl_map* constrain_domain(isl_map*, isl_set*)’:
/var/tmp/portage/sys-devel/gcc-8.2.0/work/gcc-8.2.0/gcc/graphite-dependences.c:48:16: error: ‘isl_space_get_tuple_id’ was not declared in this scope
   isl_id *id = isl_space_get_tuple_id (d, isl_dim_in);
                ^~~~~~~~~~~~~~~~~~~~~~
/var/tmp/portage/sys-devel/gcc-8.2.0/work/gcc-8.2.0/gcc/graphite-dependences.c:48:16: note: suggested alternative: ‘isl_map_get_tuple_id’
   isl_id *id = isl_space_get_tuple_id (d, isl_dim_in);
                ^~~~~~~~~~~~~~~~~~~~~~
                isl_map_get_tuple_id
/var/tmp/portage/sys-devel/gcc-8.2.0/work/gcc-8.2.0/gcc/graphite-dependences.c:51:3: error: ‘isl_space_free’ was not declared in this scope
   isl_space_free (d);
   ^~~~~~~~~~~~~~
/var/tmp/portage/sys-devel/gcc-8.2.0/work/gcc-8.2.0/gcc/graphite-dependences.c:51:3: note: suggested alternative: ‘isl_aff_free’
   isl_space_free (d);
   ^~~~~~~~~~~~~~
   isl_aff_free
/var/tmp/portage/sys-devel/gcc-8.2.0/work/gcc-8.2.0/gcc/graphite-dependences.c: In function ‘isl_stat max_number_of_out_dimensions(isl_map*, void*)’:
/var/tmp/portage/sys-devel/gcc-8.2.0/work/gcc-8.2.0/gcc/graphite-dependences.c:141:16: error: ‘isl_space_dim’ was not declared in this scope
   int nb_out = isl_space_dim (space, isl_dim_out);
                ^~~~~~~~~~~~~
/var/tmp/portage/sys-devel/gcc-8.2.0/work/gcc-8.2.0/gcc/graphite-dependences.c:141:16: note: suggested alternative: ‘isl_aff_dim’
   int nb_out = isl_space_dim (space, isl_dim_out);
                ^~~~~~~~~~~~~
                isl_aff_dim
/var/tmp/portage/sys-devel/gcc-8.2.0/work/gcc-8.2.0/gcc/graphite-dependences.c:147:3: error: ‘isl_space_free’ was not declared in this scope
   isl_space_free (space);
   ^~~~~~~~~~~~~~
/var/tmp/portage/sys-devel/gcc-8.2.0/work/gcc-8.2.0/gcc/graphite-dependences.c:147:3: note: suggested alternative: ‘isl_aff_free’
   isl_space_free (space);
   ^~~~~~~~~~~~~~
   isl_aff_free
/var/tmp/portage/sys-devel/gcc-8.2.0/work/gcc-8.2.0/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&)’:
/var/tmp/portage/sys-devel/gcc-8.2.0/work/gcc-8.2.0/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);
   ^~~~~~~~~~~
/var/tmp/portage/sys-devel/gcc-8.2.0/work/gcc-8.2.0/gcc/graphite-optimize-isl.c:61:3: note: suggested alternative: ‘isl_aff_free’
   isl_space_free (space);
   ^~~~~~~~~~~~~~
   isl_aff_free
/var/tmp/portage/sys-devel/gcc-8.2.0/work/gcc-8.2.0/gcc/graphite-isl-ast-to-gimple.c:262:3: note: suggested alternative: ‘isl_aff_free’
   isl_id_free (tmp_isl_id);
   ^~~~~~~~~~~
   isl_aff_free
/var/tmp/portage/sys-devel/gcc-8.2.0/work/gcc-8.2.0/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&)’:
/var/tmp/portage/sys-devel/gcc-8.2.0/work/gcc-8.2.0/gcc/graphite-isl-ast-to-gimple.c:598:5: error: ‘isl_id_free’ was not declared in this scope
     isl_id_free (res->first);
     ^~~~~~~~~~~
/var/tmp/portage/sys-devel/gcc-8.2.0/work/gcc-8.2.0/gcc/graphite-isl-ast-to-gimple.c:598:5: note: suggested alternative: ‘isl_aff_free’
     isl_id_free (res->first);
     ^~~~~~~~~~~
     isl_aff_free
/var/tmp/portage/sys-devel/gcc-8.2.0/work/gcc-8.2.0/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&)’:
/var/tmp/portage/sys-devel/gcc-8.2.0/work/gcc-8.2.0/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);
                                                     ^~~~~~~~~~~~~~~
make[3]: *** [Makefile:1112: graphite-optimize-isl.o] Error 1
/var/tmp/portage/sys-devel/gcc-8.2.0/work/gcc-8.2.0/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
/var/tmp/portage/sys-devel/gcc-8.2.0/work/gcc-8.2.0/gcc/graphite-isl-ast-to-gimple.c:641:7: error: ‘isl_id_free’ was not declared in this scope
       isl_id_free (id);
       ^~~~~~~~~~~
/var/tmp/portage/sys-devel/gcc-8.2.0/work/gcc-8.2.0/gcc/graphite-isl-ast-to-gimple.c:641:7: note: suggested alternative: ‘isl_aff_free’
       isl_id_free (id);
       ^~~~~~~~~~~
       isl_aff_free
/var/tmp/portage/sys-devel/gcc-8.2.0/work/gcc-8.2.0/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&)’:
/var/tmp/portage/sys-devel/gcc-8.2.0/work/gcc-8.2.0/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);
                               ^~~~~~~~~~~~~~~
/var/tmp/portage/sys-devel/gcc-8.2.0/work/gcc-8.2.0/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
/var/tmp/portage/sys-devel/gcc-8.2.0/work/gcc-8.2.0/gcc/graphite-isl-ast-to-gimple.c:808:3: error: ‘isl_id_free’ was not declared in this scope
   isl_id_free (name_id);
   ^~~~~~~~~~~


And so on.
Comment 1 Arfrever Frehtes Taifersar Arahesis 2018-08-04 19:47:14 UTC

*** This bug has been marked as a duplicate of bug 662500 ***
Comment 2 Marek Bartosiewicz 2018-08-04 19:53:44 UTC
Oh, thanks!