From owner-freebsd-current@FreeBSD.ORG Sun Jun 3 16:45:13 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 6B9E816A400 for ; Sun, 3 Jun 2007 16:45:13 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from transport.cksoft.de (transport.cksoft.de [62.111.66.27]) by mx1.freebsd.org (Postfix) with ESMTP id 2C26A13C44B for ; Sun, 3 Jun 2007 16:45:13 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from transport.cksoft.de (localhost [127.0.0.1]) by transport.cksoft.de (Postfix) with ESMTP id 46785200155; Sun, 3 Jun 2007 18:45:11 +0200 (CEST) Received: by transport.cksoft.de (Postfix, from userid 66) id DB9D0200014; Sun, 3 Jun 2007 18:45:06 +0200 (CEST) Received: from maildrop.int.zabbadoz.net (maildrop.int.zabbadoz.net [10.111.66.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.int.zabbadoz.net (Postfix) with ESMTP id F0F0B4448A9; Sun, 3 Jun 2007 16:42:04 +0000 (UTC) Date: Sun, 3 Jun 2007 16:42:04 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@maildrop.int.zabbadoz.net To: LI Xin In-Reply-To: <4662EDC9.3020408@delphij.net> Message-ID: <20070603164045.J38838@maildrop.int.zabbadoz.net> References: <46620099.4080007@FreeBSD.org> <1438422832.20070603120837@citrin.ru> <46627FF2.6030404@FreeBSD.org> <20070603090620.Q38838@maildrop.int.zabbadoz.net> <4662EDC9.3020408@delphij.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: by AMaViS cksoft-s20020300-20031204bz on transport.cksoft.de 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:45:13 -0000 On Mon, 4 Jun 2007, LI Xin wrote: > 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= >> WITHOUT_LIBPTHREAD= >> WITHOUT_LIBTHR= >> (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? bad idea, really bad idea. I am building lots of images without any threading library included;-) -- Bjoern A. Zeeb bzeeb at Zabbadoz dot NeT