Subject: re: 32bit SunOS binaries on sparc64
To: Grant Beattie <grant@grunta.com>
From: matthew green <mrg@eterna.com.au>
List: port-sparc64
Date: 09/17/2001 14:31:35
> 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)
compat_svr4 looks in /emul/svr4 and compat_svr4_32 looks in /emul/svr4_32
even though they can be identical (and one can be a symlink to the other).
perhaps you were missing one?
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
"what does ktrace/kdump say?"
I haven't yet attempted the SunOS4 version (and was hoping I wouldn't
have to) :-)
abs tells us that the sunos4 version works!
.mrg.