This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Subject: Kernel bugs that trip expect (Was: Re: 2 new regression on darwin6.1)
- From: Joern Rennecke <joern dot rennecke at superh dot com>
- To: Jim Ingham <jingham at apple dot com>
- Cc: 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 18:03:43 +0100
- Subject: Subject: Kernel bugs that trip expect (Was: Re: 2 new regression on darwin6.1)
- Organization: SuperH UK Ltd.
> 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?
--
--------------------------
SuperH (UK) Ltd.
2410 Aztec West / Almondsbury / BRISTOL / BS32 4QX
T:+44 1454 465658