From owner-freebsd-emulation Tue Apr 4 9:59:34 2000 Delivered-To: freebsd-emulation@freebsd.org Received: from knight.cons.org (knight.cons.org [194.233.237.86]) by hub.freebsd.org (Postfix) with ESMTP id BD9E537BA3F for ; Tue, 4 Apr 2000 09:59:31 -0700 (PDT) (envelope-from cracauer@knight.cons.org) Received: (from cracauer@localhost) by knight.cons.org (8.9.3/8.9.3) id SAA26984; Tue, 4 Apr 2000 18:55:15 +0200 (CEST) Date: Tue, 4 Apr 2000 18:55:15 +0200 From: Martin Cracauer To: Marcel Moolenaar Cc: Andre Albsmeier , Martin Cracauer , FreeBSD emulation Subject: Re: linux_base 6.1 may work now Message-ID: <20000404185514.A26672@cons.org> References: <14538.64168.213977.432746@grasshopper.cs.duke.edu> <20000311235754.A5556@stat.Duke.EDU> <20000312154020.A486@internal> <20000313083137.A25830@cons.org> <20000402145454.A64658@internal> <20000403081745.A4136@cons.org> <38E8C73D.154FCA23@cup.hp <20000403183903.A20419@internal> <38EA1BB7.7B7EEE47@cup.hp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <38EA1BB7.7B7EEE47@cup.hp.com>; from marcel@cup.hp.com on Tue, Apr 04, 2000 at 09:43:35AM -0700 Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In <38EA1BB7.7B7EEE47@cup.hp.com>, Marcel Moolenaar wrote: > Andre Albsmeier wrote: > > Well, I think, Martin thought of a response to the following statement > > he made on Mon, 13 Mar 2000 and not to my mail asking to commit > > the npx.h changes to -STABLE :-) > > > > ---------------- Part of cracauer@cons.org's email -------------------- > > > > Emulators should set the default FPU control word to what the native > > kernel would, they should not inherit this value from the one that > > FreeBSD assigns to its native processes. > > If FreeBSD sets the control word correctly for a given emulator, then I > can understand that it isn't reset by the emulator. Changing FreeBSD's > behaviour should be accompanied by a change in the emulators that are > negetively impacted by it :-) Exactly :-) The problem here is that I know that the glibc and the Linux kernels folks had some argument over the FPU cw word initialization and I am sure that they don't simply let the kernel choose. They even discussed a special system call to ask the kernel for the default before setting it (and thereby turning the application into a FPU user - maybe unneded). I don't know what the end result was. Anyway, we can be sure that differen Linux binaries/libc assume different ways, so "somebody" must do some research here... Martin -- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Martin Cracauer http://www.cons.org/cracauer/ Tel.: (private) +4940 5221829 Fax.: (private) +4940 5228536 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message