From owner-svn-ports-head@FreeBSD.ORG Mon Mar 23 14:59:23 2015 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7A41CDD2 for ; Mon, 23 Mar 2015 14:59:23 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5433A988 for ; Mon, 23 Mar 2015 14:59:23 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.9/8.14.9) with ESMTP id t2NExNku047895 for ; Mon, 23 Mar 2015 14:59:23 GMT (envelope-from bdrewery@freefall.freebsd.org) Received: (from bdrewery@localhost) by freefall.freebsd.org (8.14.9/8.14.9/Submit) id t2NExNEZ047890 for svn-ports-head@freebsd.org; Mon, 23 Mar 2015 14:59:23 GMT (envelope-from bdrewery) Received: (qmail 82119 invoked from network); 23 Mar 2015 09:59:21 -0500 Received: from unknown (HELO ?10.10.1.139?) (freebsd@shatow.net@10.10.1.139) by sweb.xzibition.com with ESMTPA; 23 Mar 2015 09:59:21 -0500 Message-ID: <55102A4B.2060907@FreeBSD.org> Date: Mon, 23 Mar 2015 09:59:23 -0500 From: Bryan Drewery Organization: FreeBSD User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: Baptiste Daroussin Subject: Re: svn commit: r381955 - head/graphics/gdal References: <201503222011.t2MKBHq7091087@svn.freebsd.org> <20150323015759.GA34402@FreeBSD.org> <550F8505.8010600@FreeBSD.org> <20150323135711.GB27378@ivaldir.etoilebsd.net> <5510220D.3030505@FreeBSD.org> <20150323143311.GC27378@ivaldir.etoilebsd.net> In-Reply-To: <20150323143311.GC27378@ivaldir.etoilebsd.net> OpenPGP: id=6E4697CF; url=http://www.shatow.net/bryan/bryan2.asc Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="lPsoTiiLLnpqnH5KrStX05i84BJN3eoea" Cc: Sunpoet Po-Chuan Hsieh , svn-ports-head@freebsd.org, Alexey Dokuchaev , svn-ports-all@freebsd.org, ports-committers@freebsd.org X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Mar 2015 14:59:23 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --lPsoTiiLLnpqnH5KrStX05i84BJN3eoea Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 3/23/2015 9:33 AM, Baptiste Daroussin wrote: > On Mon, Mar 23, 2015 at 09:24:13AM -0500, Bryan Drewery wrote: >> On 3/23/2015 8:57 AM, Baptiste Daroussin wrote: >>> On Sun, Mar 22, 2015 at 10:14:13PM -0500, Bryan Drewery wrote: >>>> On 3/22/2015 8:58 PM, Alexey Dokuchaev wrote: >>>>> On Sun, Mar 22, 2015 at 08:11:17PM +0000, Sunpoet Po-Chuan Hsieh wr= ote: >>>>>> New Revision: 381955 >>>>>> URL: https://svnweb.freebsd.org/changeset/ports/381955 >>>>>> QAT: https://qat.redports.org/buildarchive/r381955/ >>>>>> >>>>>> Log: >>>>>> - Use -lpthread instead of -pthread >>>>> >>>>> Is -pthread going away anytime soon? I'm a bit worried of more ali= ke >>>>> changing one to another; since they're identical right now on FreeB= SD, >>>>> I'd rather reduce amount of patching, leaving whatever is picked by= >>>>> upstream, unless -lpthread really should be preferred over -pthread= >>>>> for some reason I'm unaware of (and ready to learn about). >>>>> >>>>> ./danfe >>>>> >>>> >>>> It's a pointless change. Tijl explains here >>>> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D198116#c4 >>>> >>> >>> This is not pointless at all this is a long standing thing that shoul= d be >>> cleaned out for a while, portmgr already gave long ago some blanket t= o some >>> developers to remove that along with all usage of PTHREAD_LIBS. The r= eason is >>> that it is confusing for maintainers, as if they take example on some= of our >>> existing ports they might be driven in the wrong direction. >>> >>> Working in cleaning up those is imho important >>> >>> Regards, >>> Bapt >>> >> >> Reading the responses from David and Tijl I'm still at a loss at how >> this is useful. From my understanding, and what David said, -pthread i= s >> more portable. Reading documentation available from simple searching >> leads me, as a naive developer, to use -pthread. Especially when looki= ng >> for Linux documentation. Using either is the same as the other on >> FreeBSD as well. So why the major change? >> >> Removing PTHREAD_LIBS makes sense since it is a needless variable >> leftover from a more complicated past. But why change -pthread to >> -lpthread? Why not -lthr since -lpthread is actually an alias to that?= >=20 > The goal is not to change anything but remove our gratuicious changes a= nd > patches. >=20 > Meaning I am not ok with s/pthread/lpthread/ but I'm ok with removing a= ll > PTHREAD_LIBS macros in ports and all patches we do use to replace lpthr= ead with > something else >=20 > Bapt >=20 Perfect. Thank you for clarifying your stance. I thought perhaps that was what it was. --=20 Regards, Bryan Drewery --lPsoTiiLLnpqnH5KrStX05i84BJN3eoea Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBAgAGBQJVECpLAAoJEDXXcbtuRpfPGQ4H/2ESBlORTfSObX9yP+MxkcW3 9nbPXGVs8Uv+cuVnC0XM671+t8eOU2lIA27sm2iCBLcRoGg1h+5ZiosTbmIS/bNQ i+4TE9wKmpbeyv1YNfuWCWbJWhsGBaSDwte7+VkxyM/N02H4XetKT+FSXS71uGnB ObpFDXdohLNFC91Qvl7IJGdmxPKTUpB1pQvI7IU5QJlzKkXhdMOtq4Ho58wcWeMB qQdXUor/RO3QLAexFyV9zYpdsnstFeRRD006BYNuIvkP/3z85fgGGDiMf/h8ltJr ltpeRam5Y/N/oKlB5Kx156cz3/LRxeZxjdhmEL6qgdvuYiv8KBbx2CshG3JgNsQ= =Xp35 -----END PGP SIGNATURE----- --lPsoTiiLLnpqnH5KrStX05i84BJN3eoea--