This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: HJ's patch to libio works on Red Hat 4.2/libc 5.3.12
- To: jbuck at synopsys dot com (Joe Buck)
- Subject: Re: HJ's patch to libio works on Red Hat 4.2/libc 5.3.12
- From: hjl at lucon dot org (H.J. Lu)
- Date: Mon, 13 Oct 1997 08:00:52 -0700 (PDT)
- Cc: khan at xraylith dot wisc dot edu, egcs at cygnus dot com
>
>
> > > 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)