From owner-freebsd-stable Thu Apr 13 11:37:50 2000 Delivered-To: freebsd-stable@freebsd.org Received: from point.osg.gov.bc.ca (point.osg.gov.bc.ca [142.32.102.44]) by hub.freebsd.org (Postfix) with ESMTP id 130E437B692 for ; Thu, 13 Apr 2000 11:37:41 -0700 (PDT) (envelope-from Cy.Schubert@uumail.gov.bc.ca) Received: (from daemon@localhost) by point.osg.gov.bc.ca (8.8.7/8.8.8) id LAA16776; Thu, 13 Apr 2000 11:37:39 -0700 Received: from passer.osg.gov.bc.ca(142.32.110.29) via SMTP by point.osg.gov.bc.ca, id smtpda16774; Thu Apr 13 11:37:34 2000 Received: (from uucp@localhost) by passer.osg.gov.bc.ca (8.9.3/8.9.1) id LAA02544; Thu, 13 Apr 2000 11:37:34 -0700 (PDT) Message-Id: <200004131837.LAA02544@passer.osg.gov.bc.ca> Received: from localhost.osg.gov.bc.ca(127.0.0.1), claiming to be "passer.osg.gov.bc.ca" via SMTP by localhost.osg.gov.bc.ca, id smtpdJs2540; Thu Apr 13 11:36:38 2000 X-Mailer: exmh version 2.1.1 10/15/1999 Reply-To: Cy Schubert - ITSD Open Systems Group X-OS: FreeBSD 3.4-RELEASE X-Sender: cschuber To: wc.bulte@chello.nl Cc: Cy Schubert - ITSD Open Systems Group , Peter Jeremy , Randall Hopper , stable@FreeBSD.ORG Subject: Re: float-to-double core dump on 3.4R In-reply-to: Your message of "Thu, 13 Apr 2000 20:03:09 +0200." <20000413200309.D592@yedi.wbnet> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 13 Apr 2000 11:36:38 -0700 From: Cy Schubert Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 wrote: > > > > #include > > > > > > > > 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" 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