This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: treelang does not bootstrap anymore
- From: Tim Josling <tej at melbpc dot org dot au>
- To: Andreas Jaeger <aj at suse dot de>
- Cc: gcc-bugs at gcc dot gnu dot org, geoffk at redhat dot com
- Date: Wed, 05 Jun 2002 06:42:46 +1000
- Subject: Re: treelang does not bootstrap anymore
- Organization: Melbourne PC User Group
- References: <ho3cw3jjab.fsf@gee.suse.de>
Andreas,
Thanks for reporting this. It is easy to fix I think. I will update my cvs and fix in the next day or so.
It is just because I am (ab)using some of the C code and when they add routines I need to provide dummies for the linker.
Tim Josling
Andreas Jaeger wrote:
>
> With Geoff's PCH merge treelang does not bootstrap anymore on i686-linux-gnu:
>
> /cvs/gcc/gcc/treelang/parse.y:209: warning: `yytoknum' defined but not used
> stage1/xgcc -Bstage1/ -B/opt/gcc/3.2-devel/i686-pc-linux-gnu/bin/ -DIN_GCC -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long -DHAVE_CONFIG_H -o tree1 \
> treelang/tree1.o treelang/treetree.o treelang/lex.o treelang/parse.o c-convert.o\
> c-typeck.o c-common.o c-decl.o attribs.o main.o libbackend.a ../libiberty/libiberty.a ../libiberty/libiberty.a ../libiberty/libiberty.a
> c-common.o: In function `cb_register_builtins':
> /cvs/gcc/gcc/c-common.c:4384: undefined reference to `cpp_assert'
> /cvs/gcc/gcc/c-common.c:4384: undefined reference to `cpp_assert'
> libbackend.a(ggc-common.o): In function `ggc_mark_roots':
> /cvs/gcc/gcc/ggc-common.c:107: undefined reference to `gt_ggc_deletable_rtab'
> /cvs/gcc/gcc/ggc-common.c:107: undefined reference to `gt_ggc_deletable_rtab'
> /cvs/gcc/gcc/ggc-common.c:111: undefined reference to `gt_ggc_rtab'
> /cvs/gcc/gcc/ggc-common.c:111: undefined reference to `gt_ggc_rtab'
> /cvs/gcc/gcc/ggc-common.c:129: undefined reference to `gt_ggc_cache_rtab'
> /cvs/gcc/gcc/ggc-common.c:129: undefined reference to `gt_ggc_cache_rtab'
> collect2: ld returned 1 exit status
> make[2]: *** [tree1] Error 1
> make[2]: Leaving directory `/builds/gcc/gcc-3.2-devel/gcc'
> make[1]: *** [stage2_build] Error 2
> make[1]: Leaving directory `/builds/gcc/gcc-3.2-devel/gcc'
> make: *** [bootstrap] Error 2
>
> Andreas
> --
> Andreas Jaeger
> SuSE Labs aj@suse.de
> private aj@arthur.inka.de
> http://www.suse.de/~aj