Subject: Re: Problems trying to debug pkgsrc/mail/milter-greylist
To: None <port-sparc64@netbsd.org>
From: Gert Doering <gert@greenie.muc.de>
List: port-sparc64
Date: 11/22/2007 15:05:06
Michael-John Turner wrote:

>On Thu, Nov 22, 2007 at 09:14:24AM +0100, Jochen Kunz wrote:
>> So, if you want / need to use a threaded application you have to switch
>> either to -current on sparc64 or to an other machine architecture if you
>> want / need to stay at 4.0. :-(

>Another possibility is to build milter-greylist using pth rather than
>native threads. I had a lot of crashes with my 3.1 system when using clamav
>with native threads, but since switching to pth it's been rock solid, even
>with fairly high paging. May require some edits to system headers (the
>PREFER_NATIVE_PTHREADS=NO and PTHREAD_TYPE=pth pkgsrc build options are not
>perfect), but it's more than likely possible.

I did this when still on NetBSD 2 (because native threads tended to 
freeze the machine hard), but it didn't make the milters stable.

I will try again, and report back.

gert

-- 
gert@greenie.muc.de   fax: +49-89-35655025   http://alpha.greenie.net/mgetty/

With a rubber duck, one's never alone.
             -- Douglas Adams, "The Hitchhiker's Guide to the Galaxy"