public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* [HEAD] bootstrap error using flex-2.5.31
@ 2003-04-18 11:19 Matthias Klose
  2003-04-18 15:06 ` Patrick Mau
  0 siblings, 1 reply; 2+ messages in thread
From: Matthias Klose @ 2003-04-18 11:19 UTC (permalink / raw)
  To: gcc

Using flex-2.5.31 instead of 2.5.4a breaks bootstrap with

stage1/xgcc -Bstage1/ -B/usr/lib/gcc-experimental/i386-linux/bin/ -c   -O2  -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Werror -fno-common   -DHAVE_CONFIG_H -DGENERATOR_FILE    -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/config -I../../src/gcc/../include \
  ../../src/gcc/gengtype-lex.c -o gengtype-lex.o
-:3079: warning: no previous prototype for `yyget_lineno'
-:3088: warning: no previous prototype for `yyget_in'
-:3096: warning: no previous prototype for `yyget_out'
-:3104: warning: no previous prototype for `yyget_leng'
-:3113: warning: no previous prototype for `yyget_text'
-:3122: warning: no previous prototype for `yyset_lineno'
-:3134: warning: no previous prototype for `yyset_in'
-:3139: warning: no previous prototype for `yyset_out'
-:3144: warning: no previous prototype for `yyget_debug'
-:3149: warning: no previous prototype for `yyset_debug'
-:3155: warning: no previous prototype for `yylex_destroy'
make[4]: *** [gengtype-lex.o] Error 1

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [HEAD] bootstrap error using flex-2.5.31
  2003-04-18 11:19 [HEAD] bootstrap error using flex-2.5.31 Matthias Klose
@ 2003-04-18 15:06 ` Patrick Mau
  0 siblings, 0 replies; 2+ messages in thread
From: Patrick Mau @ 2003-04-18 15:06 UTC (permalink / raw)
  To: Matthias Klose; +Cc: gcc

On Fri, Apr 18, 2003 at 10:57:57AM +0200, Matthias Klose wrote:
> Using flex-2.5.31 instead of 2.5.4a breaks bootstrap with
> 

Hallo Matthias,

try the patch below. I reported this failure a few days ago,
but got no response. Maybe because it's a problem with flex,
not with gcc itself.

The patch adds -Wno-error to gengtype-flex.o compilation
in stage2. Apply this within src/gcc.

cheers,
Patrick

PS: Frohe Ostern ;)


Index: Makefile.in
===================================================================
RCS file: /cvsroot/gcc/gcc/gcc/Makefile.in,v
retrieving revision 1.1035
diff -u -r1.1035 Makefile.in
--- Makefile.in	17 Apr 2003 01:22:48 -0000	1.1035
+++ Makefile.in	18 Apr 2003 11:37:51 -0000
@@ -163,6 +163,7 @@
 insn-conditions.o-warn = -Wno-error
 @out_object_file@-warn = -Wno-error
 # Bison-1.75 output often yields (harmless) -Wtraditional warnings
+gengtype-lex.o-warn = -Wno-error
 gengtype-yacc.o-warn = -Wno-error
 c-parse.o-warn = -Wno-error
 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-04-18 11:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-18 11:19 [HEAD] bootstrap error using flex-2.5.31 Matthias Klose
2003-04-18 15:06 ` Patrick Mau

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).