* Re: mainline bootstrap failure in bitmap.c on sparcv9-sun-solaris2.8
@ 2002-07-26 12:14 John David Anglin
0 siblings, 0 replies; 13+ messages in thread
From: John David Anglin @ 2002-07-26 12:14 UTC (permalink / raw)
To: gcc
> stage2/xgcc -Bstage2/ -B/home/c/lucier/local/gcc-test/sparcv9-sun-solaris2.8/bin/ -c -DIN_GCC -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -I. -I../../gcc -I../../gcc/. -I../../gcc/config -I../../gcc/../include ../../gcc/bitmap.c -o bitmap.o
> In file included from ../../gcc/system.h:171,
> from ../../gcc/bitmap.c:22:
> ../../gcc/hwint.h:39:9: warning: integer overflow in preprocessor expression
A similar error occurs on hppa-linux near the end of stage2:
<http://gcc.gnu.org/ml/gcc/2002-07/msg01238.html>.
Dave
--
J. David Anglin dave.anglin@nrc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6605)
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: mainline bootstrap failure in bitmap.c on sparcv9-sun-solaris2.8
2002-07-28 4:50 ` Richard Henderson
2002-07-28 13:08 ` John David Anglin
@ 2002-07-28 21:35 ` John David Anglin
1 sibling, 0 replies; 13+ messages in thread
From: John David Anglin @ 2002-07-28 21:35 UTC (permalink / raw)
To: Richard Henderson; +Cc: gcc, joern.rennecke, lucier
> On Fri, Jul 26, 2002 at 01:42:06PM -0400, John David Anglin wrote:
> > The following patch appears to be the origin of the bootstrap failure
> > under hppa-linux:
> >
> > 2002-07-25 Richard Henderson <rth@redhat.com>
> >
> > * emit-rtl.c (set_mem_attributes): Fix size and alignment thinkos
> > in ARRAY_REF of DECL_P case.
>
> Please try
>
> http://gcc.gnu.org/ml/gcc-patches/2002-07/msg01625.html
Problem fixed.
Dave
--
J. David Anglin dave.anglin@nrc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6605)
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: mainline bootstrap failure in bitmap.c on sparcv9-sun-solaris2.8
2002-07-28 4:50 ` Richard Henderson
@ 2002-07-28 13:08 ` John David Anglin
2002-07-28 21:35 ` John David Anglin
1 sibling, 0 replies; 13+ messages in thread
From: John David Anglin @ 2002-07-28 13:08 UTC (permalink / raw)
To: Richard Henderson; +Cc: gcc, joern.rennecke, lucier
> > 2002-07-25 Richard Henderson <rth@redhat.com>
> >
> > * emit-rtl.c (set_mem_attributes): Fix size and alignment thinkos
> > in ARRAY_REF of DECL_P case.
>
> Please try
>
> http://gcc.gnu.org/ml/gcc-patches/2002-07/msg01625.html
Looks promising. Bootstrap is now into stage3.
Dave
--
J. David Anglin dave.anglin@nrc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6605)
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: mainline bootstrap failure in bitmap.c on sparcv9-sun-solaris2.8
2002-07-26 20:16 ` John David Anglin
2002-07-27 18:50 ` Richard Henderson
@ 2002-07-28 4:50 ` Richard Henderson
2002-07-28 13:08 ` John David Anglin
2002-07-28 21:35 ` John David Anglin
1 sibling, 2 replies; 13+ messages in thread
From: Richard Henderson @ 2002-07-28 4:50 UTC (permalink / raw)
To: John David Anglin; +Cc: gcc, joern.rennecke, lucier
On Fri, Jul 26, 2002 at 01:42:06PM -0400, John David Anglin wrote:
> The following patch appears to be the origin of the bootstrap failure
> under hppa-linux:
>
> 2002-07-25 Richard Henderson <rth@redhat.com>
>
> * emit-rtl.c (set_mem_attributes): Fix size and alignment thinkos
> in ARRAY_REF of DECL_P case.
Please try
http://gcc.gnu.org/ml/gcc-patches/2002-07/msg01625.html
r~
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: mainline bootstrap failure in bitmap.c on sparcv9-sun-solaris2.8
2002-07-26 10:42 ` Daniel Berlin
2002-07-26 12:39 ` Robert Schiele
@ 2002-07-28 4:11 ` Richard Henderson
1 sibling, 0 replies; 13+ messages in thread
From: Richard Henderson @ 2002-07-28 4:11 UTC (permalink / raw)
To: Daniel Berlin; +Cc: Brad Lucier, gcc
On Fri, Jul 26, 2002 at 12:21:19AM -0400, Daniel Berlin wrote:
> If this is correct, you really do need to fill out the table.
> Otherwise, your bug lies elsewhere.
Note that he _did_ say stage2 failure. Thus stage1 was
miscompiled somewhere.
r~
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: mainline bootstrap failure in bitmap.c on sparcv9-sun-solaris2.8
2002-07-26 20:16 ` John David Anglin
@ 2002-07-27 18:50 ` Richard Henderson
2002-07-28 4:50 ` Richard Henderson
1 sibling, 0 replies; 13+ messages in thread
From: Richard Henderson @ 2002-07-27 18:50 UTC (permalink / raw)
To: John David Anglin; +Cc: gcc, joern.rennecke, lucier
On Fri, Jul 26, 2002 at 01:42:06PM -0400, John David Anglin wrote:
> > A similar error occurs on hppa-linux near the end of stage2:
> > <http://gcc.gnu.org/ml/gcc/2002-07/msg01238.html>.
>
> The following patch appears to be the origin of the bootstrap failure
> under hppa-linux:
>
> 2002-07-25 Richard Henderson <rth@redhat.com>
>
> * emit-rtl.c (set_mem_attributes): Fix size and alignment thinkos
> in ARRAY_REF of DECL_P case.
Surprising, to say the least, since I can only imagine problems
_without_ that patch, as evidenced by the SH problems it fixed.
If this is a stage2 failure, can you help me out by finding what
bit of stage1 got miscompiled?
r~
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: mainline bootstrap failure in bitmap.c on sparcv9-sun-solaris2.8
[not found] <no.id>
@ 2002-07-26 20:16 ` John David Anglin
2002-07-27 18:50 ` Richard Henderson
2002-07-28 4:50 ` Richard Henderson
0 siblings, 2 replies; 13+ messages in thread
From: John David Anglin @ 2002-07-26 20:16 UTC (permalink / raw)
To: John David Anglin; +Cc: gcc, rth, joern.rennecke, lucier
> > stage2/xgcc -Bstage2/ -B/home/c/lucier/local/gcc-test/sparcv9-sun-solaris2.8/bin/ -c -DIN_GCC -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -I. -I../../gcc -I../../gcc/. -I../../gcc/config -I../../gcc/../include ../../gcc/bitmap.c -o bitmap.o
> > In file included from ../../gcc/system.h:171,
> > from ../../gcc/bitmap.c:22:
> > ../../gcc/hwint.h:39:9: warning: integer overflow in preprocessor expression
>
> A similar error occurs on hppa-linux near the end of stage2:
> <http://gcc.gnu.org/ml/gcc/2002-07/msg01238.html>.
The following patch appears to be the origin of the bootstrap failure
under hppa-linux:
2002-07-25 Richard Henderson <rth@redhat.com>
* emit-rtl.c (set_mem_attributes): Fix size and alignment thinkos
in ARRAY_REF of DECL_P case.
Dave
--
J. David Anglin dave.anglin@nrc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6605)
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: mainline bootstrap failure in bitmap.c on sparcv9-sun-solaris2.8
2002-07-26 16:09 Joern Rennecke
2002-07-26 16:17 ` Andreas Schwab
@ 2002-07-26 17:46 ` Neil Booth
1 sibling, 0 replies; 13+ messages in thread
From: Neil Booth @ 2002-07-26 17:46 UTC (permalink / raw)
To: Joern Rennecke; +Cc: Robert Schiele, Daniel Berlin, Brad Lucier, gcc
Joern Rennecke wrote:-
> >> You suddenly have a HOST_BITS_PER_WIDE_INT > 64?
> >> (Note, not equal to 64, it's a strict greater than test).
> >
> >No, it is 64 on that platform. This also happens on sparc-*-linux-gnu
> >where it is 32.
>
> Well, obviously something in or used by cpplib gets miscompiled.
The lines that appeared to be causing the issue used '==', which
is impossible to overflow. So I've got no idea what's going on
there.
Neil.
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: mainline bootstrap failure in bitmap.c on sparcv9-sun-solaris2.8
2002-07-26 16:09 Joern Rennecke
@ 2002-07-26 16:17 ` Andreas Schwab
2002-07-26 17:46 ` Neil Booth
1 sibling, 0 replies; 13+ messages in thread
From: Andreas Schwab @ 2002-07-26 16:17 UTC (permalink / raw)
To: Joern Rennecke; +Cc: Robert Schiele, Daniel Berlin, Brad Lucier, gcc
Joern Rennecke <joern.rennecke@superh.com> writes:
|> >> You suddenly have a HOST_BITS_PER_WIDE_INT > 64?
|> >> (Note, not equal to 64, it's a strict greater than test).
|> >
|> >No, it is 64 on that platform. This also happens on sparc-*-linux-gnu
|> >where it is 32.
|>
|> Well, obviously something in or used by cpplib gets miscompiled.
Just for the record, I get the same on ia64-suse-linux.
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: mainline bootstrap failure in bitmap.c on sparcv9-sun-solaris2.8
@ 2002-07-26 16:09 Joern Rennecke
2002-07-26 16:17 ` Andreas Schwab
2002-07-26 17:46 ` Neil Booth
0 siblings, 2 replies; 13+ messages in thread
From: Joern Rennecke @ 2002-07-26 16:09 UTC (permalink / raw)
To: Robert Schiele; +Cc: Daniel Berlin, Brad Lucier, gcc
>> You suddenly have a HOST_BITS_PER_WIDE_INT > 64?
>> (Note, not equal to 64, it's a strict greater than test).
>
>No, it is 64 on that platform. This also happens on sparc-*-linux-gnu
>where it is 32.
Well, obviously something in or used by cpplib gets miscompiled.
Do my two libcall related patches from yesterday make any difference
on this?
--
--------------------------
SuperH
2430 Aztec West / Almondsbury / BRISTOL / BS32 4AQ
T:+44 1454 462330
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: mainline bootstrap failure in bitmap.c on sparcv9-sun-solaris2.8
2002-07-26 10:42 ` Daniel Berlin
@ 2002-07-26 12:39 ` Robert Schiele
2002-07-28 4:11 ` Richard Henderson
1 sibling, 0 replies; 13+ messages in thread
From: Robert Schiele @ 2002-07-26 12:39 UTC (permalink / raw)
To: Daniel Berlin; +Cc: Brad Lucier, gcc
[-- Attachment #1: Type: text/plain, Size: 385 bytes --]
On Fri, Jul 26, 2002 at 12:21:19AM -0400, Daniel Berlin wrote:
> You suddenly have a HOST_BITS_PER_WIDE_INT > 64?
> (Note, not equal to 64, it's a strict greater than test).
No, it is 64 on that platform. This also happens on sparc-*-linux-gnu
where it is 32.
Robert
--
Robert Schiele Tel.: +49-621-181-2517
Dipl.-Wirtsch.informatiker mailto:rschiele@uni-mannheim.de
[-- Attachment #2: Type: application/pgp-signature, Size: 524 bytes --]
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: mainline bootstrap failure in bitmap.c on sparcv9-sun-solaris2.8
2002-07-26 9:12 Brad Lucier
@ 2002-07-26 10:42 ` Daniel Berlin
2002-07-26 12:39 ` Robert Schiele
2002-07-28 4:11 ` Richard Henderson
0 siblings, 2 replies; 13+ messages in thread
From: Daniel Berlin @ 2002-07-26 10:42 UTC (permalink / raw)
To: Brad Lucier; +Cc: gcc
You suddenly have a HOST_BITS_PER_WIDE_INT > 64?
(Note, not equal to 64, it's a strict greater than test).
If this is correct, you really do need to fill out the table.
Otherwise, your bug lies elsewhere.
On Thu, 25 Jul 2002, Brad Lucier wrote:
> After a generic configure, bootstrap fails with
>
> make[1]: Entering directory `/export/u3/lucier/programs/gcc/gcc-3.2/objdir-sparcv9/gcc'
> make CC="stage2/xgcc -Bstage2/ -B/home/c/lucier/local/gcc-test/sparcv9-sun-solaris2.8/bin/" \
> STAGE_PREFIX=stage2/ \
> ADAC="\$(CC)" CFLAGS="-g -O2" LDFLAGS="" WARN_CFLAGS="\$(GCC_WARN_CFLAGS)" STRICT_WARN="-Wtraditional -pedantic -Wno-long-long" libdir=/home/c/lucier/local/gcc-test/lib LANGUAGES="c gcov c++ f77 java objc" MAKEOVERRIDES= OUTPUT_OPTION="-o \$@"
> make[2]: Entering directory `/export/u3/lucier/programs/gcc/gcc-3.2/objdir-sparcv9/gcc'
> stage2/xgcc -Bstage2/ -B/home/c/lucier/local/gcc-test/sparcv9-sun-solaris2.8/bin/ -c -DIN_GCC -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -I. -I../../gcc -I../../gcc/. -I../../gcc/config -I../../gcc/../include ../../gcc/bitmap.c -o bitmap.o
> In file included from ../../gcc/system.h:171,
> from ../../gcc/bitmap.c:22:
> ../../gcc/hwint.h:39:9: warning: integer overflow in preprocessor expression
> In file included from ../../gcc/system.h:490,
> from ../../gcc/bitmap.c:22:
> ../../include/libiberty.h:288:5: warning: integer overflow in preprocessor expression
> In file included from ../../gcc/bitmap.c:22:
> ../../gcc/system.h:575:6: warning: integer overflow in preprocessor expression
> ../../gcc/bitmap.c:460:3: #error "Fill out the table."
> ../../gcc/bitmap.c:512:5: warning: integer overflow in preprocessor expression
> ../../gcc/bitmap.c:513:3: #error "Fill out the table."
> ../../gcc/bitmap.c:515:5: warning: integer overflow in preprocessor expression
> make[2]: *** [bitmap.o] Error 1
> make[2]: Leaving directory `/export/u3/lucier/programs/gcc/gcc-3.2/objdir-sparcv9/gcc'
> make[1]: *** [stage3_build] Error 2
> make[1]: Leaving directory `/export/u3/lucier/programs/gcc/gcc-3.2/objdir-sparcv9/gcc'
> make: *** [bootstrap] Error 2
>
>
>
^ permalink raw reply [flat|nested] 13+ messages in thread
* mainline bootstrap failure in bitmap.c on sparcv9-sun-solaris2.8
@ 2002-07-26 9:12 Brad Lucier
2002-07-26 10:42 ` Daniel Berlin
0 siblings, 1 reply; 13+ messages in thread
From: Brad Lucier @ 2002-07-26 9:12 UTC (permalink / raw)
To: gcc; +Cc: lucier
After a generic configure, bootstrap fails with
make[1]: Entering directory `/export/u3/lucier/programs/gcc/gcc-3.2/objdir-sparcv9/gcc'
make CC="stage2/xgcc -Bstage2/ -B/home/c/lucier/local/gcc-test/sparcv9-sun-solaris2.8/bin/" \
STAGE_PREFIX=stage2/ \
ADAC="\$(CC)" CFLAGS="-g -O2" LDFLAGS="" WARN_CFLAGS="\$(GCC_WARN_CFLAGS)" STRICT_WARN="-Wtraditional -pedantic -Wno-long-long" libdir=/home/c/lucier/local/gcc-test/lib LANGUAGES="c gcov c++ f77 java objc" MAKEOVERRIDES= OUTPUT_OPTION="-o \$@"
make[2]: Entering directory `/export/u3/lucier/programs/gcc/gcc-3.2/objdir-sparcv9/gcc'
stage2/xgcc -Bstage2/ -B/home/c/lucier/local/gcc-test/sparcv9-sun-solaris2.8/bin/ -c -DIN_GCC -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -I. -I../../gcc -I../../gcc/. -I../../gcc/config -I../../gcc/../include ../../gcc/bitmap.c -o bitmap.o
In file included from ../../gcc/system.h:171,
from ../../gcc/bitmap.c:22:
../../gcc/hwint.h:39:9: warning: integer overflow in preprocessor expression
In file included from ../../gcc/system.h:490,
from ../../gcc/bitmap.c:22:
../../include/libiberty.h:288:5: warning: integer overflow in preprocessor expression
In file included from ../../gcc/bitmap.c:22:
../../gcc/system.h:575:6: warning: integer overflow in preprocessor expression
../../gcc/bitmap.c:460:3: #error "Fill out the table."
../../gcc/bitmap.c:512:5: warning: integer overflow in preprocessor expression
../../gcc/bitmap.c:513:3: #error "Fill out the table."
../../gcc/bitmap.c:515:5: warning: integer overflow in preprocessor expression
make[2]: *** [bitmap.o] Error 1
make[2]: Leaving directory `/export/u3/lucier/programs/gcc/gcc-3.2/objdir-sparcv9/gcc'
make[1]: *** [stage3_build] Error 2
make[1]: Leaving directory `/export/u3/lucier/programs/gcc/gcc-3.2/objdir-sparcv9/gcc'
make: *** [bootstrap] Error 2
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2002-07-28 2:29 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-07-26 12:14 mainline bootstrap failure in bitmap.c on sparcv9-sun-solaris2.8 John David Anglin
[not found] <no.id>
2002-07-26 20:16 ` John David Anglin
2002-07-27 18:50 ` Richard Henderson
2002-07-28 4:50 ` Richard Henderson
2002-07-28 13:08 ` John David Anglin
2002-07-28 21:35 ` John David Anglin
-- strict thread matches above, loose matches on Subject: below --
2002-07-26 16:09 Joern Rennecke
2002-07-26 16:17 ` Andreas Schwab
2002-07-26 17:46 ` Neil Booth
2002-07-26 9:12 Brad Lucier
2002-07-26 10:42 ` Daniel Berlin
2002-07-26 12:39 ` Robert Schiele
2002-07-28 4:11 ` Richard Henderson
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).