Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Michal Jaegermann <michal@ellpspace.math.ualberta.ca>
To: axp-list@redhat.com
Subject: Re: Everyone's SRM woes
Date: Thu, 15 Mar 2001 09:28:43 -0700	[thread overview]
Message-ID: <20010315092843.A31341@ellpspace.math.ualberta.ca> (raw)
In-Reply-To: <3AB062F5.3DEBDDF7@appnet.com>; from Jeff Sturm on Thu, Mar 15, 2001 at 01:36:37AM -0500

On Thu, Mar 15, 2001 at 01:36:37AM -0500, Jeff Sturm wrote:
> Alan Young wrote:
> > 
> > I believe that's due to Linux not supporting certain kernel functions
> > that the Tru64 kernel has and the threads library is looking for them.
> 
> Right.  The point I didn't make is that Linus really only implemented
> the syscalls he needed to get a self-hosting system, and Linux/OSF
> syscalls have probably diverged since anyway.

Not really, AFAIK.  You can look into kernel sources and see for
yourself.  Over time more of syscalls from Tru64 got their emulation in
Linux kernel but it is true that not all of them.  In some situations it
may be not even clear what their interpretation should be.  Luckily a
number of these can often be simply ignored.  If you will see in your
logs "<sc, ..." with a bunch of numbers this is a recorded such ignored
system call.  But indeed not every Tru64 binary will run under Linux;
generally you will miss required libraries and not system calls.

> You can bet that Linux
> also has syscalls that Tru64 does not.

So?  Missing calls the other way would be important only if you would
try to run Linux binaries under Tru64.  I never heard about such
attempts.  First Tru64 does not understand an ELF format of "native"
Linux binaries, as it is using COFF instead, so further questions are
academic.  Nearly always if you are interested you can simply recompile
an application in question on Tru64 and that is definitely much simpler.

> I don't use Tru64, but I'd wager that its thread APIs are based on Mach
> tasks, which could be very difficult to emulate (feel free to correct me
> here).

Some Tru64 programs which, at least nominally, use threads can be
satisified with libpthread.so and libpthreads.so which are simply links
to /usr/shlib/libc.so as provided by Tru64-compat package.  Quite
possible not every one but at least some can be "cheated" that way.

  Michal




  reply	other threads:[~2001-03-15 16:28 UTC|newest]

Thread overview: 86+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-03-13  1:01 Everyone's SRM woes Calvin Coghlan
2001-03-13  4:20 ` Peter Petrakis
2001-03-13  5:09   ` Alan Young
2001-03-13  8:16     ` W Bauske
2001-03-13 20:49       ` Alan Young
2001-03-13 21:51         ` W Bauske
2001-03-13 14:06     ` Rich Payne
2001-03-13 20:36       ` Alan Young
2001-03-14  1:15     ` Peter Petrakis
2001-03-14  6:24       ` Alan Young
2001-03-14 13:52         ` alvin
2001-03-14 14:08           ` Rich Payne
2001-03-14 14:48             ` alvin
2001-03-14 16:01         ` Jeff Sturm
2001-03-14 17:12           ` Ron Farrer
2001-03-15  2:40             ` Alan Young
2001-03-15  6:36               ` Jeff Sturm
2001-03-15 16:28                 ` Michal Jaegermann [this message]
2001-03-15 11:21               ` Peter Petrakis
2001-03-15 12:41                 ` True64/linux/threads (was Everyone's SRM woes) alvin
2001-03-15 15:14                   ` Jeff Sturm
2001-03-19 15:13                     ` alvin
2001-03-20  5:34                       ` Alexey Chupakhin
2001-03-15 16:52                 ` Everyone's SRM woes Jeff Sturm
2001-03-13 17:43   ` Jeff Sturm
2001-03-13 18:13     ` Peter Petrakis
  -- strict thread matches above, loose matches on Subject: below --
2001-03-19 15:35 William H. Magill
2001-03-14 20:07 Kurt Ludwig
2001-03-14 19:25 KirkE
2001-03-14 18:56 Kurt Ludwig
2001-03-14 18:20 Mike Foley
2001-03-14 19:15 ` alvin
2001-03-14 16:13 Jemiolo, John
2001-03-14 15:14 Jemiolo, John
2001-03-14 15:06 Hoover, Tony
2001-03-14 13:51 Kurt Ludwig
2001-03-14 16:20 ` Alan Young
2001-03-14 19:17   ` Greg Meno
2001-03-14 20:02     ` Eric Dittman
2001-03-14 12:16 Jemiolo, John
2001-03-14 15:56 ` Speedracer
2001-03-14 12:05 Jemiolo, John
2001-03-13 22:10 Mike Foley
2001-03-14  3:18 ` alvin
2001-03-13 22:10 KirkE
2001-03-13 21:54 KirkE
2001-03-14  0:31 ` Peter Petrakis
2001-03-14  9:24 ` Daniel Potts
2001-03-13 20:16 Calvin Coghlan
2001-03-13 16:19 Mike Foley
2001-03-13 17:44 ` Peter Rival
2001-03-13 19:53   ` alvin
2001-03-13 21:01     ` Jeff Sturm
2001-03-13 15:22 William H. Magill
2001-03-13 11:46 Jemiolo, John
2001-03-13 20:39 ` Alan Young
2001-03-12 23:52 Calvin Coghlan
2001-03-12 23:06 William H. Magill
2001-03-12 23:54 ` Peter Petrakis
2001-03-12 22:58 William H. Magill
2001-03-12 22:36 William H. Magill
2001-03-12 21:17 Calvin Coghlan
2001-03-12 21:32 ` alvin
2001-03-12 21:59   ` Peter Petrakis
2001-03-12 15:25 Mike Foley
2001-03-12 15:10 Coates, Steve
2001-03-11  0:03 Trouble installing 7.0 on PWS 500a: still more info Ralph Squillace
2001-03-11  1:33 ` Everyone's SRM woes Speedracer
2001-03-11 14:51   ` Peter Rival
2001-03-11 14:56     ` Rich Payne
2001-03-11 16:29       ` Speedracer
2001-03-11 16:11     ` ppetrakis
2001-03-11 16:45       ` Christopher C. Chimelis
2001-03-11 16:51       ` Michal Jaegermann
2001-03-12 14:27     ` Jeff Sturm
2001-03-11 14:53   ` Rich Payne
2001-03-12 13:35     ` alvin
2001-03-12 14:06       ` Rich Payne
2001-03-12 14:38         ` alvin
2001-03-13  3:22           ` Alan Young
2001-03-13  6:09             ` Maurice Hilarius
2001-03-12 14:39       ` Jeff Sturm
2001-03-12 15:09         ` alvin
2001-03-12 16:00       ` Michal Jaegermann
2001-03-12 18:55         ` alvin
2001-03-13  3:31     ` Alan Young
2001-03-13  4:00       ` Peter Petrakis
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox