This is the mail archive of the 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]

Re: Mainline bootstrap broken for i686-pc-linux-gnu

Colin Douglas Howell <> 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  <>
>          * 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,

 Andreas Jaeger,,
  SuSE Linux AG, Deutschherrnstr. 15-19, 90429 Nürnberg, Germany
   GPG fingerprint = 93A3 365E CE47 B889 DF7F  FED1 389A 563C C272 A126

Attachment: pgp00000.pgp
Description: PGP signature

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