This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Missing symbols from libresolv.so


In the upgrade to BIND-8.2.2-P5, two symbols have been lost:

1. The variable _res_resultcodes.

2. The function __p_rr.

So in principle the glibc 2.2 libresolv.so isn't binary compatible
with the one from glibc 2.1.  Adding a backwards compatible
_res_resultcodes isn't too difficult, but __p_rr() might pose a
problem.  I'm a bit inclined to simply leave them out and see what
happens.  The symbols are pretty obscure and undocumented.
_res_resultcodes isn't even mentioned in <resolv.h>, and p_rr() is
documented as one of the "Private routine shared between libc/net,
named, nslookup and others".  So I strongly suspect that only programs
distributed with BIND 4 access these symbols (in BIND-4.9.7-REL, dig
en nslookup do this).  Are people aware of distributions that shipped
with the BIND 4 tools linked with glibc's libresolv.so.2?

Mark

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]