From owner-freebsd-ports@FreeBSD.ORG Mon May 24 22:11:17 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DC8D816A4CE for ; Mon, 24 May 2004 22:11:17 -0700 (PDT) Received: from ack.Berkeley.EDU (ack.berkeley.edu [128.32.206.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id C1FEB43D1F for ; Mon, 24 May 2004 22:11:17 -0700 (PDT) (envelope-from mhunter@ack.Berkeley.EDU) Received: (from mhunter@localhost) by ack.Berkeley.EDU (8.11.3/8.11.3) id i4P5AGd25712 for freebsd-ports@freebsd.org; Mon, 24 May 2004 22:10:16 -0700 (PDT) Date: Mon, 24 May 2004 22:10:16 -0700 From: Mike Hunter To: freebsd-ports@freebsd.org Message-ID: <20040525051016.GA24353@ack.Berkeley.EDU> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.6i Subject: thread library stuff with gaim .77 (yes, I read UPDATING) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 May 2004 05:11:18 -0000 Hi, I recently upgraded gaim (always a mistake it seems :( ) and I can't get it to start up anymore. % gaim Fatal error 'Spinlock called when not threaded.' at line 83 in file /usr/src/lib/libpthread/thread/thr_spinlock.c (errno = 0) Abort trap (core dumped) I've read /usr/src/UPDATING, and I tried the suggestion about switching the thread libraries. When I tried that, gaim worked but Firefox stopped functioning :( When I tried to rebuild firefox, it gave me a **build error** complaining about an assertion failure and threading. When I try to only have the UPDATING change apply for gaim as follows: [/usr/X11R6/bin/gaim] libc_r.so.5 libpthread.so.1 libc_r.so libpthread.so It still gives the same error message as above. So my main point of confusion is that I can't seem to make the thread change apply only to gaim :( Some library gaim uses perhaps? Also, rebuilding gaim didn't help...even portupgrade -r -f gaim. Chatless, Mike