This is the mail archive of the
mailing list for the GCC project.
Re: Subject: Kernel bugs that trip expect (Was: Re: 2 new regression on darwin6.1)
- From: Jim Ingham <jingham at apple dot com>
- To: "H. J. Lu" <hjl at lucon dot org>
- Cc: Joern Rennecke <joern dot rennecke at superh 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:33:23 -0700
- Subject: Re: Subject: Kernel bugs that trip expect (Was: Re: 2 new regression on darwin6.1)
If you have expect patches have you submitted them back to the expect
maintainers? This is now hosted at SourceForge.
This won't help gcc & gdb, because they use a weird hacked version of
expect - the current expect won't run the testsuite correctly. But if
you have found some Linux bug, you should submit a patch to the
SourceForge patch tracker...
On Monday, October 14, 2002, at 10:25 AM, H. J. Lu wrote:
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
I see the very same problems in Linux. It's so bad with cross
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
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.
Jim Ingham email@example.com