From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16199 invoked by alias); 14 Oct 2002 17:04:25 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 16189 invoked from network); 14 Oct 2002 17:04:23 -0000 Received: from unknown (HELO ns2.uk.superh.com) (193.128.105.170) by sources.redhat.com with SMTP; 14 Oct 2002 17:04:23 -0000 Received: from sh-uk-ex01.uk.w2k.superh.com (sh-uk-ex01 [192.168.16.17]) by ns2.uk.superh.com (8.11.6+Sun/8.11.6) with ESMTP id g9EGqqB05337; Mon, 14 Oct 2002 17:52:53 +0100 (BST) Received: from superh.com ([192.168.17.40]) by sh-uk-ex01.uk.w2k.superh.com with Microsoft SMTPSVC(5.0.2195.5329); Mon, 14 Oct 2002 18:03:32 +0100 Message-ID: <3DAAF8EF.1D2B8B70@superh.com> Date: Mon, 14 Oct 2002 10:34:00 -0000 From: Joern Rennecke Organization: SuperH UK Ltd. X-Accept-Language: en MIME-Version: 1.0 To: Jim Ingham CC: Aldy Hernandez , Andreas Tobler , GCC Subject: Subject: Kernel bugs that trip expect (Was: Re: 2 new regression on darwin6.1) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 14 Oct 2002 17:03:32.0834 (UTC) FILETIME=[A06FCC20:01C273A3] X-SW-Source: 2002-10/txt/msg00716.txt.bz2 > 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