This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

compile errors building trunk


Hi,

I'm having some compile errors bootstrapping trunk with gcc 4.4 on amd64. I have updated and recompiled every day starting on Monday in the hopes it would be noticed by someone else and be fixed. Here are the compiler warnings/errors I noted that might be preventing the compilation from succeeding:

../../../gcc-trunk/libgcc/../gcc/unwind-dw2.c:1083:8: warning: array subscript is above array bounds

In file included from /usr/include/cloog/cloog.h:45:0,
from ../../gcc-trunk/gcc/graphite.c:66:
/usr/include/cloog/ppl_backend.h:173:18: note: originally defined here
/usr/include/cloog/ppl_backend.h:190:18: note: originally defined here
../../gcc-trunk/gcc/graphite.c: In function loop_iv_stack_patch_for_consts:
../../gcc-trunk/gcc/graphite.c:507:25: warning: enum constant defined in struct or union is not visible in C++
/usr/include/cloog/clast.h:9:12: note: enum constant defined here
cc1: warnings being treated as errors
../../gcc-trunk/gcc/graphite.c: In function add_conditions_to_domain:
../../gcc-trunk/gcc/graphite.c:3227:9: error: case value 138 not in enumerated type enum gimple_code
../../gcc-trunk/gcc/graphite.c: In function clast_to_gcc_expression:
../../gcc-trunk/gcc/graphite.c:3851:10: warning: enum constant defined in struct or union is not visible in C++
/usr/include/cloog/clast.h:9:12: note: enum constant defined here
../../gcc-trunk/gcc/graphite.c:3881:10: warning: enum constant defined in struct or union is not visible in C++
/usr/include/cloog/clast.h:9:33: note: enum constant defined here
../../gcc-trunk/gcc/graphite.c:3902:10: warning: enum constant defined in struct or union is not visible in C++
/usr/include/cloog/clast.h:9:23: note: enum constant defined here
../../gcc-trunk/gcc/graphite.c: In function gcc_type_for_clast_expr:
../../gcc-trunk/gcc/graphite.c:3944:10: warning: enum constant defined in struct or union is not visible in C++
/usr/include/cloog/clast.h:9:12: note: enum constant defined here
../../gcc-trunk/gcc/graphite.c:3954:10: warning: enum constant defined in struct or union is not visible in C++
/usr/include/cloog/clast.h:9:33: note: enum constant defined here
../../gcc-trunk/gcc/graphite.c:3973:10: warning: enum constant defined in struct or union is not visible in C++
/usr/include/cloog/clast.h:9:23: note: enum constant defined here
../../gcc-trunk/gcc/graphite.c: In function find_cloog_iv_in_expr:
../../gcc-trunk/gcc/graphite.c:5335:21: warning: enum constant defined in struct or union is not visible in C++
/usr/include/cloog/clast.h:9:12: note: enum constant defined here
../../gcc-trunk/gcc/graphite.c:5339:21: warning: enum constant defined in struct or union is not visible in C++
/usr/include/cloog/clast.h:9:12: note: enum constant defined here
../../gcc-trunk/gcc/graphite.c:5342:21: warning: enum constant defined in struct or union is not visible in C++
/usr/include/cloog/clast.h:9:33: note: enum constant defined here
make[3]: *** [graphite.o] Error 1
make[3]: *** Waiting for unfinished jobs....
^Cmake[3]: *** wait: No child processes. Stop.
make[2]: *** [all-stageprofile-gcc] Error 2
make[1]: *** [stageprofile-bubble] Interrupt
make: *** [profiledbootstrap] Interrupt



Here is my configure command:
CFLAGS="-O3 -floop-interchange -floop-strip-mine -floop-block -findirect-inlining -ftree-switch-conversion -fvect-cost-model -fgcse-sm -fgcse-las -fgcse-after-reload -fsee -ftree-loop-linear -ftree-loop-distribution -ftree-loop-im -ftree-loop-ivcanon -fivopts -fvpt -funroll-loops -funswitch-loops" CPPFLAGS="-O3 -floop-interchange -floop-strip-mine -floop-block -findirect-inlining -ftree-switch-conversion -fvect-cost-model -fgcse-sm -fgcse-las -fgcse-after-reload -fsee -ftree-loop-linear -ftree-loop-distribution -ftree-loop-im -ftree-loop-ivcanon -fivopts -fvpt -funroll-loops -funswitch-loops" ../gcc-trunk/configure --prefix=/home/matt --enable-stage1-checking=all --enable-bootstrap --enable-lto --enable-languages=c,c++ --with-ppl --with-cloog


and here is my make command:
make BOOT_CFLAGS="-O3 -floop-interchange -floop-strip-mine -floop-block -findirect-inlining -ftree-switch-conversion -fvect-cost-model -fgcse-sm -fgcse-las -fgcse-after-reload -fsee -ftree-loop-linear -ftree-loop-distribution -ftree-loop-im -ftree-loop-ivcanon -fivopts -fvpt -funroll-loops -funswitch-loops" -j5 profiledbootstrap && make check && make install






--
tangled strands of DNA explain the way that I behave.
http://www.clock.org/~matt


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]