*BSD News Article 11835


Return to BSD News archive

Received: by minnie.vk1xwt.ampr.org with NNTP
	id AA2339 ; Mon, 01 Mar 93 10:54:44 EST
Xref: sserve comp.os.386bsd.bugs:37 comp.unix.bsd:11552
Newsgroups: comp.os.386bsd.bugs,comp.unix.bsd
Path: sserve!manuel.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!agate!spool.mu.edu!sdd.hp.com!portal!mykes
From: mykes@shell.portal.com (mike myke schwartz)
Subject: Re: Patch to fix signal 6 aborts (HUGE values are too huge)
Message-ID: <C33s1p.8At@unix.portal.com>
Followup-To: comp.os.386bsd.bugs,comp.unix.bsd
Sender: news@unix.portal.com
Nntp-Posting-Host: jobe
Organization: Portal Communications Company
X-Newsreader: TIN [version 1.1 PL8]
References: <C2Mutx.LKq@sugar.neosoft.com>
Date: Sat, 27 Feb 1993 10:34:27 GMT
Lines: 38

Karl Lehenbauer (karl@NeoSoft.com) wrote:
: This is an unofficial patch.  It is *not* part of the official 
: unofficial patchkit maintained by Jordan Hubbard (jkh@whisker.lotus.ie)
: and previously by Nate Williams.

: If you apply this patch you need your own backout plan.  Further you can
: expect with reasonable certainty that this patch or one like it will come
: out through the official unofficial patchkit.

: If you need it now and can't wait, though, use it.  As always, we are not
: responsible for whatever this patch does or fails to do to your system.

[ the following patch edited for brevity ]

: *** /usr/include/machine/float.h.pre-neosoft	Thu Feb 18 00:02:39 1993
: --- /usr/include/machine/float.h	Thu Feb 11 00:05:31 1993
: ***************
: *** 53,59 ****
: ! #define DBL_MAX		1.797693134862316E+308
: --- 53,59 ----
: ! #define DBL_MAX		1.797693134862315E+308
: -- 

I applied the FULL patchkit and built my kernel.  I checked the
/usr/include/machine/float.h and it DOES have the ...2315E+308
value.  However, I consistently get the dreaded trap 6 error
when trying to compile anything with 
#include <math.h>
#include <float.h>

in it.  Specifically, the reduce.c file from Xli (xloadimage) causes
cc, gcc1.37 (the one with the distribution), and gcc2.3.3 ALL just
crap out with the trap 6 error.

YES, I did change my config file to have options "i486" in it.
The only thing I haven't tried is backing out patch00060.

Any idea what else the problem can be? :)