This is the mail archive of the gcc-bugs@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]

Segfault in ./fini ... still there.


I saw someone else reported this problem a few days ago ( I would tell
you who if someone would get the search working on the egcs-bugs archive
), so I thought I would not mention it. However, it is now several days
later, and the problem is still there, so I thought I would bring it up
again. On bootstrap the stage1 builds fine, but then you get the following
in the second round:

stage1/xgcc -Bstage1/ -B/usr/i486-pc-linux-gnu/bin/ -c -DUSE_HCONFIG
-DIN_GCC    -W -Wall -g1 -O2 -D_GNU_SOURCE -pipe -O2  -DHAVE_CONFIG_H
-DHAIFA  -I. -I.. -I/usr/src1/CVS/EGCS/egcs/gcc/f
-I/usr/src1/CVS/EGCS/egcs/gcc/f/..
-I/usr/src1/CVS/EGCS/egcs/gcc/f/../config \
      `echo /usr/src1/CVS/EGCS/egcs/gcc/f/proj.c | sed 's,^\./,,'` -o
proj-h.o
stage1/xgcc -Bstage1/ -B/usr/i486-pc-linux-gnu/bin/ -DIN_GCC    -W -Wall
-g1 -O2 -D_GNU_SOURCE -pipe -O2  -DHAVE_CONFIG_H -DHAIFA  -o fini fini.o
proj-h.o
./fini `echo /usr/src1/CVS/EGCS/egcs/gcc/f/str-1t.fin | sed 's,^\./,,'`
str-1t.j str-1t.h
make[3]: *** [str-1t.h] Segmentation fault
make[3]: *** Deleting file `str-1t.h'
make[3]: Leaving directory `/usr/src/BUILD/egcs/gcc/f'
make[2]: *** [f771] Error 2
make[2]: Leaving directory `/usr/src/BUILD/egcs/gcc'
make[1]: *** [bootstrap-lean] Error 2
make[1]: Leaving directory `/usr/src/BUILD/egcs/gcc'
make: *** [bootstrap-lean] Error 2

If you rebuild fini using:

gcc  -c -DIN_GCC    -W -Wall -g1
-O2 -D_GNU_SOURCE -pipe -O2  -DHAVE_CONFIG_H -DHAIFA  -I. -I..
-I/usr/src1/CVS/EGCS/egcs/gcc/f -I/usr/src1/CVS/EGCS/egcs/gcc/f/..
-I/usr/src1/CVS/EGCS/egcs/gcc/f/../config \
      `echo /usr/src1/CVS/EGCS/egcs/gcc/f/fini.c | sed 's,^\./,,'` -o
fini.o

gcc  -c -DUSE_HCONFIG
-DIN_GCC    -W -Wall -g1 -O2 -D_GNU_SOURCE -pipe -O2  -DHAVE_CONFIG_H
-DHAIFA  -I. -I.. -I/usr/src1/CVS/EGCS/egcs/gcc/f
-I/usr/src1/CVS/EGCS/egcs/gcc/f/..
-I/usr/src1/CVS/EGCS/egcs/gcc/f/../config \
      `echo /usr/src1/CVS/EGCS/egcs/gcc/f/proj.c | sed 's,^\./,,'` -o
proj-h.o

gcc  -DIN_GCC    -W -Wall
-g1 -O2 -D_GNU_SOURCE -pipe -O2  -DHAVE_CONFIG_H -DHAIFA  -o fini fini.o

Then : ./fini `echo /usr/src1/CVS/EGCS/egcs/gcc/f/str-1t.fin | sed
's,^\./,,'` str-1t.j str-1t.h works !

This has been problem has existed since at least Nov 3 through present (
in the cvs version of egcs ). 

gcc version egcs-2.92.18 19981106 (gcc2ss-980609 experimental)


Richard Ketchersid, 816 Evans  _/_/   _/_/
UC Berkeley, Logic Group      _/_/_/  _/ _/         
Office Hours: W/F 10-11      _/    _/ _/_/    



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