From owner-freebsd-emulation@FreeBSD.ORG Tue Oct 10 11:07:28 2006 Return-Path: X-Original-To: freebsd-emulation@freebsd.org Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 61CCE16A416 for ; Tue, 10 Oct 2006 11:07:28 +0000 (UTC) (envelope-from tijl@ulyssis.org) Received: from nibbel.kulnet.kuleuven.ac.be (nibbel.kulnet.kuleuven.ac.be [134.58.240.41]) by mx1.FreeBSD.org (Postfix) with ESMTP id DCFEE43D4C for ; Tue, 10 Oct 2006 11:07:27 +0000 (GMT) (envelope-from tijl@ulyssis.org) Received: from localhost (localhost [127.0.0.1]) by nibbel.kulnet.kuleuven.ac.be (Postfix) with ESMTP id 9B2654CF1F; Tue, 10 Oct 2006 13:07:26 +0200 (CEST) Received: from smtps01 (octavianus.kulnet.kuleuven.ac.be [134.58.240.71]) by nibbel.kulnet.kuleuven.ac.be (Postfix) with ESMTP id 0F9FD4D406; Tue, 10 Oct 2006 13:07:26 +0200 (CEST) Received: from kalimero.kotnet.org (kalimero.kotnet.org [10.4.16.222]) by smtps01 (Postfix) with ESMTP id 5A3F62E68CA; Tue, 10 Oct 2006 13:07:25 +0200 (CEST) Received: from kalimero.kotnet.org (kalimero.kotnet.org [127.0.0.1]) by kalimero.kotnet.org (8.13.8/8.13.8) with ESMTP id k9AB7NKp015000; Tue, 10 Oct 2006 13:07:23 +0200 (CEST) (envelope-from tijl@ulyssis.org) From: Tijl Coosemans To: Alexander Leidinger Date: Tue, 10 Oct 2006 13:07:21 +0200 User-Agent: KMail/1.9.4 References: <20061005231338.GB59300@math.jussieu.fr> <94295941@srv.sem.ipt.ru> <20061010103527.piel5y04ggswc8sg@webmail.leidinger.net> In-Reply-To: <20061010103527.piel5y04ggswc8sg@webmail.leidinger.net> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200610101307.22437.tijl@ulyssis.org> X-Virus-Scanned: by KULeuven Antivirus Cluster Cc: freebsd-emulation@freebsd.org Subject: Re: Linux & Maple X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Oct 2006 11:07:28 -0000 On Tuesday 10 October 2006 10:35, Alexander Leidinger wrote: > Now, the interesting question is: what kernel API changed between > 2.4.2 and 2.4.20, and do we support it? I think the answer to that is no. The changes appear to be threading related. I'm guessing here, but I wouldn't be surprised if 2.4.20 introduced NPTL support. With 2.4.2 "ldd /bin/cat" gives: libc.so.6 => /lib/obsolete/linuxthreads/libc.so.6 (0x4806b000) /lib/ld-linux.so.2 (0x4804d000) With 2.4.20: libc.so.6 => /lib/libc.so.6 (0x4806b000) /lib/ld-linux.so.2 (0x4804d000) The question is then why /bin/ls doesn't pick up the librt.so in /lib/obsolete/linuxthreads. Firefox for instance picks up a few from this directory. libpthread.so.0 => /lib/obsolete/linuxthreads/libpthread.so.0 (0x489bd000) libm.so.6 => /lib/obsolete/linuxthreads/libm.so.6 (0x48fa1000) libc.so.6 => /lib/obsolete/linuxthreads/libc.so.6 (0x49151000) The easiest solution is probably to copy /lib/obsolete/linuxthreads/librt-2.3.6.so to /lib.