This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Internal compiler error at second stage for gcc 2.95 for Ultrix
- To: Victor Danilchenko <danilche at cs dot umass dot edu>
- Subject: Re: Internal compiler error at second stage for gcc 2.95 for Ultrix
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Thu, 02 Sep 1999 18:18:16 -0600
- cc: gcc-bugs at gcc dot gnu dot org
- Reply-To: law at cygnus dot com
In message <Pine.OSF.4.02A.9908100933260.18442-202000@gorgon.cs.umass.edu>you
write:
> This message is in MIME format. The first part should be readable text,
> while the remaining parts are likely unreadable without MIME-aware tools.
> Send mail to mime@docserver.cac.washington.edu for more info.
>
> --------------6551D985B5AEABE3F6E2D5AD
> Content-Type: TEXT/PLAIN; CHARSET=US-ASCII
> Content-ID: <Pine.OSF.4.02A.9908100921052.18442@gorgon.cs.umass.edu>
>
> This error occurred while I was trying to build gcc 2.95 for Ultrix:
>
> /rcf/src/build/gcc/ultrix/gcc/xgcc -B/rcf/src/build/gcc/ultrix/gcc/ \
> -B/exp/rcf/share/mips-dec-ultrix4.4/bin/ -c -I. \
> -I../../../_source_/gcc-2.95/libchill -O \
> ../../../_source_/gcc-2.95/libchill/chillstdio.c
>
> ../../../_source_/gcc-2.95/libchill/chillstdio.c: In function `_GLOBAL_$I$_
> _xmalloc_':
> ../../../_source_/gcc-2.95/libchill/chillstdio.c:219: Internal compiler
> error in `calculate_needs', at reload1.c:1617
> Please submit a full bug report.
> See <URL:http://egcs.cygnus.com/faq.html#bugreport> for instructions.
> make[2]: *** [chillstdio.o] Error 1
> make[2]: Leaving directory
> `/rcf/src/build/gcc/ultrix/mips-dec-ultrix4.4/libchill'
> make[1]: *** [all-target-libchill] Error 2
> make[1]: Leaving directory `/rcf/src/build/gcc/ultrix'
> make: *** [bootstrap] Error 2
>
> # uname -a
> ULTRIX #####.cs.umass.edu 4.4 0 RISC
>
> # /rcf/src/build/gcc/ultrix/gcc/xgcc -v
> Using builtin specs.
> gcc version 2.95 19990728 (release)
>
> The command line used by the makefile (without '-v --save-temps') was:
>
> /rcf/src/build/gcc/ultrix/gcc/xgcc -v --save-temps \
> -B/rcf/src/build/gcc/ultrix/gcc/ \
> -B/exp/rcf/share/mips-dec-ultrix4.4/bin/ \
> -c -I. -I../../../_source_/gcc-2.95/libchill -O \
> ../../../_source_/gcc-2.95/libchill/chillstdio.c
>
> Attached is the output of the command (both standard and error), the
> resulting chillstdio.i file, and also -- just in case -- a gzipped log
> of the entire 'make bootstrap' command (it contains the error that's
> the cause of this bug report)
>
> Let me know if there is any more info I can provide -- and thanks.
I just tried this with a 2.95.1 cross compiler targeting mips-dec-ultrix4.4 and
could not reproduce the failure.
Probably the best thing for you to do is
1. Make sure you can reproduce the bug with gcc-2.95.1
<objdir>/gcc/cc1 -O chillstdio.i
2. Assuming it fails #1, then my guess would be that gcc has mis-compiled
itself. To test that theory, compile chillstdio.i with the stage1
compiler.
<objdir>/gcc/stage1/cc1 -O chillstdio.i
What direction we go next will depend on the outcome of those two tests.
jeff