This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: roland/build-nscd, roland/disable-nscd merged
> I see a testsuite failure of the form:
>
> posix/tst-rfc3484.o: In function `gaih_inet':
> posix/getaddrinfo.c:673: undefined reference to `__nss_not_use_nscd_hosts'
> (and several more undefined references)
Fixed thusly. Sorry again for the poor testing.
We definitely should do the cleanup I mentioned yesterday.
Thanks,
Roland
2012-08-23 Roland McGrath <roland@hack.frob.com>
* posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
* posix/tst-rfc3484-2.c: Likewise.
* posix/tst-rfc3484-3.c: Likewise.
diff --git a/posix/tst-rfc3484-2.c b/posix/tst-rfc3484-2.c
index 298fe66..a37be36 100644
--- a/posix/tst-rfc3484-2.c
+++ b/posix/tst-rfc3484-2.c
@@ -53,6 +53,7 @@ _res_hconf_init (void)
{
}
+#undef USE_NSCD
#include "../sysdeps/posix/getaddrinfo.c"
service_user *__nss_hosts_database attribute_hidden;
diff --git a/posix/tst-rfc3484-3.c b/posix/tst-rfc3484-3.c
index 701f534..493e760 100644
--- a/posix/tst-rfc3484-3.c
+++ b/posix/tst-rfc3484-3.c
@@ -53,6 +53,7 @@ _res_hconf_init (void)
{
}
+#undef USE_NSCD
#include "../sysdeps/posix/getaddrinfo.c"
service_user *__nss_hosts_database attribute_hidden;
diff --git a/posix/tst-rfc3484.c b/posix/tst-rfc3484.c
index f77dc4c..29e1461 100644
--- a/posix/tst-rfc3484.c
+++ b/posix/tst-rfc3484.c
@@ -53,6 +53,7 @@ _res_hconf_init (void)
{
}
+#undef USE_NSCD
#include "../sysdeps/posix/getaddrinfo.c"
service_user *__nss_hosts_database attribute_hidden;