*BSD News Article 12436


Return to BSD News archive

Path: sserve!manuel.anu.edu.au!munnari.oz.au!spool.mu.edu!wupost!emory!ogicse!usenet.ee.pdx.edu!acacia!rgrimes
From: rgrimes@acacia (Rodney W. Grimes)
Newsgroups: comp.os.386bsd.bugs
Subject: Re: Problems with new patches espec. patch00089
Message-ID: <1nht9p$b6i@walt.ee.pdx.edu>
Date: 9 Mar 93 10:59:05 GMT
Article-I.D.: walt.1nht9p$b6i
References: <1993Mar8.210510.26746@ugle.unit.no>
Organization: Portland State University
Lines: 37
NNTP-Posting-Host: acacia.cs.pdx.edu

Havard.Eidnes@runit.sintef.no writes:
: In article <C3Kquz.Bxv@cosy.sbg.ac.at> peter@cosy.sbg.ac.at writes:
: >Hi folks!
: >I just installed the new patches 84-110.
: >I ran into several problems.
: >1. config did core dump because of the "#" in several files like
: >	file.i386, devices ...
: >I deleted all comments and config worked again.
: 
: Recompile config before building the kernel.  One of the patches modify
: a file in the config program to accept comments in these files (it's said
: to make automatic patching with the patchkit of these files easier/possible).
: 
: >2. Either I did miss something or there is a bug in patch00089.
: >	I tried to recompile libc (atof.c was changed by this patch)
: >	and got the following output:
: >/usr/src/lib/libc/i386/stdlib/atof.c: In function strtod:
: >/usr/src/lib/libc/i386/stdlib/atof.c:156: warning: assignment of non-const * pointer
: >from const *
: >cc: Program cc1 got fatal signal 6.
: >*** Error code 1
: 
: You have probably (like I did at first) used the prerelease of the patchset
: for patches 84-110.  Patch 86 in the new patchset fixes this.  The problem
: is that the correction of HUGE_VAL in /usr/include/math.h got left out.
: Just copy the value of DBL_MAX from float.h, or apply the attached patch.
: You are probably better off fetching the official unofficial (?) patchset,
: though, and backing out of the prerelease for patches 84-110 and reapply
: them from the official version.

Wrong, you forgot to install the patched include sources.  You should
cd /usr/src/include; make install;
to propogate the patch to /usr/src/include/math.h to /usr/include/math.h
this also fixes some empty directories in /usr/include (such as vm)

--
rgrimes@agora.rain.com