stage 1 bootstrap fail on Debian armv7

Dennis Clarke dclarke@blastwave.org
Thu Dec 27 08:22:00 GMT 2018


I was surprised to see this sort of thing in stage 1 of a bootstrap
  of gcc 8.2.0 where the local host gcc was 6.3.0-18+deb9u1 :

.
.
.

/usr/bin/g++ -std=gnu++98 -fno-PIE -c   -g -DIN_GCC     -fno-exceptions 
-fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing 
-Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute 
-Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros 
-Wno-overlength-strings -fno-common  -DHAVE_CONFIG_H -I. -I. 
-I../../gcc-8.2.0/gcc -I../../gcc-8.2.0/gcc/. 
-I../../gcc-8.2.0/gcc/../include -I../../gcc-8.2.0/gcc/../libcpp/include 
-I/opt/bw/build/gcc-8.2.0_4.4.132+_armv7l.001/./gmp 
-I/opt/bw/build/gcc-8.2.0/gmp 
-I/opt/bw/build/gcc-8.2.0_4.4.132+_armv7l.001/./mpfr/src 
-I/opt/bw/build/gcc-8.2.0/mpfr/src -I/opt/bw/build/gcc-8.2.0/mpc/src 
-I../../gcc-8.2.0/gcc/../libdecnumber 
-I../../gcc-8.2.0/gcc/../libdecnumber/dpd -I../libdecnumber 
-I../../gcc-8.2.0/gcc/../libbacktrace 
-I/opt/bw/build/gcc-8.2.0_4.4.132+_armv7l.001/./isl/include 
-I/opt/bw/build/gcc-8.2.0/isl/include -I/opt/bw/include -o graph.o -MT 
graph.o -MMD -MP -MF ./.deps/graph.TPo ../../gcc-8.2.0/gcc/graph.c
/usr/bin/g++ -std=gnu++98 -fno-PIE -c   -g -DIN_GCC     -fno-exceptions 
-fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing 
-Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute 
-Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros 
-Wno-overlength-strings -fno-common  -DHAVE_CONFIG_H -I. -I. 
-I../../gcc-8.2.0/gcc -I../../gcc-8.2.0/gcc/. 
-I../../gcc-8.2.0/gcc/../include -I../../gcc-8.2.0/gcc/../libcpp/include 
-I/opt/bw/build/gcc-8.2.0_4.4.132+_armv7l.001/./gmp 
-I/opt/bw/build/gcc-8.2.0/gmp 
-I/opt/bw/build/gcc-8.2.0_4.4.132+_armv7l.001/./mpfr/src 
-I/opt/bw/build/gcc-8.2.0/mpfr/src -I/opt/bw/build/gcc-8.2.0/mpc/src 
-I../../gcc-8.2.0/gcc/../libdecnumber 
-I../../gcc-8.2.0/gcc/../libdecnumber/dpd -I../libdecnumber 
-I../../gcc-8.2.0/gcc/../libbacktrace 
-I/opt/bw/build/gcc-8.2.0_4.4.132+_armv7l.001/./isl/include 
-I/opt/bw/build/gcc-8.2.0/isl/include -I/opt/bw/include -o graphds.o -MT 
graphds.o -MMD -MP -MF ./.deps/graphds.TPo ../../gcc-8.2.0/gcc/graphds.c
/usr/bin/g++ -std=gnu++98 -fno-PIE -c   -g -DIN_GCC     -fno-exceptions 
-fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing 
-Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute 
-Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros 
-Wno-overlength-strings -fno-common  -DHAVE_CONFIG_H -I. -I. 
-I../../gcc-8.2.0/gcc -I../../gcc-8.2.0/gcc/. 
-I../../gcc-8.2.0/gcc/../include -I../../gcc-8.2.0/gcc/../libcpp/include 
-I/opt/bw/build/gcc-8.2.0_4.4.132+_armv7l.001/./gmp 
-I/opt/bw/build/gcc-8.2.0/gmp 
-I/opt/bw/build/gcc-8.2.0_4.4.132+_armv7l.001/./mpfr/src 
-I/opt/bw/build/gcc-8.2.0/mpfr/src -I/opt/bw/build/gcc-8.2.0/mpc/src 
-I../../gcc-8.2.0/gcc/../libdecnumber 
-I../../gcc-8.2.0/gcc/../libdecnumber/dpd -I../libdecnumber 
-I../../gcc-8.2.0/gcc/../libbacktrace 
-I/opt/bw/build/gcc-8.2.0_4.4.132+_armv7l.001/./isl/include 
-I/opt/bw/build/gcc-8.2.0/isl/include -I/opt/bw/include -o graphite.o 
-MT graphite.o -MMD -MP -MF ./.deps/graphite.TPo 
../../gcc-8.2.0/gcc/graphite.c
In file included from ../../gcc-8.2.0/gcc/basic-block.h:23:0,
                  from ../../gcc-8.2.0/gcc/backend.h:32,
                  from ../../gcc-8.2.0/gcc/graphite.c:35:
../../gcc-8.2.0/gcc/profile-count.h: In member function 'bool 
profile_count::compatible_p(profile_count) const':
../../gcc-8.2.0/gcc/profile-count.h:652:8: note: parameter passing for 
argument of type 'const profile_count' will change in GCC 7.1
    bool compatible_p (const profile_count other) const
         ^~~~~~~~~~~~
