This is the mail archive of the egcs@egcs.cygnus.com mailing list for the EGCS project. See the EGCS home page for more information.


[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index] [Subject Index] [Author Index] [Thread Index]

Re: A Linux/libc 5 patch for egcs 1.1.2




>   > Note that Red Hat 4.2 has libc 5.3.12 plus many Red Hat patches,
>   > not libc 5.4.x.  Is it possible that the bug HJ is referring to
>   > only shows up on libc 5.4.x systems?
> Yes.  libc 5.3.xx doesn't have IO_putc in libc.a and thus does not trigger
> the problem.

I guess I shouldn't be surprised, as we worked hard to make egcs-1.0
work right on Red Hat 4.2 (since it was the most common Linux at that
time).

> I've got RH4.2 up on my scratch disk and I just installed a libc5.4.xx
> distribution, so I can cover testing.
> 
> 
> Given the testcase referenced by my earlier message:
> 
> #include <iostream.h>
> #include <streambuf.h>
> 
> istream x;
> extern "C" int putc(), fgets();
> 
> main () {
>   x.get();
>   putc();
>   fgets(); 
>   x.gets(0, 0);
> }
> 
> I've been able to reproduce the problem:

Could you add this as a testcase for the libio testsuite?