Date: Thu, 13 Apr 2000 11:36:38 -0700 From: Cy Schubert <cschuber@uumail.gov.bc.ca> To: wc.bulte@chello.nl Cc: Cy Schubert - ITSD Open Systems Group <Cy.Schubert@uumail.gov.bc.ca>, 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: <200004131837.LAA02544@passer.osg.gov.bc.ca> In-Reply-To: Your message of "Thu, 13 Apr 2000 20:03:09 %2B0200." <20000413200309.D592@yedi.wbnet>
next in thread | previous in thread | raw e-mail | index | archive | help
Sean and I have been corresponding about it. It appears he wants to PR
this to have it MFC'd into 3.4-stable.
Regards, Phone: (250)387-8437
Cy Schubert Fax: (250)387-5766
Team Leader, Sun/DEC Team Internet: Cy.Schubert@osg.gov.bc.ca
Open Systems Group, ITSD, ISTA
Province of BC
In message <20000413200309.D592@yedi.wbnet>, Wilko Bulte writes:
> On Thu, Apr 13, 2000 at 12:26:59AM -0700, Cy Schubert - ITSD Open Systems Gro
> up 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?200004131837.LAA02544>
