*BSD News Article 9551


Return to BSD News archive

Received: by minnie.vk1xwt.ampr.org with NNTP
	id AA5966 ; Sat, 02 Jan 93 07:02:02 EST
Newsgroups: comp.unix.bsd
Path: sserve!manuel.anu.edu.au!munnari.oz.au!uunet!UB.com!quack!dfox
From: dfox@quack.sac.ca.us (David Fox)
Subject: Re: [386BSD] fp exception after 387 installation - help !
Message-ID: <fXxxiui@quack.sac.ca.us>
Keywords: 386BSD floating point 387
Organization: The Duck Pond public unix: +1 408 249 9630, log in as 'guest'.
References: <1610@hcshh.hcs.de> <1611@hcshh.hcs.de>
Date: 5 Jan 1993 02:33:35 UTC
Lines: 45

In article <1611@hcshh.hcs.de> hm@hcshh.hcs.de (Hellmuth Michaelis) writes:
>In <1610@hcshh.hcs.de> hm@hcshh.hcs.de (Hellmuth Michaelis) writes:
>
>[about installing an 387 and getting floating point exceptions after that]
>
>Thanks to everyone who replied to that article !
>
>But the problem stays ! There is (and was) a "double" declaration of getpcpu()
>in ps.c - it solved the problem of the ps-coredump on the virgin 0.1, ps ran
>fine after installing the patchkit until i installed the 387 ....
>
>anyone else who had such a problem ?

I did, with the ps.

>are all other 387's running fine after it's installation ?

I think this particular problem would affect all 387s, not just Cyrix (the
one I bought).

>ps: made new libm.c, libutil.c, libc.c, kvm_mkdb, dev_mkdb etc. etc ...

I also made a new libutil.c.  I haven't made kvm_mkdb or dev_mkdb and I'm
not sure if I need to.  I don't have the sources to those online right now
anyway.

With respect to libm.a:  you and others with NDPs would do well to get the
GNU mathlib 2.1.  It's 387-specific, and among other things, issues FSIN
and FCOS (among others) instructions directly, instead of emulating them
with 387 primitives.

I've also removed the math emulator from the kernel (don't EVER do this
unless you have an NDP), which cuts the size down a bit.

I'm trying to get gcc 2.3.3 now, so I will defer remaking the other lib
stuff for now.  I expect the new gcc to solve problems like these.

>-- 
>hellmuth michaelis    HCS Hanseatischer Computerservice GmbH   hamburg, europe
>hm@hcshh.hcs.de              tel: +49/40/55903-170         fax: +49/40/5591486
--
David Fox
dfox@quack.sac.ca.us