bad_alloc exceptions on Linux (Was: Re: install)

Stefan Meixner (none) stefan@emskopp.a.shuttle.de
Thu Apr 23 23:23:00 GMT 1998


> > 
> >         Happen to me too, I use the latest egcs in CVS tree to compile
> >     glibc 2.0.7 everything is ok except I can't use telnet (maybe more than
> >     this but I still don't know it).
> > 
> >         And I can't compile many program with an optimization... -O0 is work.
> >     for example. bison-1.25, perl-5.004_64, XFree86-6.3...
> > 
> 
> I compiled my linux kernel 2.1.97 with egcs 980418 by accident. The
> SCSI driver and/or fs code are miscompiled. I got all kinds of error.
> It took me 5 minutes to realise what happened. I went back to egcs
> 1.0.3. The new kernel worked fine.
> 
> H.J.
> 

I am not using egcs-19980418, but egcs-2.91.22 980404. I tested egcs-19980418
and even the testsuite had a couple of errors. But egcs-2.91.22 980404 seems
to work rather well for me. I am running a linux 2.1.97 kernel compiled with
egcs-2.91.22 980404 here. 
And I need the C++ enhancements in the development branch for my project. So 
I like to stress that usings a development compiler, if you carefully choose
the right snapshot, is not a bad thing.

Regards.

Stefan




More information about the Gcc mailing list