From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.redhat.com (mail.redhat.com [199.183.24.239]) by listman.redhat.com (Postfix) with ESMTP id 1DDD8304CF for ; Thu, 15 Mar 2001 11:28:55 -0500 (EST) Received: (from mail@localhost) by mail.redhat.com (8.11.0/8.8.7) id f2FGU9b08180 for axp-list@listman.redhat.com; Thu, 15 Mar 2001 11:30:09 -0500 Received: from ellpspace.math.ualberta.ca (IDENT:michal@ellpspace.math.ualberta.ca [129.128.207.67]) by mail.redhat.com (8.11.0/8.8.7) with ESMTP id f2FGU8V08173 for ; Thu, 15 Mar 2001 11:30:08 -0500 Received: (from michal@localhost) by ellpspace.math.ualberta.ca (8.9.3/8.9.3) id JAA31362 for axp-list@redhat.com; Thu, 15 Mar 2001 09:28:43 -0700 Date: Thu, 15 Mar 2001 09:28:43 -0700 From: Michal Jaegermann To: axp-list@redhat.com Subject: Re: Everyone's SRM woes Message-ID: <20010315092843.A31341@ellpspace.math.ualberta.ca> References: <3AADA018.B0681DA8@alphalinux.org> <3AADAB6E.67CCF30D@teleport.com> <3AAEC61A.AC3980FE@alphalinux.org> <3AAF0E8F.74DD9F8B@teleport.com> <3AAF95E3.A64220C8@appnet.com> <20010314091202.F22925@farrer.net> <3AB02B91.8E48D9C4@teleport.com> <3AB062F5.3DEBDDF7@appnet.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4us In-Reply-To: <3AB062F5.3DEBDDF7@appnet.com>; from Jeff Sturm on Thu, Mar 15, 2001 at 01:36:37AM -0500 X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0.1 Precedence: bulk Reply-To: axp-list@redhat.com List-Help: List-Post: List-Subscribe: , List-Id: Linux and Red Hat on Alpha processors List-Unsubscribe: , List-Archive: 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 " 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