Subject: Re: compat_solaris
To: None <port-sparc64@NetBSD.ORG>
From: Greg Earle <earle@isolar.DynDNS.ORG>
List: port-sparc64
Date: 02/05/2005 10:50:51
On Feb 5, 2005, at 10:37 AM, Michael wrote:
> 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.
ktrace(1) is Your Friend.
- Greg