delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
From: | "Dave Korn" <dave DOT korn AT artimi DOT com> |
To: | <cygwin AT cygwin DOT com> |
Subject: | RE: loading of wsock32 disturbs FPU |
Date: | Wed, 2 Mar 2005 17:25:23 -0000 |
MIME-Version: | 1.0 |
In-Reply-To: | <20050302163239.GA21977@trixie.casa.cgf.cx> |
Message-ID: | <SERRANOY1SWoBDyseVw0000004f@SERRANO.CAM.ARTIMI.COM> |
X-OriginalArrivalTime: | 02 Mar 2005 17:25:24.0338 (UTC) FILETIME=[D189ED20:01C51F4C] |
----Original Message---- >From: Christopher Faylor >Sent: 02 March 2005 16:33 > On Wed, Mar 02, 2005 at 03:37:42PM +0100, Corinna Vinschen wrote: >> On Mar 2 15:31, Corinna Vinschen wrote: >>> On Mar 2 13:33, Dave Korn wrote: >>>> Hm. We probably need to put a finit instruction into the autoload code >>>> somewhere. wsock_init () looks like just the place...... now if I >>>> just persuade the CVS code to build without a SIG11 (grmbl grmbl....) >>> >>> Hmm? -v please. >> >> I just added an finit call to wsock_init and it seems to work fine. >> >> Are there any non-FPU CPUs >= i386 out there which would choke on this >> machine instruction? I guess not, but I'm not exactly fluent in ix86 >> history... > > I mentioned to Corinna on irc that I don't think that just calling finit > is the right way to handle this. What if someone had already set the > precision as they liked? Then loading winsock would reset it. .... as indeed is what already happens anyway.... But yeh, I guess saving-and-restoring fpu mode is the _really_ correct fix. That's a bit awkward because we don't have a convenient pre-LoadLibrary init entrypoint in the autoload stuff, assuming I have understood the code correctly. cheers, DaveK -- Can't think of a witty .sigline today.... -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |