This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: committed: renaming of target specific GNAT files
On Fri, 2004-05-14 at 13:00, Laurent GUERBY wrote:
> On Fri, 2004-05-14 at 12:31, Laurent GUERBY wrote:
> > On Fri, 2004-05-14 at 12:11, Christoph Hellwig wrote:
> > > What about opening a branch just before the tree-ssa merge so others
> > > can easily test aswell? Then you'd check into the branch and merge it
> > > to mainline regularly (the latter wihtout testing so far of course)
> >
> > Just do a separate tree checkout at tree-ssa-pre-merge, remove
> > gcc/ada and symlink it to your HEAD tree (not tried yet, but I intend
> > to try it soon :).
>
> Hmm, tree-ssa-pre-merge (without any change) for some reason doesn't
> bootstrap with Ada
>
> stage1/xgcc -Bstage1/ -B/home/guerby/work/gcc/install/install-20040514T124548/i686-pc-linux-gnu/bin/ -c -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wold-style-definition -Werror -fno-common -DHAVE_CONFIG_H -I. -I. -I/home/guerby/work/gcc/version-pre-ssa/gcc -I/home/guerby/work/gcc/version-pre-ssa/gcc/. -I/home/guerby/work/gcc/version-pre-ssa/gcc/../include \
> /home/guerby/work/gcc/version-pre-ssa/gcc/c-opts.c -o c-opts.o
> In file included from /home/guerby/work/gcc/version-pre-ssa/gcc/c-opts.c:39:
> ./options.h:4:1: "CL_Ada" redefined
> ./options.h:3:1: this is the location of the previous definition
> make[2]: *** [c-opts.o] Error 1
> make[2]: Leaving directory `/home/guerby/work/gcc/build/build-20040514T124548/gcc'
> make[1]: *** [stage2_build] Error 2
> make[1]: Leaving directory `/home/guerby/work/gcc/build/build-20040514T124548/gcc'
> make: *** [bootstrap] Error 2
>
> It might be a configure problem, from the top-level configure:
>
> checking whether compiler driver understands Ada... yes
> checking how to compare bootstrapped objects... cmp --ignore-initial=16 $$f1 $$f2
> The following languages will be built: c,ada,ada
>
> Notice "ada,ada". Will investigate tonight.
Hmm, it's my symlink ada_new in the gcc directory pointing
to HEAD gcc/ada that caused the problem given the following
configure:
for lang_frag in ${srcdir}/gcc/*/config-lang.in .. ; do
So you'd better off not having gcc subdirectories or symlinks
containing config-lang.in :)
Laurent (trying again)