In file included from ../../gcc-8.2.0/gcc/graphite.c:33:0:
../../gcc-8.2.0/gcc/profile-count.h: In member function 'profile_count& 
profile_count::operator+=(const profile_count&)':
../../gcc-8.2.0/gcc/profile-count.h:782:45: note: parameter passing for 
argument of type 'const profile_count' will change in GCC 7.1
            gcc_checking_assert (compatible_p (other));

../../gcc-8.2.0/gcc/system.h:742:14: note: in definition of macro 
'gcc_assert'
     ((void)(!(EXPR) ? fancy_abort (__FILE__, __LINE__, __FUNCTION__), 0 
: 0))
               ^~~~
../../gcc-8.2.0/gcc/profile-count.h:782:11: note: in expansion of macro 
'gcc_checking_assert'
            gcc_checking_assert (compatible_p (other));
            ^~~~~~~~~~~~~~~~~~~
/usr/bin/g++ -std=gnu++98 -fno-PIE -c   -g -DIN_GCC     -fno-exceptions 
-fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing 
-Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute 
-Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros 
-Wno-overlength-strings -fno-common  -DHAVE_CONFIG_H -I. -I. 
-I../../gcc-8.2.0/gcc -I../../gcc-8.2.0/gcc/. 
-I../../gcc-8.2.0/gcc/../include -I../../gcc-8.2.0/gcc/../libcpp/include 
-I/opt/bw/build/gcc-8.2.0_4.4.132+_armv7l.001/./gmp 
-I/opt/bw/build/gcc-8.2.0/gmp 
-I/opt/bw/build/gcc-8.2.0_4.4.132+_armv7l.001/./mpfr/src 
-I/opt/bw/build/gcc-8.2.0/mpfr/src -I/opt/bw/build/gcc-8.2.0/mpc/src 
-I../../gcc-8.2.0/gcc/../libdecnumber 
-I../../gcc-8.2.0/gcc/../libdecnumber/dpd -I../libdecnumber 
-I../../gcc-8.2.0/gcc/../libbacktrace 
-I/opt/bw/build/gcc-8.2.0_4.4.132+_armv7l.001/./isl/include 
-I/opt/bw/build/gcc-8.2.0/isl/include -I/opt/bw/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-8.2.0/gcc/graphite-isl-ast-to-gimple.c
../../gcc-8.2.0/gcc/graphite-isl-ast-to-gimple.c: In function 'void 
ivs_params_clear(ivs_params&)':
../../gcc-8.2.0/gcc/graphite-isl-ast-to-gimple.c:83:29: error: 
'isl_id_free' was not declared in this scope
        isl_id_free (it->first);
                              ^
../../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&)':
../../gcc-8.2.0/gcc/graphite-isl-ast-to-gimple.c:262:26: error: 
'isl_id_free' was not declared in this scope
    isl_id_free (tmp_isl_id);
                           ^
../../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&)':
../../gcc-8.2.0/gcc/graphite-isl-ast-to-gimple.c:598:28: error: 
'isl_id_free' was not declared in this scope
      isl_id_free (res->first);
                             ^
../../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&)':
../../gcc-8.2.0/gcc/graphite-isl-ast-to-gimple.c:638:72: 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/gcc/graphite-isl-ast-to-gimple.c:641:22: error: 
'isl_id_free' was not declared in this scope
        isl_id_free (id);
                       ^
../../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&)':
../../gcc-8.2.0/gcc/graphite-isl-ast-to-gimple.c:802:55: 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/gcc/graphite-isl-ast-to-gimple.c:808:23: error: 
'isl_id_free' was not declared in this scope
    isl_id_free (name_id);
                        ^
../../gcc-8.2.0/gcc/graphite-isl-ast-to-gimple.c: In function 'isl_id* 
ast_build_before_for(isl_ast_build*, void*)':
../../gcc-8.2.0/gcc/graphite-isl-ast-to-gimple.c:1367:61: error: 
'isl_space_dim' was not declared in this scope
    int dimension = isl_space_dim (schedule_space, isl_dim_out);
                                                              ^
../../gcc-8.2.0/gcc/graphite-isl-ast-to-gimple.c:1371:33: error: 
'isl_space_free' was not declared in this scope
    isl_space_free (schedule_space);
                                  ^
../../gcc-8.2.0/gcc/graphite-isl-ast-to-gimple.c:1372:73: error: 
'isl_id_alloc' was not declared in this scope
    isl_id *id = isl_id_alloc (isl_ast_build_get_ctx (build), "", for_info);
                                                                          ^
gmake[3]: *** [Makefile:1110: graphite-isl-ast-to-gimple.o] Error 1
gmake[3]: Leaving directory 
'/opt/bw/build/gcc-8.2.0_4.4.132+_armv7l.001/gcc'
gmake[2]: *** [Makefile:4624: all-stage1-gcc] Error 2
gmake[2]: Leaving directory '/opt/bw/build/gcc-8.2.0_4.4.132+_armv7l.001'
gmake[1]: *** [Makefile:27678: stage1-bubble] Error 2
gmake[1]: Leaving directory '/opt/bw/build/gcc-8.2.0_4.4.132+_armv7l.001'
gmake: *** [Makefile:952: all] Error 2
Command exited with non-zero status 2


Well that is interesting and perhaps I should try to not leap from 6.3.x
all the way to 8.2.0 ?  I'll give 7.4.0 a shot but curious if anyone has
seen anything like the above.

Dennis



More information about the Gcc-help mailing list