From owner-freebsd-stable Thu Apr 13 11: 3:16 2000 Delivered-To: freebsd-stable@freebsd.org Received: from relay01.chello.nl (smtp.chello.nl [212.83.68.144]) by hub.freebsd.org (Postfix) with ESMTP id CBF2937BB04 for ; Thu, 13 Apr 2000 11:03:12 -0700 (PDT) (envelope-from wkb@chello.nl) Received: from chello.nl ([213.46.78.184]) by relay01.chello.nl (InterMail vK.4.02.00.00 201-232-116 license 99c8f334c649856e3f2cdadc4054e412) with ESMTP id <20000413180311.FFTM11608.relay01@chello.nl>; Thu, 13 Apr 2000 20:03:11 +0200 Received: (from wkb@localhost) by chello.nl (8.9.3/8.9.3) id UAA00810; Thu, 13 Apr 2000 20:03:09 +0200 (CEST) (envelope-from wkb) Date: Thu, 13 Apr 2000 20:03:09 +0200 From: Wilko Bulte To: Cy Schubert - ITSD Open Systems Group Cc: Peter Jeremy , Randall Hopper , stable@FreeBSD.ORG Subject: Re: float-to-double core dump on 3.4R Message-ID: <20000413200309.D592@yedi.wbnet> Reply-To: wc.bulte@chello.nl References: <00Apr13.133526est.115284@border.alcanet.com.au> <200004130727.e3D7RWh02100@cwsys.cwsent.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i 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 X-OS: FreeBSD 3.4-STABLE X-PGP: finger wilko@freebsd.org Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 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