Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 04 Jun 2007 00:49:31 +0800
From:      LI Xin <delphij@delphij.net>
To:        "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net>
Cc:        freebsd-current@freebsd.org
Subject:   Re: HEADS UP: BIND 9.4.1 imported (no threading libs)
Message-ID:  <4662F11B.2090908@delphij.net>
In-Reply-To: <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> <20070603164045.J38838@maildrop.int.zabbadoz.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <delphij@delphij.net>	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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4662F11B.2090908>