* x86 binary emulation for alpha
@ 2004-03-16 23:47 Roy Kidder
2004-03-17 0:00 ` Måns Rullgård
2004-03-17 8:40 ` Falk Hueffner
0 siblings, 2 replies; 10+ messages in thread
From: Roy Kidder @ 2004-03-16 23:47 UTC (permalink / raw)
I'm currently running Debian on a DS20. There is a piece of software,
distribute in x86 binaries only, which I'd like to run on this box. A few
years ago, there was an x86 emulator called em86 for Linux on Alpha,
however that's been discontinued.
Does anyone know of an x86 binary emulator for Linux on Alpha?
Thanks in advance,
Roy
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: x86 binary emulation for alpha
2004-03-16 23:47 x86 binary emulation for alpha Roy Kidder
@ 2004-03-17 0:00 ` Måns Rullgård
2004-03-17 0:56 ` Roy Kidder
2004-03-17 8:40 ` Falk Hueffner
1 sibling, 1 reply; 10+ messages in thread
From: Måns Rullgård @ 2004-03-17 0:00 UTC (permalink / raw)
Roy Kidder <RoyKidder@remove-this-part.yahoo.com> writes:
> I'm currently running Debian on a DS20. There is a piece of software,
> distribute in x86 binaries only, which I'd like to run on this box. A few
> years ago, there was an x86 emulator called em86 for Linux on Alpha,
> however that's been discontinued.
>
> Does anyone know of an x86 binary emulator for Linux on Alpha?
I don't know of any. There are entire system emulators like bochs,
but that's not what you're looking for.
--
M�ns Rullg�rd
mru@kth.se
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: x86 binary emulation for alpha
2004-03-17 0:00 ` Måns Rullgård
@ 2004-03-17 0:56 ` Roy Kidder
2004-03-17 1:02 ` Måns Rullgård
0 siblings, 1 reply; 10+ messages in thread
From: Roy Kidder @ 2004-03-17 0:56 UTC (permalink / raw)
On Wed, 17 Mar 2004 01:00:23 +0100, M�ns Rullg�rd wrote:
> Roy Kidder <RoyKidder@remove-this-part.yahoo.com> writes:
>
>> I'm currently running Debian on a DS20. There is a piece of software,
>> distribute in x86 binaries only, which I'd like to run on this box. A few
>> years ago, there was an x86 emulator called em86 for Linux on Alpha,
>> however that's been discontinued.
>>
>> Does anyone know of an x86 binary emulator for Linux on Alpha?
>
> I don't know of any. There are entire system emulators like bochs,
> but that's not what you're looking for.
That's what I was afraid of... google didn't turn up anything either. On a
semi-related note, the same package is available in binary form for Tru64.
Is there a way to run Tru64 binaries on Linux/Alpha?
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: x86 binary emulation for alpha
2004-03-17 0:56 ` Roy Kidder
@ 2004-03-17 1:02 ` Måns Rullgård
2004-03-18 12:49 ` Roy Kidder
0 siblings, 1 reply; 10+ messages in thread
From: Måns Rullgård @ 2004-03-17 1:02 UTC (permalink / raw)
Roy Kidder <RoyKidder@remove-this-part.yahoo.com> writes:
> On Wed, 17 Mar 2004 01:00:23 +0100, M�ns Rullg�rd wrote:
>
>> Roy Kidder <RoyKidder@remove-this-part.yahoo.com> writes:
>>
>>> I'm currently running Debian on a DS20. There is a piece of software,
>>> distribute in x86 binaries only, which I'd like to run on this box. A few
>>> years ago, there was an x86 emulator called em86 for Linux on Alpha,
>>> however that's been discontinued.
>>>
>>> Does anyone know of an x86 binary emulator for Linux on Alpha?
>>
>> I don't know of any. There are entire system emulators like bochs,
>> but that's not what you're looking for.
>
> That's what I was afraid of... google didn't turn up anything either. On a
> semi-related note, the same package is available in binary form for Tru64.
> Is there a way to run Tru64 binaries on Linux/Alpha?
Most of them will run if the kernel has ECOFF support enabled and you
install the tru64 shared libraries. These can (could?) be downloaded
for free, or copied from a tru64 system should you have one. Some
programs will not work, most notably those using pthreads. Some
ioctls are also incompatible, for example a few specialized network
related ones.
--
M�ns Rullg�rd
mru@kth.se
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: x86 binary emulation for alpha
2004-03-17 1:02 ` Måns Rullgård
@ 2004-03-18 12:49 ` Roy Kidder
2004-03-18 12:59 ` Måns Rullgård
2004-03-18 17:53 ` Michal Jaegermann
0 siblings, 2 replies; 10+ messages in thread
From: Roy Kidder @ 2004-03-18 12:49 UTC (permalink / raw)
On Wed, 17 Mar 2004 02:02:47 +0100, M�ns Rullg�rd wrote:
> Roy Kidder <RoyKidder@remove-this-part.yahoo.com> writes:
>
>> On Wed, 17 Mar 2004 01:00:23 +0100, M�ns Rullg�rd wrote:
>>
>>> Roy Kidder <RoyKidder@remove-this-part.yahoo.com> writes:
>>>
>>>> I'm currently running Debian on a DS20. There is a piece of software,
>>>> distribute in x86 binaries only, which I'd like to run on this box. A
>>>> few years ago, there was an x86 emulator called em86 for Linux on
>>>> Alpha, however that's been discontinued.
>>>>
>>>> Does anyone know of an x86 binary emulator for Linux on Alpha?
>>>
>>> I don't know of any. There are entire system emulators like bochs,
>>> but that's not what you're looking for.
>>
>> That's what I was afraid of... google didn't turn up anything either.
>> On a semi-related note, the same package is available in binary form
>> for Tru64. Is there a way to run Tru64 binaries on Linux/Alpha?
>
> Most of them will run if the kernel has ECOFF support enabled and you
> install the tru64 shared libraries. These can (could?) be downloaded
> for free, or copied from a tru64 system should you have one. Some
> programs will not work, most notably those using pthreads. Some ioctls
> are also incompatible, for example a few specialized network related
> ones.
I copied the binary over and ran in only to get the error message: "Fatal
Error: cannot map libpthread.so". libpthread.so does exist in
/usr/lib/libpthread.so, so I'm not sure if it can't find it or if there's
something else wrong. Anyone know what that means?
Thanks in advance,
Roy
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: x86 binary emulation for alpha
2004-03-18 12:49 ` Roy Kidder
@ 2004-03-18 12:59 ` Måns Rullgård
2004-03-18 17:53 ` Michal Jaegermann
1 sibling, 0 replies; 10+ messages in thread
From: Måns Rullgård @ 2004-03-18 12:59 UTC (permalink / raw)
Roy Kidder <RoyKidder@remove-this-part.yahoo.com> writes:
>>> On a semi-related note, the same package is available in binary form
>>> for Tru64. Is there a way to run Tru64 binaries on Linux/Alpha?
>>
>> Most of them will run if the kernel has ECOFF support enabled and you
>> install the tru64 shared libraries. These can (could?) be downloaded
>> for free, or copied from a tru64 system should you have one. Some
>> programs will not work, most notably those using pthreads. Some ioctls
>> are also incompatible, for example a few specialized network related
>> ones.
>
> I copied the binary over and ran in only to get the error message: "Fatal
> Error: cannot map libpthread.so". libpthread.so does exist in
> /usr/lib/libpthread.so, so I'm not sure if it can't find it or if there's
> something else wrong. Anyone know what that means?
The Tru64 pthreads library doesn't work on Linux, so it's probably not
included in the downloadable set.
--
M�ns Rullg�rd
mru@kth.se
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: x86 binary emulation for alpha
2004-03-18 12:49 ` Roy Kidder
2004-03-18 12:59 ` Måns Rullgård
@ 2004-03-18 17:53 ` Michal Jaegermann
2004-03-18 19:50 ` Måns Rullgård
1 sibling, 1 reply; 10+ messages in thread
From: Michal Jaegermann @ 2004-03-18 17:53 UTC (permalink / raw)
Roy Kidder <RoyKidder@remove-this-part.yahoo.com> wrote:
> On Wed, 17 Mar 2004 02:02:47 +0100, M�ns Rullg�rd wrote:
>
>> Most of them will run if the kernel has ECOFF support enabled and you
>> install the tru64 shared libraries.
>
> I copied the binary over and ran in only to get the error message: "Fatal
> Error: cannot map libpthread.so". libpthread.so does exist in
> /usr/lib/libpthread.so,
This is NOT THAT library. Tru64 shared libs will be located in places
like /shlib and /usr/shlib, have their own loader, and a format quite a
bit different than /usr/lib/libpthread.so which is a Linux library. If
you do not have corresponding pieces installed then none of shared Tru64
libraries will be found.
Also Tru64 programs using threading will have problems on Linux. Saying
that on a number of occasions I got such things to run correctly by
"cheating" and making 'libpthread.so' into a link to libc.so, IIRC; of
course in /usr/shlib and not with Linux libraries. Surprisingly enough
quite often this is all what you need.
Michal
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: x86 binary emulation for alpha
2004-03-18 17:53 ` Michal Jaegermann
@ 2004-03-18 19:50 ` Måns Rullgård
2004-03-19 17:57 ` Michal Jaegermann
0 siblings, 1 reply; 10+ messages in thread
From: Måns Rullgård @ 2004-03-18 19:50 UTC (permalink / raw)
Michal Jaegermann <michal@gortel.phys.ualberta.ca> writes:
> Roy Kidder <RoyKidder@remove-this-part.yahoo.com> wrote:
>> On Wed, 17 Mar 2004 02:02:47 +0100, M�ns Rullg�rd wrote:
>>
>>> Most of them will run if the kernel has ECOFF support enabled and you
>>> install the tru64 shared libraries.
>>
>> I copied the binary over and ran in only to get the error message: "Fatal
>> Error: cannot map libpthread.so". libpthread.so does exist in
>> /usr/lib/libpthread.so,
>
> This is NOT THAT library. Tru64 shared libs will be located in places
> like /shlib and /usr/shlib, have their own loader, and a format quite a
> bit different than /usr/lib/libpthread.so which is a Linux library. If
> you do not have corresponding pieces installed then none of shared Tru64
> libraries will be found.
He obviously has the /sbin/loader installed since it is printing error
messages.
> Also Tru64 programs using threading will have problems on Linux. Saying
> that on a number of occasions I got such things to run correctly by
> "cheating" and making 'libpthread.so' into a link to libc.so, IIRC; of
> course in /usr/shlib and not with Linux libraries. Surprisingly enough
> quite often this is all what you need.
Really? Those programs must be linking against libpthread.so without
actually using any of it. Is there a reason for doing that way, or
are they just being stupid?
--
M�ns Rullg�rd
mru@kth.se
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: x86 binary emulation for alpha
2004-03-18 19:50 ` Måns Rullgård
@ 2004-03-19 17:57 ` Michal Jaegermann
0 siblings, 0 replies; 10+ messages in thread
From: Michal Jaegermann @ 2004-03-19 17:57 UTC (permalink / raw)
M�ns Rullg�rd <mru@kth.se> wrote:
> Michal Jaegermann <michal@gortel.phys.ualberta.ca> writes:
>
>> Also Tru64 programs using threading will have problems on Linux. Saying
>> that on a number of occasions I got such things to run correctly by
>> "cheating" and making 'libpthread.so' into a link to libc.so, IIRC; of
>> course in /usr/shlib and not with Linux libraries. Surprisingly enough
>> quite often this is all what you need.
>
> Really? Those programs must be linking against libpthread.so without
> actually using any of it. Is there a reason for doing that way, or
> are they just being stupid?
I did not study that deeply beeing satisfied with a hack results. :-)
I see some possible reasons why this worked after making loader happy.
One is that during a compilation linker was grabbing references to
libraries which were never really required. Or maybe a program never
used threading capablities, due to a way in which Linux kernel operates
and loader is doing some "lazy reference resolution" for symbols. Or
these were "weak symbols" provided by various libraries and a
non-threaded functions variants were using instead of what would be
in a real libpthread.so. Just guessing and maybe this is something
else.
I also _think_ that this was libc.so which I used as a substitute.
I would have to check but this may not matter - either calls are
resolved in a run time by some loaded libraries or not. A hack
of that sort also is not likely to work always but it worked in
some cases.
Michal
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: x86 binary emulation for alpha
2004-03-16 23:47 x86 binary emulation for alpha Roy Kidder
2004-03-17 0:00 ` Måns Rullgård
@ 2004-03-17 8:40 ` Falk Hueffner
1 sibling, 0 replies; 10+ messages in thread
From: Falk Hueffner @ 2004-03-17 8:40 UTC (permalink / raw)
Roy Kidder <RoyKidder@remove-this-part.yahoo.com> writes:
> I'm currently running Debian on a DS20. There is a piece of software,
> distribute in x86 binaries only, which I'd like to run on this box. A few
> years ago, there was an x86 emulator called em86 for Linux on Alpha,
> however that's been discontinued.
>
> Does anyone know of an x86 binary emulator for Linux on Alpha?
qemu works basically, but crashes often on larger binaries and I
haven't been able to find out why. Maybe you can give it a try.
--
Falk
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2004-03-19 17:57 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-16 23:47 x86 binary emulation for alpha Roy Kidder
2004-03-17 0:00 ` Måns Rullgård
2004-03-17 0:56 ` Roy Kidder
2004-03-17 1:02 ` Måns Rullgård
2004-03-18 12:49 ` Roy Kidder
2004-03-18 12:59 ` Måns Rullgård
2004-03-18 17:53 ` Michal Jaegermann
2004-03-18 19:50 ` Måns Rullgård
2004-03-19 17:57 ` Michal Jaegermann
2004-03-17 8:40 ` Falk Hueffner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox