Subject: Re: Debugging Solaris binaries
To: None <port-sparc64@NetBSD.ORG>
From: Greg Earle <earle@isolar.DynDNS.ORG>
List: port-sparc64
Date: 02/16/2001 08:34:06
>> 	   How does one debug compat_svr4 binaries that don't fire up?
> 
> compat_svr4 only works on 32-bit kernels for 32-bit binaries.
> 
> compat_svr4_32 only works on 64-bit kernels for 32-bit binaries.
> 
> There is no support yet for 64-bit SVR4 binaries.

OK, I have a 64-bit kernel, and want to run 32-bit Solaris binaries.

I've never heard of "compat_svr4_32" before.  I have all the usual (32-bit)
suspects loaded into "/emul/svr4/usr/lib", "/emul/svr4/dev", "/emul/svr4/etc"
and friends.

How do I create a "compat_svr4_32" environment versus a "compat_svr4" one?

BTW, this is what happens when I try to run the Solaris "acroread":

Feb 15 20:32:41 netbsd4me /netbsd: Unknown memory model 3
Feb 15 20:32:41 netbsd4me /netbsd: Alignment error: dsfsr=00000000:00800005 \
dsfar=ffffffff:ffffc7f1 isfsr=00000000:00000000 pc=0x10007290
Feb 15 20:32:41 netbsd4me /netbsd: pid 29066 (acroread), uid 0: exited on \
signal 10 (core dumped)

Is it going to be basically hopeless trying to run Solaris 7(ish)
32-bit binaries under (a more or less vanilla-ish) NetBSD 1.5?

	- Greg