This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [HEAD] bootstrap error using flex-2.5.31
- From: Patrick Mau <mau at oscar dot ping dot de>
- To: Matthias Klose <doko at cs dot tu-berlin dot de>
- Cc: gcc at gcc dot gnu dot org
- Date: Fri, 18 Apr 2003 13:41:37 +0200
- Subject: Re: [HEAD] bootstrap error using flex-2.5.31
- References: <16031.48661.183770.667864@gargle.gargle.HOWL>
- Reply-to: Patrick Mau <mau at oscar dot ping dot de>
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 at -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