This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
[PATCH, committed] Re: bootstrap failure on Linux /AMD64
Zack Weinberg wrote:
Robert Schiele <rschiele@uni-mannheim.de> writes:
On Sun, Oct 03, 2004 at 08:47:34AM +0200, Andreas Jaeger wrote:
With current GCC CVS mainline I get the following bootstrap failure:
stage1/xgcc -Bstage1/ -B/opt/gcc/4.0-devel/x86_64-suse-linux-gnu/bin/ -c -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wold-style-definition -Werror -fno-common -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -fno-common -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -Ibuild -I/cvs/gcc/gcc -I/cvs/gcc/gcc/build -I/cvs/gcc/gcc/../include -I/cvs/gcc/gcc/../libcpp/include \
-o build/insn-conditions.o insn-conditions.c
cc1: warnings being treated as errors
insn-conditions.c:771: warning: string length '534' is greater than the length '509' ISO C89 compilers are required to support
insn-conditions.c:1081: warning: string length '533' is greater than the length'509' ISO C89 compilers are required to support
insn-conditions.c:1617: warning: string length '597' is greater than the length'509' ISO C89 compilers are required to support
make[4]: *** [build/insn-conditions.o] Error 1
... this file isn't supposed to be compiled with -Werror. The switch
probably got lost when insn-conditions.o moved to build/. Kelley -
please fix.
Sure thing. Obvious patch committed.
KC
2004-10-05 Kelley Cook <kcook@gcc.gnu.org>
* Makefile.in: Update -Wno-error exceptions for move to build dir.
Index: Makefile.in
===================================================================
RCS file: /cvs/gcc/gcc/gcc/Makefile.in,v
retrieving revision 1.1405
diff -p -u -d -u -r1.1405 Makefile.in
--- Makefile.in 1 Oct 2004 07:42:49 -0000 1.1405
+++ Makefile.in 5 Oct 2004 11:51:38 -0000
@@ -188,12 +188,12 @@ GCC_WARN_CFLAGS = $(LOOSE_WARN) $($(@D)-
# These files are to have -Werror bypassed in stage2:
# These are very hard to completely clean due to target complexities.
gcc.o-warn = -Wno-error
-insn-conditions.o-warn = -Wno-error
+build/insn-conditions.o-warn = -Wno-error
# Bison-1.75 output often yields (harmless) -Wtraditional warnings
-gengtype-yacc.o-warn = -Wno-error
+build/gengtype-yacc.o-warn = -Wno-error
c-parse.o-warn = -Wno-error
# flex output may yield harmless "no previous prototype" warnings
-gengtype-lex.o-warn = -Wno-error
+build/gengtype-lex.o-warn = -Wno-error
# SYSCALLS.c misses prototypes
SYSCALLS.c.X-warn = -Wno-strict-prototypes -Wno-error
# These files need -Wno-error because the gimplifier triggers hard to fix