Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Oct 2006 13:07:21 +0200
From:      Tijl Coosemans <tijl@ulyssis.org>
To:        Alexander Leidinger <Alexander@leidinger.net>
Cc:        freebsd-emulation@freebsd.org
Subject:   Re: Linux & Maple
Message-ID:  <200610101307.22437.tijl@ulyssis.org>
In-Reply-To: <20061010103527.piel5y04ggswc8sg@webmail.leidinger.net>
References:  <20061005231338.GB59300@math.jussieu.fr> <94295941@srv.sem.ipt.ru> <20061010103527.piel5y04ggswc8sg@webmail.leidinger.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200610101307.22437.tijl>