Subject: Re: BIND problems after upgrade
To: Radek Kujawa <radoslaw.kujawa@altkom.pl>
From: Christos Zoulas <christos@zoulas.com>
List: port-macppc
Date: 03/10/2007 15:33:32
On Mar 10, 8:34pm, radoslaw.kujawa@altkom.pl (Radek Kujawa) wrote:
-- Subject: Re: BIND problems after upgrade
| Christos Zoulas wrote:
| > Can you try to disable the thread code?
| >
| In a private mail, one nice person sent me following patch:
|
| --- rbt.c-orig 2006-07-13 15:02:18.000000000 -0700
| +++ rbt.c 2007-03-06 22:06:16.000000000 -0800
| @@ -166,6 +166,10 @@
| static void dns_rbt_printnodename(dns_rbtnode_t *node);
| #endif
|
| +#if !defined(inline) && defined(__powerpc__)
| +#define inline /**/
| +#endif
| +
| static inline dns_rbtnode_t *
| find_up(dns_rbtnode_t *node) {
| dns_rbtnode_t *root;
|
|
| This patch comes from pkgsrc/net/bind9/patches/ . It fixed my named, now
| it works like a charm. I can build non-threaded version of BIND and
| check what's going to happen, if it will help.
No the non-threaded version will not work, that is a compiler bug they
are working around.
christos