From owner-svn-src-head@FreeBSD.ORG Wed Nov 18 14:35:10 2009 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4EA321065698; Wed, 18 Nov 2009 14:35:10 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 108CC8FC16; Wed, 18 Nov 2009 14:35:09 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.3/8.14.1) with ESMTP id nAIEOptD063104; Wed, 18 Nov 2009 07:24:51 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Wed, 18 Nov 2009 07:25:14 -0700 (MST) Message-Id: <20091118.072514.673374189.imp@bsdimp.com> To: davidxu@freebsd.org From: "M. Warner Losh" In-Reply-To: <200911180509.nAI593kQ058970@svn.freebsd.org> References: <200911180509.nAI593kQ058970@svn.freebsd.org> X-Mailer: Mew version 5.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r199469 - head/lib/librt X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Nov 2009 14:35:10 -0000 In message: <200911180509.nAI593kQ058970@svn.freebsd.org> David Xu writes: : Author: davidxu : Date: Wed Nov 18 05:09:03 2009 : New Revision: 199469 : URL: http://svn.freebsd.org/changeset/base/199469 : : Log: : link libpthread because the librt really needs it to fully function. If you are now requiring libpthread, why are you using the _pthread_* functions everywhere else? Warner : Modified: : head/lib/librt/Makefile : : Modified: head/lib/librt/Makefile : ============================================================================== : --- head/lib/librt/Makefile Wed Nov 18 04:34:43 2009 (r199468) : +++ head/lib/librt/Makefile Wed Nov 18 05:09:03 2009 (r199469) : @@ -4,6 +4,7 @@ LIB=rt : SHLIB_MAJOR= 1 : CFLAGS+=-I${.CURDIR}/../libc/include -I${.CURDIR} : CFLAGS+=-Winline -Wall -g : +LDADD+=-lpthread : : #MAN= libthr.3 : :