This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Subject: Kernel bugs that trip expect (Was: Re: 2 new regression on darwin6.1)
- From: "H. J. Lu" <hjl at lucon dot org>
- To: Joern Rennecke <joern dot rennecke at superh dot com>
- Cc: Jim Ingham <jingham at apple dot com>,Aldy Hernandez <aldyh at redhat dot com>, Andreas Tobler <toa at pop dot agri dot ch>,GCC <gcc at gcc dot gnu dot org>
- Date: Mon, 14 Oct 2002 10:25:45 -0700
- Subject: Re: Subject: Kernel bugs that trip expect (Was: Re: 2 new regression on darwin6.1)
- References: <3DAAF8EF.1D2B8B70@superh.com>
On Mon, Oct 14, 2002 at 06:03:43PM +0100, Joern Rennecke wrote:
> > There were some kernel bugs that were causing expect to hang waiting for a program that exited. One bug caused wait to sometimes not return when the program died, this one was fixed in Jaguar. Another caused loss of output from a program that had died (when the program was killed the output buffers were not being flushed or something). This one can be worked around by judicious sleep's before exit (I think the folks here hacked around it this way in gcc - Stan or somebody would know more). It is also fixed, but not in a released kernel.
>
> I see the very same problems in Linux. It's so bad with cross compiles that
> every regression test has to be checked by hand.
> I wonder if this might be bugs that have been copied from a common
> (BSD? conceptual?) ancestor. Could you send me the patches, so I can look if
> I find some equivalent code in the Linux kernel sources?
>
I never saw it under Linux. But please make sure you have an expect
with my patch applied. I believe expect in RedHat 8.0 is ok.
H.J.