Subject: Re: Forward-compatibility libpthread for netbsd-4
To: None <tech-userlevel@netbsd.org>
From: Pavel Cahyna <pavel@netbsd.org>
List: tech-userlevel
Date: 09/29/2007 15:39:20
On Fri, Sep 28, 2007 at 11:34:05PM +0200, Joerg Sonnenberger wrote:
> Hi all,
> http://www.netbsd.org/~joerg/libpthread-postsa.tar.gz
> is a somewhat older snapshot of current's libpthread.
> Together with the attached ld.so.conf it would allow netbsd-4 programs
> to run with a current kernel even if they use pthread.
> 
> Let me reiterate the problem for a moment. With the merge of the
> newlock2 branch, Scheduler Activation was removed from HEAD.
> libpthread did get a major bump as the old version does not work on
> a post-newlock2 branch. Independent of the question whether SA will be
> merged back into HEAD in the future, this means testing newer kernels
> for fixes etc is not an option. It also makes it harder to use binary
> programs when later migrating to netbsd-5.

Your description sounds strange, libpthread did not get a major bump, only
a minor bump. So problem is not with an old binary and new netbsd
installation (at least it should not be as the library is supposed to stay
compatible), but with an old userland and new kernel. It is certainly
worth fixing, as it is quite common to boot a new kernel to try it without
updating userland.

Pavel