public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* recent snapshot fail to compile on BSD/OS
@ 1998-04-13  3:22 Shigeya Suzuki
  1998-04-13  3:22 ` Shigeya Suzuki
  1998-04-13  9:38 ` Krister Walfridsson
  0 siblings, 2 replies; 5+ messages in thread
From: Shigeya Suzuki @ 1998-04-13  3:22 UTC (permalink / raw)
  To: egcs

I've been trying this recently, but everytime I built from CVS
snapshot (I tried several times, including ss-980406) no luck.

I've got coredump on stage1, and stage2. Anything I can help?

shigeya

------------------------------

./xgcc -B./  -DIN_GCC    -g -I./include   enquire.o -o enquire
./enquire -f > tmp-float.h
Segmentation fault - core dumped

------------------------------

stage1/xgcc -Bstage1/  -DIN_GCC    -W -Wall -O2 -g -O2  -DHAVE_CONFIG_H   -o gen
genrtl \
 gengenrtl.o ` case "obstack.o" in ?*) echo obstack.o ;; esac ` ` case "" in ?*)
 echo  ;; esac ` ` case "" in ?*) echo  ;; esac ` 
./gengenrtl tmp-genrtl.h tmp-genrtl.c
gmake[2]: *** [s-genrtl] Segmentation fault (core dumped)
gmake[2]: Leaving directory `/usr/home/shigeya/work/egcs/snap1/gcc'
gmake[1]: *** [bootstrap] Error 2
gmake[1]: Leaving directory `/usr/home/shigeya/work/egcs/snap1/gcc'
gmake: *** [bootstrap] Error 2

------------------------------

stack traces:

enquire:

(gdb) bt
#0  0x14b1 in main (argc=2, argv=0xefbfcc58)
    at ../../cvs-snap/egcs/gcc/enquire.c:680
(gdb) l 680
675     /* Add more calls as necessary */
676     
677             Unexpected(1);
678     
679             bad=0;
680             for (i=1; i < argc; i++) {
681                     s= argv[i];
682                     if (*s == '-') {
683                             s++;
684                             while (*s) {

argc = 2,  argv[2] = 0x00, looks no problem.


gengenrtl:

pooh 68% gdb gengenrtl gengenrtl.core 
Core was generated by `gengenrtl'.
Program terminated with signal 11, Segmentation fault.
#0  0x1cab in find_formats () at ../../cvs-snap/egcs/gcc/gengenrtl.c:126
126             if (!strcmp(*f, defs[i].format))
Breakpoint 1 at 0x9ebf
(gdb) bt
#0  0x1cab in find_formats () at ../../cvs-snap/egcs/gcc/gengenrtl.c:126
#1  0x2525 in main (argc=3, argv=0xefbfcbd4)
    at ../../cvs-snap/egcs/gcc/gengenrtl.c:290
(gdb) l
121     
122           if (special_format (defs[i].format))
123             continue;
124     
125           for (f = formats; *f ; ++f)
126             if (!strcmp(*f, defs[i].format))
127               break;
128     
129           if (!*f)
130             *f = defs[i].format;
(gdb) p f
$1 = (char **) 0xc814
(gdb) p *f
$2 = 0x0
(gdb) p defs[i].format
$3 = 0x190c "ue"

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~1998-04-14 13:21 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-04-13  3:22 recent snapshot fail to compile on BSD/OS Shigeya Suzuki
1998-04-13  3:22 ` Shigeya Suzuki
1998-04-13  9:38 ` Krister Walfridsson
1998-04-14  3:48   ` Shigeya Suzuki
1998-04-14 13:21   ` Jeffrey A Law

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).