Subject: Re: perl?
To: Jonathan Stone <jonathan@dsg.stanford.edu>
From: Simon Burge <simonb@telstra.com.au>
List: port-pmax
Date: 08/15/1997 10:33:03
On Thu, 14 Aug 1997 14:34:34 -0700  Jonathan Stone wrote:

> 
> Here it is. Totally uuntested:
> 
> /*	$NetBSD: modf.S,v 1.7 1996/09/17 01:32:26 jonathan Exp $	*/
>
> [ code deleted ]

This doesn't work either - I put the new modf.S in, did a "make all install"
in libc, and re-run ldconfig (necessary?).  I copied Sean's test program
to zz.c, and got the following:

	vlad:~ 29> cc -static -o zz zz.c
	vlad:~ 30> ./zz
	num1 / num2 = 1.494481
	num0 = 1.000000
	vlad:~ 31> cc -o zz zz.c
	vlad:~ 32> ./zz
	num1 / num2 = 1.494481
	Segmentation fault (core dumped)
	vlad:~ 33> cc -g -o zz zz.c /usr/src/lib/libc/obj.pmax/modf.o 
	vlad:~ 34> ./zz
	num1 / num2 = 1.494481
	num0 = 1.000000
	vlad:~ 35> cc -g -o zz zz.c /usr/src/lib/libc/obj.pmax/modf.so 
	vlad:~ 36> ./zz
	num1 / num2 = 1.494481
	num0 = 1.000000
	vlad:~ 37> cc -g -o zz zz.c /usr/src/lib/libc/obj.pmax/modf.po
	vlad:~ 38> ./zz
	num1 / num2 = 1.494481
	Segmentation fault (core dumped)
	vlad:~ 39> 

That's the results - I haven't really analysed them to see what it
means.  I'll have my morning coffee now, and if anything pops into my
mind after my brain wakes up I forward it along...

Simon.