Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-developers-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin-developers AT sources DOT redhat DOT com Message-ID: <02ea01c15b5f$7e673bc0$0200a8c0@lifelesswks> From: "Robert Collins" To: References: <3BD4635D DOT 1060208 AT ece DOT gatech DOT edu> <20011022142729 DOT A10309 AT redhat DOT com> <20011022192430 DOT 3581 DOT qmail AT lizard DOT curl DOT com> <20011022193036 DOT 3609 DOT qmail AT lizard DOT curl DOT com> <20011022203136 DOT 5144 DOT qmail AT lizard DOT curl DOT com> <20011022203747 DOT 5162 DOT qmail AT lizard DOT curl DOT com> <02a201c15b5b$7910a4d0$0200a8c0 AT lifelesswks> <20011022204740 DOT B18754 AT redhat DOT com> <20011023005236 DOT 7136 DOT qmail AT lizard DOT curl DOT com> <20011022205828 DOT C18754 AT redhat DOT com> Subject: Re: 1.3.4 status? Date: Tue, 23 Oct 2001 11:10:23 +1000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-OriginalArrivalTime: 23 Oct 2001 01:15:05.0396 (UTC) FILETIME=[25E6DF40:01C15B60] ----- Original Message ----- From: "Christopher Faylor" To: Sent: Tuesday, October 23, 2001 10:58 AM Subject: Re: 1.3.4 status? > On Mon, Oct 22, 2001 at 08:52:36PM -0400, Jonathan Kamens wrote: > >> Date: Mon, 22 Oct 2001 20:47:40 -0400 > >> From: Christopher Faylor > >> > >> It's not a malloc issue. gcc's -O3 optimization is screwing up regparm > >> parameter passing, specifically in fhandler_console::read which seems to > >> need to call alloca for some reason, although I can't say exactly why. > > > >Now here's someone with slightly more knowledge of x86 assembler code > >than I have :-). > > > >Seriously, I assume this means that I should (a) stop trying to track > >down this bug since you've figured it out, and (b) stop trying to > >compile Cygwin with -O3. > > I'd say tentatively yes to the former and definitely yes to the latter. > If you can figure out how to rearrange the code in fhandler_console::read > to avoid the problem, though, that would be useful. Can you mail me the disas for the fhandler_read (with the source line tags) ? I don't have time today to build a new dll, but I can have a quick squint... Also, what about 2.95.4 ? Rob