This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Fix problem with constant modulus


> Richard, I get a similar bootstrap failure (same location) when I pass 
> i586-redhat-linux-gnu to the configure script:
> 
> stage2/xgcc -Bstage2/ -B/home/eric/gnat/local/i586-redhat-linux-gnu/bin/ -c 
> -g -O2      -gnatpg -gnata -I- -I. -Iada -I../../gcc/ada 
> ../../gcc/ada/ada.ads -o ada/ada.o
> +===========================GNAT BUG DETECTED==============================+
> | 3.5.0 20040421 (experimental) (i586-redhat-linux-gnu) Storage_Error stack 
> overflow (or erroneous memory access)|

I've debugged this enough to know that I'm also seeing a "Storage_Error"
exception.  This pretty difficult to debug as there's no backtrace
available and gdb-6.0 doesn't support ada very well.  The only way that
I have without some special guidance is to "manually" step into the
program until I find the problem.  Possibly, i586 support is better.

Dave
-- 
J. David Anglin                                  dave.anglin@nrc-cnrc.gc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6602)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]