Linux & Maple

Tijl Coosemans tijl at ulyssis.org
Tue Oct 10 04:07:28 PDT 2006


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.


More information about the freebsd-emulation mailing list