From nobody@FreeBSD.org  Tue Sep 14 02:44:10 2004
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id A2B6816A4CE
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 14 Sep 2004 02:44:10 +0000 (GMT)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 7C14343D2F
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 14 Sep 2004 02:44:10 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.12.11/8.12.11) with ESMTP id i8E2iAQO024510
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 14 Sep 2004 02:44:10 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.12.11/8.12.11/Submit) id i8E2iA8U024509;
	Tue, 14 Sep 2004 02:44:10 GMT
	(envelope-from nobody)
Message-Id: <200409140244.i8E2iA8U024509@www.freebsd.org>
Date: Tue, 14 Sep 2004 02:44:10 GMT
From: "Sergey I. Lang" <lsi@samtel.ru>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Fatal error 'Spinlock called when not threaded.' at line 83 in file /usr/src/lib/libpthread/thread/thr_spinlock.c (errno = 0)
X-Send-Pr-Version: www-2.3

>Number:         71714
>Category:       kern
>Synopsis:       Fatal error 'Spinlock called when not threaded.' at line 83 in file /usr/src/lib/libpthread/thread/thr_spinlock.c (errno = 0) (BETA4)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Sep 14 02:50:23 GMT 2004
>Closed-Date:    Thu Sep 30 21:10:50 GMT 2004
>Last-Modified:  Thu Sep 30 21:10:50 GMT 2004
>Originator:     Sergey I. Lang
>Release:        FreeBSD 5.3 BETA4
>Organization:
SF OAO Volgatelecom
>Environment:
FreeBSD oberon.samtel.ru 5.3-BETA4 FreeBSD 5.3-BETA4 #2: Mon Sep 13 12:53:26 SAMST 2004     lsi@oberon.samtel.ru:/usr/obj/usr/src/sys/SP  i386

>Description:
Don't make port qt-3.3.3, kde
>How-To-Repeat:
      Problem repeat after release 5.3 BETA4
>Fix:
      
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-i386->freebsd-bugs 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Thu Sep 16 03:45:39 GMT 2004 
Responsible-Changed-Why:  
This does not sound i386-specific. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=71714 

From: Henrik W Lund <henrik.w.lund@broadpark.no>
To: freebsd-gnats-submit@FreeBSD.org, lsi@samtel.ru
Cc:  
Subject: Re: kern/71714: Fatal error 'Spinlock called when not threaded.'
 at line 83 in file /usr/src/lib/libpthread/thread/thr_spinlock.c (errno =
 0) (BETA4)
Date: Wed, 22 Sep 2004 17:48:14 -0700

 Running FreeBSD/amd64 5.3-BETA5 and I can confirm the problem. It seems 
 not related to the building of the qt port, but rather to libpthread. 
 Mozilla, for one, produces the same error message, as do some other 
 builds as well.
 
 Libmapping pthread to libc_r is a workaround, but shouldn't this work 
 for pthread too?
State-Changed-From-To: open->closed 
State-Changed-By: kris 
State-Changed-When: Thu Sep 30 21:10:16 GMT 2004 
State-Changed-Why:  
Problem is caused by mismatched thread libraries (something is linking 
to both libc_r and libpthread).  Find it and recompile, or use libmap. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=71714 
>Unformatted:
