Re: HEADS UP: BIND 9.4.1 imported (no threading libs)

From: LI Xin <delphij_at_delphij.net>
Date: Mon, 04 Jun 2007 00:49:31 +0800
Bjoern A. Zeeb wrote:
> 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;-)

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,
-- 
Xin LI <delphij_at_delphij.net>	http://www.delphij.net/
FreeBSD - The Power to Serve!


Received on Sun Jun 03 2007 - 14:49:57 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:11 UTC