bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: also with res_mkquery


From: Stephan Trebels
Subject: Re: also with res_mkquery
Date: 13 Apr 2003 10:23:13 +0200

I just checked the glibc source and according to the Changelogs,
res_mkquery was introduced in GLIBC_2.0 and obsoleted in GLIBC_2.2, (see
res_data.c).

I'd expect this autoconf test to fail on all glibcs which have the
--enable-oldest-abi higher than GLIBC_2.0.  I assume, we do not keep ABI
compatibility with obsolete (never-released) glibcs on the Hurd, so the
bug is in autoconf, IMO.  As soon as a Linux distribution drops
GLIBC_2.0 ABI compatibility, the test will fail on Linux as well.

Stephan

P.S. The contrib.texi just refers you to the bind reference
implementation and doesn't document resolv at all, sad...

On Sun, 2003-04-13 at 02:42, Robert Millan wrote:
> note, i'm adding CC to the bug log and bug-hurd mailing list
> 
> On Fri, Apr 11, 2003 at 03:22:40PM +0200, Stephan Trebels wrote:
> > Isn't the bug rather, that the res_mkquery test is invalid in autoconf? 
> > Even in my linux box, I get:
> > 
> > stephan@stephan-lap:~$ objdump -T /lib/libresolv.so.2 | grep res_mk
> > 0000592d  w   DF .text  00000079  GLIBC_2.0   res_mkquery
> > 0000592d g    DF .text  00000079  GLIBC_2.2   __res_mkquery
> > 
> > This seems to indicate, that the test will fail for a pure 2.2
> > libresolv, or am I too naive here?
> > 
> > The test binary generated linked using your tested C code, produces:
> > 
> > stephan@stephan-lap:~$ objdump -Rt a.out | grep res_mk
> > 08048324       F *UND*  00000079              res_mkquery@@GLIBC_2.0
> > 080495a0 R_386_JUMP_SLOT   res_mkquery
> > 
> > Is there any "official" requirement, that res_mkquery needs to be a
> > callable symbol?  All I read in the manpages was, that after three
> > includes, the res_mkquery function is callable, which it probably is.
> 
> I don't know what to say about this. but note that the manpages are
> not a reliable reference, the official documentation for Glibc is
> the info libc document (which doesn't say anything about res_mkquery)
-- 
        Stephan Trebels <stephan@ncube.de>   Consultant
company: nCUBE Deutschland GmbH, Hanauer Str. 56, 80992 Munich, Germany
phone: cell:+49 172 8433111  office:+49 89 1498930  fax:+49 89 14989350






reply via email to

[Prev in Thread] Current Thread [Next in Thread]