Date: Wed, 8 Sep 2004 21:46:19 -0700 (PDT) From: =?ISO-8859-1?Q?Mikko_Ty=F6l=E4j=E4rvi?= <mbsd@pacbell.net> To: =?iso-8859-1?Q?=D8yvin?= Halfdan Thuv <oyvinht-bsd@orakel.ntnu.no> Cc: freebsd-stable@freebsd.org Subject: Re: libpthread in 5.3-BETA3 Message-ID: <20040908214003.L29260@sotec.home> In-Reply-To: <20040908201219.GA24898@orakel.ntnu.no> References: <20040908201219.GA24898@orakel.ntnu.no>
next in thread | previous in thread | raw e-mail | index | archive | help
This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --0-1989399321-1094705179=:29260 Content-Type: TEXT/PLAIN; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8BIT On Wed, 8 Sep 2004, Øyvin Halfdan Thuv wrote: > Hi, > I get: > vequess:% mred > Fatal error 'Spinlock called when not threaded.' at line 83 in file /usr/src/lib/libpthread/thread/thr_spinlock.c (errno = 0) > Abort This usually means that the program for some reason has dependencies on more than one thread library (libpthread, libthr, libc_r). If everything is built from scratch after installation there should not be any such inconsistencies. Google for the phrase in the error message and you'll find plenty more information. > I get the same error with some other programs using the lib as well > (gaim & sim). Run "ldd" on the program and see which threads libraries show up... > I commented out the check for '!__threaded' and everything seems to work fine. > I using FreeBSD 5.3-BETA3 (cvsup'ed yesterday). That is most likely not a safe solution. The quick workaround is to use libmap.conf(5) to map all threads libs to one (libpthread). $.02, /Mikko --0-1989399321-1094705179=:29260--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040908214003.L29260>