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]

Egcs Bug? Internal compiler error


Hi,	
	Im trying to build libstdc++-2.90.6 with egcs1.1.2 on linux 2.2.12 (x86)
the part of the make it fails on is 

rm -f .libs/misc-inst.lo
c++ -DHAVE_CONFIG_H -I. -I. -I.. -nostdinc++ -I.. -I../stl -I../libio -g -D_GNU_
SOURCE -fno-implicit-templates -fimplicit-templates -c  -fPIC -DPIC misc-inst.cc
 -o .libs/misc-inst.lo
../bits/std_ostream.h: In function `class basic_ostream<char,char_traits<char> > & operator <<<char_traits<char>>(class
basic_ostream<char,char_traits<char> > &, const char *)':
misc-inst.cc:102:   instantiated from here
../bits/std_ostream.h:465: Internal compiler error.
../bits/std_ostream.h:465: Please submit a full bug report to `egcs-bugs@egcs.cygnus.com'.
../bits/std_ostream.h:465: See <URL:http://egcs.cygnus.com/faq.html#bugreport> for details. 

the line it fails on nd the one above and below it are this.. ( from std_stream.h)

    operator<<(basic_ostream<char, _Traits>& __out, const char* __s)
    {
      typedef basic_ostream<char, _Traits> __ostream_type;
      __ostream_type::sentry __cerb(__out);		<---------- LINE 465 
      if (__cerb)
        {
          try {
            __out.write(__s, _Traits::length(__s));
          }                                                                                              

             

heres my system details

[Soma :libstdc++-2.90.6]# g++ -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/specs
gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)                                             

[Soma :src]# uname -a
Linux Soma.localdomain 2.2.12 #9 Sat Sep 11 23:23:06 IST 1999 i686 unknown

I'm attaching the result of the command line with -v --save-temps added and gzipped
Do I need a newer compiler? (Ive heard 2.95 isnt as stable as egcs1.1.2. yet) or do i need 
an older libstdc++?

	yours,
		Colin Fowler

misc-inst.ii.gz


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