From owner-freebsd-ports@FreeBSD.ORG Tue Sep 23 19:29:20 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EABAD16A4B3; Tue, 23 Sep 2003 19:29:20 -0700 (PDT) Received: from cimlogic.com.au (cimlog.lnk.telstra.net [139.130.51.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7286143FCB; Tue, 23 Sep 2003 19:29:17 -0700 (PDT) (envelope-from jb@cimlogic.com.au) Received: from freebsd1.cimlogic.com.au (localhost [127.0.0.1]) by cimlogic.com.au (8.12.9/8.12.9) with ESMTP id h8O2W6RP044255; Wed, 24 Sep 2003 12:32:06 +1000 (EST) (envelope-from jb@cimlogic.com.au) Received: (from jb@localhost) by freebsd1.cimlogic.com.au (8.12.9/8.12.9/Submit) id h8O2W6Q7044254; Wed, 24 Sep 2003 12:32:06 +1000 (EST) Date: Wed, 24 Sep 2003 12:32:05 +1000 From: John Birrell To: Kris Kennaway Message-ID: <20030924023205.GK34649@freebsd1.cimlogic.com.au> References: <20030924021820.GA55388@rot13.obsecurity.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030924021820.GA55388@rot13.obsecurity.org> User-Agent: Mutt/1.4.1i cc: ports@FreeBSD.org cc: deischen@FreeBSD.org cc: current@FreeBSD.org Subject: Re: Initial list of ports that fail due to -pthread X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Sep 2003 02:29:21 -0000 On Tue, Sep 23, 2003 at 07:18:21PM -0700, Kris Kennaway wrote: > Here is a partial list of the ports that need to be taught to respect > PTHREAD_LIBS and PTHREAD_CFLAGS, from the latest 5.x package build (I > just grepped for the "-pthread is deprecated" error message). None of > these were fixed by ports/57047. It is likely that there are many > more that also need to be fixed - either they fail in other ways, or > are hidden by depending on another port that currently fails. I had a go at fixing some of the ones listed on your status page. I started with the ones that had the greatest number of dependencies. The thing I'm not sure about is whether there is consensus that the -pthread argument should be removed from GCC. I've supported Dan's approach because I understand the background. I think there have been a few too many "don't do that" emails. I'm tempted to suggest that -pthread be kept and set to the default thread library (which I think should be libpthread aka libkse). If FreeBSD really wants to have an alternate thread library (libthr), then add another argument to toggle that. I know that'll make things confusing, but having more than one thread library is more confusing than a change to -pthread. -- John Birrell