From owner-freebsd-current@FreeBSD.ORG Sun Sep 21 12:57:21 2003 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 00CCA16A4B3 for ; Sun, 21 Sep 2003 12:57:21 -0700 (PDT) Received: from sccrmhc11.comcast.net (sccrmhc11.comcast.net [204.127.202.55]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3934743FB1 for ; Sun, 21 Sep 2003 12:57:20 -0700 (PDT) (envelope-from DougB@freebsd.org) Received: from master.dougb.net (12-234-17-181.client.attbi.com[12.234.17.181]) by comcast.net (sccrmhc11) with SMTP id <2003092119571901100dpf3fe>; Sun, 21 Sep 2003 19:57:19 +0000 Date: Sun, 21 Sep 2003 12:57:18 -0700 (PDT) From: Doug Barton To: John Birrell In-Reply-To: <20030921083800.GB31793@freebsd1.cimlogic.com.au> Message-ID: <20030921125422.I22563@znfgre.qbhto.arg> References: <20030921083800.GB31793@freebsd1.cimlogic.com.au> Organization: http://www.FreeBSD.org/ X-message-flag: Outlook -- Not just for spreading viruses anymore! MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: current@freebsd.org Subject: Re: Fixing -pthreads (Re: ports and -current) 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: Sun, 21 Sep 2003 19:57:21 -0000 On Sun, 21 Sep 2003, John Birrell wrote: > On Sun, Sep 21, 2003 at 01:25:09AM -0700, Doug Barton wrote: > > I am a little confused about one thing though. What is going to > > happen to third party apps that use -pthread that aren't compiled > > through the ports? > > They need to replace -pthread with their thread library of choice > (e.g. -lc_r or -lpthread). Errrr... I'm not sure this is an optimal solution. There is an awful lot of software out there which expects -pthread to "just work." Wouldn't it make more sense to default it to one thing or the other, then make it configurable (isn't this what libmap.conf is supposed to help with)? Doug -- This .signature sanitized for your protection