Subject: compat_solaris
To: None <port-sparc64@netbsd.org>
From: Michael <macallan18@earthlink.net>
List: port-sparc64
Date: 02/05/2005 13:37:35
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

I tried to run Opera for Solaris on NetBSD/sparc64 but all I got was 
'unrecognized binary format' or something similar. I enabled all the 
COMPAT_SVR4_32 stuff in the kernel, copied the necessary libs and so on 
from a Solaris 9 installation and other Solaris binaries just work ( 
tried things like xterm and so on ). objdump and file both agree that 
the opera binary is an ordinary, dynamically linked ELF32_SPARC binary, 
just like most things coming with Solaris.
So I guess there's some voodoo going on in the kernel to pick the right 
emulation which for some reason fails with opera - any idea where to 
look? I read the stuff in sys/compat/svr4_32/svr4_exec* without seeing 
anything obvious.

have fun
Michael
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)

iQEVAwUBQgUSb8pnzkX8Yg2nAQLlCggAicmb/CmfllhEY4SW+d+OgsXeXafC3oWO
M7Z1p+XVw9CCETIY48Pt2iCxQjr3YCz1rdnj9ifuyJHKEQGCtib1Tt9e6UJg33Mv
L4jPYbyeIX5K95M7gVFNfz39mmsLDQicjOmeCGUW6DfCj6I/BBC3UOSRCIFvWn+S
fr92mcIId6XWPqc1nhkcd175xIjgk0Wz2NtF4lOBc3ecqSula6IJZQhdJaCapT/9
XfOU2pR1JBkLWTJ2dahbQ3+10tUrUb5LVjBQL3kTnWBqLh0UuTKoKJs9DqjZL+u1
9clMtE+/6qhUAr5F4bYxiWC0sbgb7idKLFunGPKFWamtVCdC+U1KHQ==
=hM+o
-----END PGP SIGNATURE-----