Date: Thu, 13 Apr 2000 20:03:09 +0200 From: Wilko Bulte <wkb@chello.nl> To: Cy Schubert - ITSD Open Systems Group <Cy.Schubert@uumail.gov.bc.ca> Cc: Peter Jeremy <peter.jeremy@alcatel.com.au>, Randall Hopper <aa8vb@ipass.net>, stable@FreeBSD.ORG Subject: Re: float-to-double core dump on 3.4R Message-ID: <20000413200309.D592@yedi.wbnet> In-Reply-To: <200004130727.e3D7RWh02100@cwsys.cwsent.com>; from Cy.Schubert@uumail.gov.bc.ca on Thu, Apr 13, 2000 at 12:26:59AM -0700 References: <00Apr13.133526est.115284@border.alcanet.com.au> <200004130727.e3D7RWh02100@cwsys.cwsent.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Apr 13, 2000 at 12:26:59AM -0700, Cy Schubert - ITSD Open Systems Group wrote:
Sean's patch (Thanks!!) also fixes the Linux acroread4 coredumps.
Has this patch been sendpr-ed for inclusion in 3.4-stable?
I don't pretend to understand the intricasies of FP but it sure
works a lot better with this patch!
Wilko
> In message <00Apr13.133526est.115284@border.alcanet.com.au>, Peter
> Jeremy write
> s:
> > On 2000-Apr-09 10:02:46 +1000, Randall Hopper <aa8vb@ipass.net> wrote:
> > > #include <float.h>
> > >
> > > main()
> > > {
> > > float f = FLT_MAX;
> > > double d;
> > > f = f * 2;
> > > d = f;
> > > }
> > >
> > >Delete the "d=f" line and it doesn't core. Put it in and it does
> > >(floating-point exception).
> >
> > Exactly what version of -stable are you running? If you built your
> > own kernel, what version is /sys/i386/include/npx.h?
> >
> > The FP handling changed just before 4.0-RELEASE.
>
> 3.4 with npx.h from the 4.0 tree doesn't core dump. It's obviously the
> fix to this problem and the Acroread4 floating point core. Thanks to
> "Sean O'Connell" <sean@stat.Duke.EDU> for sending me the fix.
>
> Here's the fix, from 4.0, that Sean sent me.
>
> --- npx.h.releng_3 Wed Apr 12 16:28:38 2000
> +++ npx.h Wed Apr 12 16:33:36 2000
> @@ -85,54 +85,24 @@
[snip]
--
Wilko Bulte Powered by FreeBSD http://www.freebsd.org
http://www.tcja.nl
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000413200309.D592>
