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]

Re: Still problem bootstrapping 3.0


On Sun, Feb 25, 2001 at 07:49:07PM -0500, Richard Kenner wrote:
> It's fine now.  Apparnetly a checkin I meant to make never made it into 
> the branch.  SOrry abotu that.

Ok, I got that new commit of you.  But, it still cores
in the same place :/

Updating CVS tree
P gcc/config/i386/i386.md
Adjusting file timestamps
...

/usr/src/gcc>rm -rf gcc-objdir-3.0/*
/usr/src/gcc>diff -rc gcc-cvs-3.0.old/gcc/config/i386/i386.md gcc-cvs-3.0/gcc/config/i386/i386.md
*** gcc-cvs-3.0.old/gcc/config/i386/i386.md     Sun Feb 25 18:16:54 2001
--- gcc-cvs-3.0/gcc/config/i386/i386.md Mon Feb 26 02:37:33 2001
***************
*** 10769,10775 ****
           library version, since it is usually equally fast and result in
         shorter code.  */
        if (!TARGET_INLINE_ALL_STRINGOPS && align < 4)
!       FAIL;

        if (TARGET_SINGLE_STRINGOP)
        emit_insn (gen_cld());
--- 10769,10778 ----
           library version, since it is usually equally fast and result in
         shorter code.  */
        if (!TARGET_INLINE_ALL_STRINGOPS && align < 4)
!       {
!         end_sequence ();
!         FAIL;
!       }

        if (TARGET_SINGLE_STRINGOP)
        emit_insn (gen_cld());

/usr/src/gcc>gcc_build-3.0 update
Updating CVS tree
Adjusting file timestamps
/usr/src/gcc>gcc_build-3.0 configure
Configuring for a i686-pc-linux-gnu host.
...

/usr/src/gcc>gcc_build-3.0 bootstrap
...
./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


I also tried it without flags (just the default flags), with the
same result.  Hence it is not the result of using -O9 or whatever
that I do special.

I also tried replacing memset with bzero and indeed then it passes
that line to core in another place, also a memset(start, 0, sizeof).
I replaced three memsets with bzero until it cored in a place where
there is no memset - then I gave up.

-- 
Carlo Wood <carlo@alinoe.com>


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