A libio compatibility patch
H . J . Lu
hjl@lucon.org
Tue Aug 29 11:17:00 GMT 2000
On Tue, Aug 29, 2000 at 11:10:16AM -0700, Ulrich Drepper wrote:
> "H . J . Lu" <hjl@valinux.com> writes:
>
> > If you run "make check" in gcc from CVS on sourceware configured for
> > libstdc++, not libstdc++-v3, under glibc 2.2, you will get many C++
> > failures. That is because the libio header files in libstdc++ are still
> > the old ones. But the libio compatibility code in glibc 2.2 has some
> > bugs. This patch seems to work for me. But I am not sure if it is
> > 100% correct.
>
> The question here is how can the mode not be set correctly when
> reaching these places. This is what has to be fixed. Which of the
> tests is failing? I cannot run the entire test suite myself since I
Almost all tests in libio/tests in gcc are failed. Even a simple
program like:
#include <iostream>
main ()
{
cout << "hello world\n";
}
doesn't work with libstdc++ and glibc 2.2.
H.J.
More information about the Libc-hacker
mailing list