From owner-freebsd-current@FreeBSD.ORG Sun Jun 3 16:49:57 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3B9D516A46D for ; Sun, 3 Jun 2007 16:49:57 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from tarsier.geekcn.org (tarsier.geekcn.org [210.51.165.229]) by mx1.freebsd.org (Postfix) with ESMTP id BAF8213C455 for ; Sun, 3 Jun 2007 16:49:56 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from localhost (tarsier.geekcn.org [210.51.165.229]) by tarsier.geekcn.org (Postfix) with ESMTP id 0D9ECEB6F82; Mon, 4 Jun 2007 00:49:56 +0800 (CST) X-Virus-Scanned: amavisd-new at geekcn.org Received: from tarsier.geekcn.org ([210.51.165.229]) by localhost (mail.geekcn.org [210.51.165.229]) (amavisd-new, port 10024) with ESMTP id HonUkdBcNJxL; Mon, 4 Jun 2007 00:49:54 +0800 (CST) Received: from LI-Xins-MacBook.local (unknown [61.51.109.40]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tarsier.geekcn.org (Postfix) with ESMTP id 45456EB091C; Mon, 4 Jun 2007 00:49:52 +0800 (CST) DomainKey-Signature: a=rsa-sha1; s=default; d=delphij.net; c=nofws; q=dns; h=message-id:date:from:organization:user-agent:mime-version:to:cc: subject:references:in-reply-to:x-enigmail-version:content-type; b=XEIMkVQ4JGNJpvUEsZ7x0Ur6hUL45YlwwlskyDTI7r0oCyi6/r2b46Vb7ZGc0GzCZ 1OIrJHHymyTOnp++1YJAA== Message-ID: <4662F11B.2090908@delphij.net> Date: Mon, 04 Jun 2007 00:49:31 +0800 From: LI Xin Organization: The FreeBSD Project User-Agent: Thunderbird 2.0.0.0 (Macintosh/20070326) MIME-Version: 1.0 To: "Bjoern A. Zeeb" References: <46620099.4080007@FreeBSD.org> <1438422832.20070603120837@citrin.ru> <46627FF2.6030404@FreeBSD.org> <20070603090620.Q38838@maildrop.int.zabbadoz.net> <4662EDC9.3020408@delphij.net> <20070603164045.J38838@maildrop.int.zabbadoz.net> In-Reply-To: <20070603164045.J38838@maildrop.int.zabbadoz.net> X-Enigmail-Version: 0.95.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enigCBAA951799093777324BC3DD" Cc: freebsd-current@freebsd.org Subject: Re: HEADS UP: BIND 9.4.1 imported (no threading libs) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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, 03 Jun 2007 16:49:57 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigCBAA951799093777324BC3DD Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Bjoern A. Zeeb wrote: > On Mon, 4 Jun 2007, LI Xin wrote: >=20 >> Bjoern A. Zeeb wrote: >>> On Sun, 3 Jun 2007, Doug Barton wrote: >>> >>> Hi, >>> >>>> Anton Yuzhaninov wrote: >>>>> Hello Doug, >>>>> >>>>> You wrote on Sunday, June 3, 2007, 3:43:21 AM: >>>>> >>>>> DB> After extensive testing, I've upgraded the BIND in the base to >>>>> version >>>>> DB> 9.4.1. This version contains a lot of performance improvements,= >>>>> DB> especially for threading, so I've re-enabled it by default. >>>>> >>>>> Is there knobs to build bind without threads? >>>> >>>> I wasn't planning to add one, but if someone can show me convincing >>>> proof that it's needed, I will be glad to do so. >>>> >>>> Why would you not want it to be threaded? >>> >>> I haven't checked which part (apart from named) might need libpthread= >>> (or equivalent). One thing comes to my mind: >>> having installations without a thread library installed as in >>> WITHOUT_LIBC_R=3D >>> WITHOUT_LIBPTHREAD=3D >>> WITHOUT_LIBTHR=3D >>> (or whatever an up-to-date current would be). >>> >>> I remember that at least pppctl is one of the few other programs >>> that needs a threading library in base. >> >> I think this is somewhat OT (the original request was to build BIND >> without threads support anyway), but to answer it, what about don't >> letting the user to disable build of default threading library? >=20 > bad idea, really bad idea. I am building lots of images without any > threading library included;-) Not an end of world I think! So what we need is a global WITHOUT_THREADING_SUPPORT (or whatever name) and 'make buildworld' complain about disabling default threading library whenever it is not set. This way also makes it possible to exclude all threading stuff out your image :-) Cheers, --=20 Xin LI http://www.delphij.net/ FreeBSD - The Power to Serve! --------------enigCBAA951799093777324BC3DD Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGYvEbOfuToMruuMARCgQfAJ9mVY5enZp/zBGxNXg0AmgRnCboqwCfePRL 3rGIcg5psNjaOurgTtkGPUk= =Oo1Q -----END PGP SIGNATURE----- --------------enigCBAA951799093777324BC3DD--