This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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


hjl@lucon.org (H.J. Lu) writes:
> 
> 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.
> 

Think I know what the problem is now. The following files are not 
installed by default now in $prefix/include/g++:
    
    libio.h
    libioP.h
    iostreamP.h
    iostdio.h
    iolibio.h
    floatio.h

I had these files leftover from Sept 24 snapshot, and weren't overwritten
during subsequent snapshot installs. Once I installed these by hand from
current egcs/libio, my simple testcase worked as expected. The reason
that the libio testsuite worked is because it uses -nostdinc++ and then
explicitly includes the libio source in the include path, hence not
looking at the bad copy in the installation tree.

Regards,
Mumit


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]