Subject: Re: svr4 emulation (LONG)
To: Harald Barth <haba@pdc.kth.se>
From: Eduardo E. Horvath <eeh@one-o.com>
List: port-sparc
Date: 05/06/1997 08:52:59
On Tue, 6 May 1997, Harald Barth wrote:

> > /emul/svr4/ is populated with just about every shared library known
> > to man.
> 
> We may need some libs not known to man :-) In your ktrace, you are looking
> for these libs:
> 
> >  21750 ldd      NAMI  "/emul/svr4/usr/platform/W8601/8701 or MB86903 @ 40 MHz, on-chip FPU/lib/libc_psr.so.1"
> >  21750 ldd      NAMI  "/usr/platform/W8601/8701 or MB86903 @ 40 MHz, on-chip FPU/lib/libc_psr.so.1"
> 
> I found such a lib om an ultra in /usr/platform/sun4u/lib/libc_psr.so.1
> I have no idea what it is used for nor why it seems to be required. You
> might try to make this file:

That's the processor specific library.  I think it only exists for
the sun4u architecture.  It has some architecture specific routines like
and optimised VIS bcopy().  I don't think it is necessary to run because
other architectures don't have it.

> 
> "/emul/svr4/usr/platform/W8601/8701 or MB86903 @ 40 MHz, on-chip FPU/lib/libc_psr.so.1"
> 

It looks to me as if sysinfo(2) is returning a rather peculiar string for
the SI_PLATFORM option.  Maybe it should return whatever the OBP thinks
the system is, at least for SVR4 emulation.

=========================================================================
Eduardo Horvath				eeh@btr.com
"Cliffs are for climbing.  That's why God invented grappling hooks."
					- Benton Frasier