Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Apr 2000 18:55:15 +0200
From:      Martin Cracauer <cracauer@cons.org>
To:        Marcel Moolenaar <marcel@cup.hp.com>
Cc:        Andre Albsmeier <andre.albsmeier@mchp.siemens.de>, Martin Cracauer <cracauer@cons.org>, FreeBSD emulation <freebsd-emulation@FreeBSD.ORG>
Subject:   Re: linux_base 6.1 may work now
Message-ID:  <20000404185514.A26672@cons.org>
In-Reply-To: <38EA1BB7.7B7EEE47@cup.hp.com>; from marcel@cup.hp.com on Tue, Apr 04, 2000 at 09:43:35AM -0700
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <cracauer@cons.org> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000404185514.A26672>