This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Still problem bootstrapping 3.0
- To: jdennett at acm dot org (James Dennett)
- Subject: Re: Still problem bootstrapping 3.0
- From: Andrew Pinski <pinskia at physics dot uc dot edu>
- Date: Sun, 25 Feb 2001 19:58:09 -0500 (EST)
- Cc: carlo at alinoe dot com (Carlo Wood), gcc at gcc dot gnu dot org, kenner at vlsi1 dot ultra dot nyu dot edu
It seems to be in memset (bah, 0, sizeof(*bah)); that is blowing it up.
the work around I found is by using bzero, which caused it compile,
but I don't know what the true fix is.
I would say it is in the builtin function for memset, but I don't know.
Thanks,
Andrew Pinski
>
> Carlo Wood wrote:
> >
> > Hiya,
> >
> > I still have a problem with bootstrapping 3.0 (see PR c++/2088) on gnats.
>
> [snip]
>
> > This will result in the error:
> >
> > ./xgcc -B./ -B/usr/local/gcc-3.0/i686-pc-linux-gnu/bin/ -isystem /usr/local/gcc-3.0/i686-pc-linux-gnu/include -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include -fPIC -g1 -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -I. -I. -I/usr/src/gcc/gcc-cvs-3.0/gcc -I/usr/src/gcc/gcc-cvs-3.0/gcc/. -I/usr/src/gcc/gcc-cvs-3.0/gcc/config -I/usr/src/gcc/gcc-cvs-3.0/gcc/../include -fexceptions -DL_eh -c /usr/src/gcc/gcc-cvs-3.0/gcc/libgcc2.c -o libgcc/./_eh.o
> > /usr/src/gcc/gcc-cvs-3.0/gcc/libgcc2.c: In function `eh_context_static':
> > /usr/src/gcc/gcc-cvs-3.0/gcc/libgcc2.c:3335: Internal error: Segmentation fault
> > Please submit a full bug report, with preprocessed source if appropriate.
> > See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
> > make[3]: *** [libgcc/./_eh.o] Error 1
> > make[3]: Leaving directory `/usr/src/gcc/gcc-objdir-3.0/gcc'
> > make[2]: *** [libgcc.a] Error 2
> > make[2]: Leaving directory `/usr/src/gcc/gcc-objdir-3.0/gcc'
> > make[1]: *** [stage1_build] Error 2
> > make[1]: Leaving directory `/usr/src/gcc/gcc-objdir-3.0/gcc'
> > make: *** [bootstrap] Error 2
> > gcc_build: error: Could not bootstrap the compiler
> >
> > As this was a totally fresh check out, I really think this is a bug in the
> > compiler - perhaps one that only occurs with the flags that I use (ie, the
> > "-O9 -march=pentiumpro -fomit-frame-pointer" or something).
>
> I've been unable to build today, from my checkout on the 3.0 branch.
>
> ./xgcc -B./ -B/usr/local/i686-pc-linux-gnu/bin/ -isystem
> /usr/local/i686-pc-linux-gnu/include -O2 -DIN_GCC -W -Wall
> -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem
> ./include -fPIC -g1 -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -I. -I. -I.
> -I./. -I./config -I./../include -fexceptions -DL_eh -c ./libgcc2.c -o
> libgcc/./_eh.o
> ./libgcc2.c: In function `eh_context_static':
> ./libgcc2.c:3335: Internal error: Segmentation fault
> Please submit a full bug report, with preprocessed source if
> appropriate.
> See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
>
> I've updated twice (last time was about an hour ago) with distcleans in
> between and no joy. I'm not doing anything with the code, just helping
> to clean up the bugs database, and I can mostly carry on doing that with
> my last successful build (not too many days old), so this isn't a major
> problem for me.
>
> -- James Dennett <jdennett@acm.org>
>
>