From: Wes Hardin <wes.hardin@dalsemi.com>
To: sparclinux@vger.kernel.org
Subject: Re: SunOS/Solaris Binary Emulation
Date: Thu, 06 Dec 2007 19:57:28 +0000 [thread overview]
Message-ID: <47585428.8060208@dalsemi.com> (raw)
In-Reply-To: <475825D7.1090209@dalsemi.com>
Pieter,
yours was one of the pages I was looking at. I just overlooked the
suggestion to copy all the libraries and binaries as I have limited diskspace
right now.
I was pointed to a tarball of an old RedHat package called solemul, apparently
from the days when they supported SPARC.
This package includes a skeleton for /usr/gnemeul/solaris (including /dev) and
a list of files needed from Solaris. Using this basic file list, Solaris's
uname now executes it seems, but dies with "Illegal Instruction". This seems
to be par for any Solaris binary I try.
So I bit the bullet, increased my LVM volume and copied the entire /usr/lib
and /usr/bin from Solaris to my Linux machine. No change.
So far I've copied /usr/lib, /usr/bin, /sbin, /usr/sbin, /usr/platform from
Solaris. Anything else?
I guess I should mention that I'm copying from Solaris 8, if I haven't
already. Is Solaris 8 too new? I think I have a Solaris 7 and a few Solaris
2.6 machines left.
Pieter D.J. Krul wrote:
> Jan Engelhardt wrote:
>>> manhack:/usr/gnemul/solaris/bin# ldd ./uname
>>> /usr/bin/ldd: line 117: ./uname: No such file or directory
>> I suppose you need the Solaris libraries too, including dynamic
>> linker. See output of `readelf -d uname`.
>
> I tend to agree. All SunOS and Solaris binaries, libraries and devicefiles are by default expected
> to exist in /usr/gnemul/sunos and/or /usr/gnemul/solaris.
>
> I've scribbled a few things on this topic some time ago, which should have become a sort of
> faq/howto at that time. You can find this on http://www.krul.cc/~pkrul/docs/solemu/
>
> HTH
>
> Pieter
--
/* wes hardin */
next prev parent reply other threads:[~2007-12-06 19:57 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-06 16:39 SunOS/Solaris Binary Emulation Wes Hardin
2007-12-06 17:32 ` Jan Engelhardt
2007-12-06 18:15 ` Wes Hardin
2007-12-06 18:38 ` Pieter D.J. Krul
2007-12-06 19:57 ` Wes Hardin [this message]
2007-12-06 22:31 ` Jan Engelhardt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=47585428.8060208@dalsemi.com \
--to=wes.hardin@dalsemi.com \
--cc=sparclinux@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.