From owner-freebsd-current@FreeBSD.ORG Sat Sep 20 19:24: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 F346416A4B3; Sat, 20 Sep 2003 19:24:20 -0700 (PDT) Received: from obsecurity.dyndns.org (adsl-64-169-107-253.dsl.lsan03.pacbell.net [64.169.107.253]) by mx1.FreeBSD.org (Postfix) with ESMTP id 12D9343FB1; Sat, 20 Sep 2003 19:24:19 -0700 (PDT) (envelope-from kris@obsecurity.org) Received: from rot13.obsecurity.org (rot13.obsecurity.org [10.0.0.5]) by obsecurity.dyndns.org (Postfix) with ESMTP id A7D1E66D6A; Sat, 20 Sep 2003 19:24:07 -0700 (PDT) Received: by rot13.obsecurity.org (Postfix, from userid 1000) id 960037D9; Sat, 20 Sep 2003 19:24:07 -0700 (PDT) Date: Sat, 20 Sep 2003 19:24:07 -0700 From: Kris Kennaway To: deischen@freebsd.org Message-ID: <20030921022407.GA39970@rot13.obsecurity.org> References: <20030920.164621.68039520.imp@bsdimp.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="pWyiEgJYm5f9v55/" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i cc: current@freebsd.org cc: "M. Warner Losh" cc: h@schmalzbauer.de Subject: 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 02:24:21 -0000 --pWyiEgJYm5f9v55/ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Sep 20, 2003 at 08:43:18PM -0400, Daniel Eischen wrote: > On Sat, 20 Sep 2003, M. Warner Losh wrote: >=20 > > In message: <3F6BF02F.9040707@schmalzbauer.de> > > Harald Schmalzbauer writes: > > : Not only the -pthread removement broke countless ports (some of them = are=20 > >=20 > > Maybe I missed the reason why FreeBSD needs to be unique wrt threading > > programs and not have -pthread... >=20 > Because -pthread allows selection of one specific threadling library, > not multiple. It is also unnecessary since the library is specified > as a link option, not a compiler option. In the future, -pthread > will be a NOOP, but it suits us now to have it cause an error so > that ports that don't honor PTHREAD_LIBS can be found and fixed. OK, here's what we can do to fix this: 1) Put back -pthread in -current so all the ports don't fail 2) I will build a full set of -current packages with the -pthread error still in place, to determine the list of packages that need to be fixed (in fact I already have this, see http://dosirak.kr.freebsd.org/errorlogs). 3) You, John Birrell, and whoever else is interested in fixing these ports can work on them at your own pace without disrupting life for the rest of the users. Once they're all fixed, we can turn the error back on or make it a NOP or do whatever else is decided to be appropriate. 4) It is likely that steps 2 and 3 will need to be iterated several times, because there are dozens of ports that need to be fixed, and many of them are hiding other ports that depend on them and also need to be fixed. Kris --pWyiEgJYm5f9v55/ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQE/bQvHWry0BWjoQKURAvIQAKC68OyE2u9KrYOSt6GKVTDhwD+DggCfQlWH GEbSun75Y7/5nn3SZtY+mmw= =ElpJ -----END PGP SIGNATURE----- --pWyiEgJYm5f9v55/--