Subject: Re: pthread_creat = bad system call in macppc port, netbsd-current
To: leon zadorin <leonleon77@gmail.com>
From: Matt Thomas <matt@3am-software.com>
List: port-macppc
Date: 03/04/2007 16:44:39
leon zadorin wrote:
> Hi all,
> 
> pardon for the post if it happens not to be directly relevant to the
> macppc port...
> 
> In short, I get "bad system call" (followed by a core dump) when using
> pthreads (e.g. pthread_create eventually faulting at sa_register)... I
> am not sure if this has something to do with my kernel config or
> not... (naturally, NetBSD v3 does not exhibit the problem...)
> 
> If anyone has any clues - will be appreciated...

If you have a current kernel, you must have a current libpthread.so as well.
if they are mismatched, you will have problems (like you are having).