This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Mainline bootstrap broken for i686-pc-linux-gnu
- From: Christian Joensson <c dot christian dot joensson at comhem dot se>
- To: Andreas Jaeger <aj at suse dot de>
- Cc: gcc at gcc dot gnu dot org
- Date: Sat, 5 Jul 2003 13:24:41 +0200
- Subject: Re: Mainline bootstrap broken for i686-pc-linux-gnu
- References: <3F06B089.2010005@pacbell.net> <u8llvdteau.fsf@gromit.moeb>
On Sat, Jul 05, 2003 at 01:15:37PM +0200, Andreas Jaeger wrote:
> Colin Douglas Howell <chowell2@pacbell.net> writes:
>
> > Fails as follows for a clean bootstrap (using contrib/gcc_build):
> >
> > stage1/xgcc -Bstage1/
> > -B/home/howell/dev/install/i686-pc-linux-gnu/bin/ -g -O2 -DIN_GCC
> > -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
> > -pedantic -Wno-long-long -Werror -fno-common -DHAVE_CONFIG_H
> > -I. -I. -I/home/howell/dev/gcc/gcc
> > -I/home/howell/dev/gcc/gcc/. -I/home/howell/dev/gcc/gcc/config
> > -I/home/howell/dev/gcc/gcc/../include -I../intl -c insn-attrtab.c \
> > -o insn-attrtab.o
> > insn-attrtab.c:19771: warning: no previous prototype for
> > `k6_fpu_unit_ready_cost'
>
> [...]
> >
> > I suspect this was triggered by the following change:
> >
> > 2003-07-05 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
> >
> > * genattr.c (internal_dfa_insn_code): Output prototype.
> > * genattrtab.c: Don't output unnecessary decls, output in ISO C.
> > * genautomata.c: Likewise.
> > * genconditions.c: Likewise.
> > * genemit.c: Likewise.
> > * genextract.c: Likewise.
> > * gengenrtl.c: Likewise.
> > * gengtype.c: Likewise.
> > * genopinit.c: Likewise.
> > * genoutput.c: Likewise.
> > * genpeep.c: Likewise.
> > * genrecog.c: Likewise.
>
> Yes, that change is the culprit. There's also a bug in genemit.c. I'm
> currently testing patches for your problem and genemit.c and will
> commit them as obvious after bootstrapping goes over these lines. I
> should have something committed in an hour or two,
uhm, I get these problems on i{6,7}86-linux, but not on
sparc{,64}-linux...
LAST_UPDATED: Sat Jul 5 05:59:39 UTC 2003
i.e., with Kaveh's patch in...
/ChJ