Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Apr 2000 08:17:46 +0200
From:      Martin Cracauer <cracauer@cons.org>
To:        Andre Albsmeier <andre.albsmeier@mchp.siemens.de>
Cc:        Martin Cracauer <cracauer@cons.org>, "Sean O'Connell" <sean@stat.Duke.EDU>, Andrew Gallatin <gallatin@cs.duke.edu>, FreeBSD emulation <freebsd-emulation@FreeBSD.ORG>, marcel@FreeBSD.ORG
Subject:   Re: linux_base 6.1 may work now
Message-ID:  <20000403081745.A4136@cons.org>
In-Reply-To: <20000402145454.A64658@internal>; from andre.albsmeier@mchp.siemens.de on Sun, Apr 02, 2000 at 02:54:54PM %2B0200
References:  <14538.64168.213977.432746@grasshopper.cs.duke.edu> <20000311235754.A5556@stat.Duke.EDU> <20000312154020.A486@internal> <20000313083137.A25830@cons.org> <20000402145454.A64658@internal>

next in thread | previous in thread | raw e-mail | index | archive | help
In <20000402145454.A64658@internal>, Andre Albsmeier wrote: 
> On Mon, 13-Mar-2000 at 08:31:38 +0100, Martin Cracauer wrote:
> > > > > There was a commit yesterday which may have fixed the linux problem.
> > > > > I don't have an x86 handy to play with -- can you see if it makes
> > > > > splus et al run with linux_base 6.1?
> > 
> > [my commit]
> > > > >   Change the default FPU control word so that exceptions for new
> > > > >   processes are now masked until set by fpsetmask(3).
> > > > > 
> > > Confirmed for -STABLE with acroread 4.05!
> > 
> > Folks,
> > 
> > I am surprised that this affected the Linux emulator.
> > 
> > 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.
> > 
> > Although FreeBSD-4.0 now defaults to what Linux and Solaris expect,
> > this should be fixed in the Linux and Solaris emulators. Because the
> > FreeBSD control word may still be set to the old value by users and/or
> > a dynamic scheme for FreeBSD processes may be implemented.
> > 
> > Is a person who feels responsible for the svr4 emulator on the CC: list
> > of this message?
> 
> I would like to raise this subject again. Would it be any problem
> to commit the changes to sys/i386/include/npx.h to 3-STABLE as well?
> I have tried there and it makes acroread 4.05 work...

I'm surprised the emulator maintainers didn't respond to this...

I don't plan to change the default FPU control word in the 3.x branch,
because it is a too surprising behaviour change for a -STABLE and 3.x
is dead anyway (the latter implies that I am just killing my last 3.x
machine I could test this on).  I don't think the other
FPU-interestedt people think different.

The matter is also a bit more complicated for the Linux emulator since
different versions of libc/kernel combinations do different FPU cw
initialization.

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?20000403081745.A4136>