From owner-freebsd-current@FreeBSD.ORG Thu Apr 1 08:43:18 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A94D116A4CF; Thu, 1 Apr 2004 08:43:18 -0800 (PST) Received: from mail.pcnet.com (mail.pcnet.com [204.213.232.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4F04C43D39; Thu, 1 Apr 2004 08:43:18 -0800 (PST) (envelope-from eischen@vigrid.com) Received: from mail.pcnet.com (mail.pcnet.com [204.213.232.4]) by mail.pcnet.com (8.12.10/8.12.1) with ESMTP id i31Ggxtf024614; Thu, 1 Apr 2004 11:42:59 -0500 (EST) Date: Thu, 1 Apr 2004 11:42:59 -0500 (EST) From: Daniel Eischen X-Sender: eischen@pcnet5.pcnet.com To: "Jacques A. Vidrine" In-Reply-To: <20040401153815.GD60392@madman.celabo.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-current@FreeBSD.org cc: Sean McNeil cc: Oliver Eikemeier Subject: Re: nss_ldap broken X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Apr 2004 16:43:18 -0000 On Thu, 1 Apr 2004, Jacques A. Vidrine wrote: > On Thu, Apr 01, 2004 at 10:16:25AM -0500, Daniel Eischen wrote: > > I think the best way is to avoid having shared libraries needlessly linked to > > a threads library. > > If we can guarantee that -pthread would give that behavior ``forever'', > then great. I guess we've come full circle (``-pthread good'' > ``-pthread bad, don't use it'' ``-pthread good''). :-) > > Then how does one pick an alternate threading library? Say `libmap' and Override PTHREAD_LIBS to be -lthrlibofchoice for the port you are building. > I'll choke. :-) I seem to recall that one of the GCC guys made a > detailed proposal for extending the syntax of `-pthread' to handle > alternate threading libraries, but I can't find that posting right now. -- Dan Eischen