Bootstrap failure in toplev.c

Gerald Pfeifer pfeifer@dbai.tuwien.ac.at
Tue Feb 18 20:32:00 GMT 2003


The following patch seems to have broken bootstrap (seen on
i386-unknown-freebsd4.7):

2003-02-18  Matt Austern <austern@apple.com>

        * langhooks.h, langhooks-def.h: introduce new langhook,
        final_write_globals, with write_global_declarations as default.
        * toplev.c: Move invocation of wrapup_global_declarations from
        compile_file to new function, write_global_declarations.  Change
        compile_file to use final_write_globals hook.  Change
        wrapup_global_declarations so writing to DECL_DEFER_OUTPUT is
        conditional.

stage1/xgcc -Bstage1/ -B/sw/gcc-current/i386-unknown-freebsd4.7/bin/ -c   -g -O2 -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long  -Werror   -DHAVE_CONFIG_H    -I. -I. -I/sw/test/gcc/cvs/gcc -I/sw/test/gcc/cvs/gcc/. -I/sw/test/gcc/cvs/gcc/config -I/sw/test/gcc/cvs/gcc/../include /sw/test/gcc/cvs/gcc/tree.c -o tree.o
/sw/test/gcc/cvs/gcc/toplev.c:2230: warning: function declaration isn't a prototype
gmake[2]: *** [toplev.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....
gmake[2]: Leaving directory `/files/pfeifer/OBJ-0218-2108/gcc'
gmake[1]: *** [stage2_build] Error 2
gmake[1]: Leaving directory `/files/pfeifer/OBJ-0218-2108/gcc'
gmake: *** [bootstrap-lean] Error 2

Did this patch really pass a full bootstrap in a recent gcc.gnu.org tree?

Gerald
-- 
Gerald "Jerry"   pfeifer@dbai.tuwien.ac.at   http://www.pfeifer.com/gerald/



More information about the Gcc mailing list