Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Apr 2000 08:38:05 +0200
From:      Andre Albsmeier <andre.albsmeier@mchp.siemens.de>
To:        Martin Cracauer <cracauer@cons.org>
Cc:        Andre Albsmeier <andre.albsmeier@mchp.siemens.de>, FreeBSD emulation <freebsd-emulation@FreeBSD.ORG>, marcel@FreeBSD.ORG
Subject:   Re: linux_base 6.1 may work now
Message-ID:  <20000403083805.A16476@internal>
In-Reply-To: <20000403081745.A4136@cons.org>; from cracauer@cons.org on Mon, Apr 03, 2000 at 08:17:46AM %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> <20000403081745.A4136@cons.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 03-Apr-2000 at 08:17:46 +0200, Martin Cracauer wrote:
> 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...

So do I :-)

> 
> 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.

I see.

Thanks anyway,

	-Andre


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?20000403083805.A16476>