Subject: Re: sa_register() in chroot: regression since newlock2 merge
To: None <current-users@netbsd.org>
From: Andrew Doran <ad@netbsd.org>
List: current-users
Date: 04/28/2007 12:14:52
On Thu, Apr 26, 2007 at 07:04:05PM +0200, haad wrote:
> > $ gcc -g -O2 -lpthread -o conftest2 conftest2.c
> > $ ktrace ./conftest2
> > Bad system call (core dumped)
>
> yes binary compatibility between netbsd-3 and HEAD was broken after newlock2
> branch merge.
It's not well publicised (and that is a bug, I'll fix it) but linking
against the static libpthread and/or using an old libpthread.so is not
a supported configuration when it comes to compatibility.
Andrew