From owner-freebsd-ports@FreeBSD.ORG Tue Jun 8 08:07:46 2004 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 559D816A4CE; Tue, 8 Jun 2004 08:07:46 +0000 (GMT) Received: from meitner.wh.uni-dortmund.de (meitner.wh.uni-dortmund.de [129.217.129.133]) by mx1.FreeBSD.org (Postfix) with ESMTP id E393243D2F; Tue, 8 Jun 2004 08:07:45 +0000 (GMT) (envelope-from michaelnottebrock@gmx.net) Received: from lofi.dyndns.org (pc2-105.intern.meitner [10.3.12.105]) by meitner.wh.uni-dortmund.de (Postfix) with ESMTP id 600AF1676FA; Tue, 8 Jun 2004 10:07:27 +0200 (CEST) Received: from [192.168.8.4] (lofi@kiste.my.domain [192.168.8.4]) (authenticated bits=0) by lofi.dyndns.org (8.12.10/8.12.10) with ESMTP id i5887PdH001771 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Tue, 8 Jun 2004 10:07:26 +0200 (CEST) (envelope-from michaelnottebrock@gmx.net) From: Michael Nottebrock To: freebsd-ports@freebsd.org Date: Tue, 8 Jun 2004 10:07:13 +0200 User-Agent: KMail/1.6.2 References: <1086673141.18374.35.camel@shumai.marcuscom.com> In-Reply-To: <1086673141.18374.35.camel@shumai.marcuscom.com> MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Boundary-02=_8OXxAeUPHC/H7Ns"; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <200406081007.24315.michaelnottebrock@gmx.net> X-Virus-Scanned: by amavisd-new cc: Joe Marcus Clarke Subject: Re: RFC: [Long] Change PTHREAD_LIBS to -pthread for -CURRENT 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: Tue, 08 Jun 2004 08:07:46 -0000 --Boundary-02=_8OXxAeUPHC/H7Ns Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Tuesday 08 June 2004 07:39, Joe Marcus Clarke wrote: > So, I propose changing PTHREAD_LIBS to -pthread for -CURRENT. This will > match what we have in 4.X, and will last for the life of 5.X going > forward. The threading people tell me this is doable now. Thoughts? My knowledge about both our rtld and our threads implementation is limited,= =20 however: I see that linking via -lpthread is what's done on Linux/glibc.=20 Linux/glibc is the reference and development platform of a huge majority of= =20 the software which exists in the ports-collection. Would it be possible to= =20 keep -lpthread as PTHREAD_LIBS and do whatever glibc does (if it does=20 anything at all) to prevent the breakage you describe from happening? =2D-=20 ,_, | Michael Nottebrock | lofi@freebsd.org (/^ ^\) | FreeBSD - The Power to Serve | http://www.freebsd.org \u/ | K Desktop Environment on FreeBSD | http://freebsd.kde.org --Boundary-02=_8OXxAeUPHC/H7Ns Content-Type: application/pgp-signature Content-Description: signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQBAxXO8Xhc68WspdLARAl0PAJ0TGqZiZeWTVvkecH1kQ73B3nVM/gCbBPFn xR9rqO8jp9ZIkZ8kCEBGO/U= =wcMf -----END PGP SIGNATURE----- --Boundary-02=_8OXxAeUPHC/H7Ns--