This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Mainline failed to bootstrap on Linux/x86
- From: Laurent Guerby <guerby at acm dot org>
- To: "H. J. Lu" <hjl at lucon dot org>
- Cc: "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>,Richard Kenner <kenner at vlsi1 dot ultra dot nyu dot edu>
- Date: 30 Apr 2003 20:04:06 +0200
- Subject: Re: Mainline failed to bootstrap on Linux/x86
- Organization:
- References: <20030430102050.A6465@lucon.org>
On Wed, 2003-04-30 at 19:20, H. J. Lu wrote:
> Mainline failed to bootstrap on Linux/x86 since 04-29. I got
>
> stage1/xgcc -Bstage1/ -B/usr/gcc-3.4/i686-pc-linux-gnu/bin/ -c -g -O2
> -gnatpg -gnata -I- -I. -Iada -I/net/gnu/export/gnu/src/gcc/gcc/gcc/ada
> /net/gnu/export/gnu/src/gcc/gcc/gcc/ada/comperr.adb -o ada/comperr.o
> +===========================GNAT BUG DETECTED==============================+
> | 3.4 20030430 (experimental) (i686-pc-linux-gnu) GCC error: |
> | in tree_low_cst, at tree.c:3274 |
> | Error detected at /net/gnu/export/gnu/src/gcc/gcc/gcc/ada/types.ads:183:59|
I confirm this (I had big patches in my tree when I first
got it that's why I didn't report it).
The type causing the blowup is Big_Source_Buffer:
type Text_Ptr is new Int;
-- Type used for subscripts in text buffer
type Text_Buffer is array (Text_Ptr range <>) of Character;
-- Text buffer used to hold source file or library information file
subtype Big_Source_Buffer is Text_Buffer (0 .. Text_Ptr'Last);
-- This is a virtual type used as the designated type of the access
-- type Source_Buffer_Ptr, see Osint.Read_Source_File for details.
which is something like char[INT_MAX+1] which looks
not obvious to handle, can't say which patch or combining of patches
cause the problem yet.
--
Laurent Guerby <guerby@acm.org>