HJ's patch to libio works on Red Hat 4.2/libc 5.3.12

H.J. Lu hjl@lucon.org
Mon Oct 13 08:01:00 GMT 1997


> 
> 
> > > I seem to have an additional problem however. The attched stripped
> > > down code core dumps on a i386-linux-gnulibc1 box with libc 5.3.12 
> > > (RH 4.2). I've also attched the backtrace from gdb.
> 
> HJ:
> > I think somehow your libstdc++ is miscompiled.
> 
> I get the exact same failure.  Just in case there was a compilation
> problem, I blew away and recompiled the libraries.  The crash is still
> there.
> 

The example works fine on my machine. From the gdb back strace, it
looks like there is some mismatch since the code should not even
be reached.

If someone can send the complete gdb step through of
istream& istream::operator>>(double& x), I will take 
another look.


-- 
H.J. Lu (hjl@gnu.ai.mit.edu)



More information about the Gcc mailing list