Subject: Re: sa_register() in chroot: regression since newlock2 merge
To: None <>
From: Andrew Doran <>
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 is not
a supported configuration when it comes to compatibility.