*BSD News Article 9670


Return to BSD News archive

Received: by minnie.vk1xwt.ampr.org with NNTP
	id AA6266 ; Thu, 07 Jan 93 14:05:05 EST
Newsgroups: comp.unix.bsd
Path: sserve!manuel.anu.edu.au!munnari.oz.au!network.ucsd.edu!usc!cs.utexas.edu!zaphod.mps.ohio-state.edu!caen!destroyer!cs.ubc.ca!uw-beaver!fluke!gtisqr!rick
From: rick@mav.com (Hendrik Groeneveld)
Subject: [386bsd] gcc 2.3.2/2.3.3 compile solution
Message-ID: <1993Jan08.184051.5674@mav.com>
Organization: Maverick International Inc.
References: <dhess.724812183@Xenon.Stanford.EDU> <BLYMN.92Dec27161320@siren.awadi.com.au> <RICH.92Dec27171213@superego.Rice.edu>
Date: Fri, 08 Jan 93 18:40:51 GMT
Lines: 40

In article <RICH.92Dec27171213@superego.Rice.edu> Rich@rice.edu writes:
>>>>>> In article <BLYMN.92Dec27161320@siren.awadi.com.au>, blymn@awadi.com.au (Brett Lymn) writes:
>>>>>> On 20 Dec 92 00:43:03 GMT, dhess@Xenon.Stanford.EDU (Drew William Hess) said:
>D> I'm having problems getting gcc 2.3.2 to compile under 386bsd.  It's choking
>D> on enquire.c, line 2303, and complaining about a floating point constant
>D> being out of range.  Can someone please post or email me a fix?  Thanks.

The problem is not a floating constant out of range. The problem
is a floating point stack overflow. To get passed this, manually
compile fold-const.c using -S in place of -c. Edit fold-const.s
and replace "fsts" with "fstps" in _real_value_truncate. Then
assemble (as -o fold-const.o fold-const.s). 

There is also a circular dependancy for protoize.o/unprotoize.o in the
Makefile. Add the lines

	touch protoize.o
	touch unprotoize.o

after the line

	touch stamp-proto

After this "make bootstrap" will run to completion.


>Brett> I would not worry about it too much, if you have a look at the
>Brett> comments in the .h file enquire generates you will see that the errors
>Brett> that it has detected are rather infesteminal (ie the order of 1e-308)
>Brett> so I suspect the rounding is wrong rather than anything else more
>Brett> serious.

enquire won't generate a .h file if you can't compile it

--
Hendrik Groeneveld					rick@mav.com
Software Engineer					(206) 743-6659
Maverick International
Mukilteo Washington.