This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: bootstrap failure on Linux /AMD64
- From: Zack Weinberg <zack at codesourcery dot com>
- To: Kelley dot Cook at sbcglobal dot net
- Cc: Andreas Jaeger <aj at suse dot de>, Robert Schiele <rschiele at uni-mannheim dot de>, gcc at gcc dot gnu dot org
- Date: Tue, 05 Oct 2004 00:15:21 -0700
- Subject: Re: bootstrap failure on Linux /AMD64
- References: <m3k6u8xpq1.fsf@gromit.moeb><20041005070426.GA10364@schiele.dyndns.org>
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
>> make[4]: Leaving directory `/builds/gcc/misc/gcc'
>> make[3]: *** [32/crtbegin.o] Error 2
>> make[3]: Leaving directory `/builds/gcc/misc/gcc'
>> make[2]: *** [stmp-multilib] Error 2
>> make[2]: Leaving directory `/builds/gcc/misc/gcc'
>> make[1]: *** [stage2_build] Error 2
>> make[1]: Leaving directory `/builds/gcc/misc/gcc'
>> make: *** [bootstrap] Error 2
>>
>> What has changed here? I remember seeing these warnings in files for
>> years but they were never errors...
>
> Well, when translation is done with "-Werror"... ;-)
... 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.
zw