Subject: Re: 32bit SunOS binaries on sparc64
To: matthew green <mrg@eterna.com.au>
From: Grant Beattie <grant@grunta.com>
List: port-sparc64
Date: 09/17/2001 13:33:42
matt (and others),

On Mon, Sep 17, 2001 at 12:14:32PM +1000, matthew green wrote:

>    tinkerbell# ./netscape 
>    ./netscape: Exec format error. Wrong Architecture.
> 
> what do ktrace/kdump say?  that looks like you're missing EXEC_ELF32
> or /emul/svr4/usr/lib/ld.so or something..

got that sorted out, /emul was missing some libs including ld.so
(though I'm not sure why, given it came direct from a NetBSD/sparc box
that I'd run SunOS5 binaries on in the past)

tinkerbell# /usr/local/netscape-4.08/netscape
res_init: socket: Protocol not supported
Error: Can't open display: grunta:0.0
tinkerbell# /usr/local/netscape-4.75/netscape
res_init: socket: Protocol not supported
Error: Can't open display: grunta:0.0

and from the kernel:

Alignment error: dsfsr=00000000:00800005 dsfar=0:fffffff7 isfsr=00000000:00000000 pc=1000a668
Alignment error: pid=10005 comm=netscape dsfsr=00000000:00800005 dsfar=0:fffffff7 isfsr=00000000:00000000 pc=1000a668

I haven't yet attempted the SunOS4 version (and was hoping I wouldn't
have to) :-)

g.