This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: SunOS4 bootstrap failure building libstdc++, egcs-CVS19981129
- To: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- Subject: Re: SunOS4 bootstrap failure building libstdc++, egcs-CVS19981129
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Sun, 27 Dec 1998 22:21:52 -0700
- cc: egcs-bugs at cygnus dot com, davem at cobaltmicro dot com, jason at cygnus dot com
- Reply-To: law at cygnus dot com
In message <199811301644.LAA25182@caip.rutgers.edu>you write:
> Snapshot: egcs-CVS19981129
> Platform: sparc-sun-sunos4.1.4
> Stage1 compiler: cc
> Assembler: native
> Linker: native
> BOOT_CFLAGS: -g -O2 -D__USE_FIXED_PROTOTYPES__ -pipe
>
> I get the following failure building egcs, (after the three
> stage bootstrap when it compiles libstdc++):
>
> > /a/caip/a47/u47/ghazi/gcc-testing/sunos-test/egcs-CVS19981129/gcc/xgcc
> > -B/a/caip/a47/u47/ghazi/gcc-testing/sunos-test/egcs-CVS19981129/gcc/
> > -B/usr/local/sparc-sun-sunos4.1.4/bin/ -c -g -O2
> > -fno-implicit-templates -I. -I./stl -I../libio -I./../libio
> > -nostdinc++ -DC `for N in REP MAIN TRAITS ADDSS ADDPS ADDCS
> > ADDSP ADDSC EQSS EQPS EQSP NESS NEPS NESP LTSS LTPS LTSP GTSS GTPS
> > GTSP LESS LEPS LESP GESS GEPS GESP; do echo " -D${N}"; done`
> > ./sinst.cc -o cstrmain.o
> >
> > std/bastring.h: In instantiation of
> > `basic_string<char,string_char_traits<char>,__default_alloc_template<f
> alse,0> >::npos':
> > ./sinst.cc:55: instantiated from here
> > std/bastring.h:110: Internal compiler error.
> > std/bastring.h:110: Please submit a full bug report to `egcs-bugs@cygnus
> .com'.
> > std/bastring.h:110: See
> > <URL:http://egcs.cygnus.com/faq.html#bugreport> for details.
>
>
> Here is the backtrace from gdb. Variable `insn' has the value 0x3.
> Note, this only happens on SunOS4, not Solaris2.5.
>
> If there is any other info I can provide, (e.g. the preprocessed
> source, 96K) please let me know.
This should be fixed now.
jeff