I have a program I build on a Redhat5/glibc2.0/g++-2.7.2
combination. This program is written in c++. It worked fine
On RH6.0 it is completely broken. The fread() in the
compatibility library looks hosed.
If I do ltrace and strace I see
1) Old binary calls fread().
2) fread() is entered in, I believe, the libg++
3) The stupid library calls the write() system call!!
You are welcome to the binary that causes this. It is a BBC
To reproduce I would try a simple program that uses c++ and
calls fread(), build it on RH5/glibc2.0/g++-2.7.2, and see
if the binary works on RH6.0.
Sadly I have no access to such a machine. If anyone reads
this and has such a machine, and wants to help, mail me.
This issue has been forwarded to a developer for further action.
is this true with the latest glibc from rawhide (2.1.2-1 or later)
assign to jakub