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]

Re: Glibc 2.2 is broken


On Thu, Jul 20, 2000 at 02:14:19AM +0200, Mark Kettenis wrote:
>    Date: Wed, 19 Jul 2000 16:52:07 -0700
>    From: "H . J . Lu" <hjl@lucon.org>
> 
>    # netscape
>    /usr/lib/netscape/netscape-communicator: Symbol `_res' has different size in shared object, consider re-linking
>    (dns helper): Symbol `_res' has different size in shared object, consider re-linking
>    zsh: 1833 bus error  netscape
> 
> Hmm, strange.  I have been running netscape 4.72 standalone with the
> new resolver from time to time the past days, and it seems to be
> running fine, even better than with glibc 2.1.3 (or am I just
> imagining that?).
> 
> Can you find out exactly where it crashes.  The crash might be related
> to something else.

It is caused by _res. I will send a patch soon.

> 
>    We should provide symbol versioning for it.
> 
> I'm not sure we can do that very easy.  I tried to copy how we handles
> _sys_errlist, but that didn't seem to work.
> 

That is different. We can do it to _sys_errlist since the application
doesn't modify it. It is the same as we provided 2 copies of
_sys_errlist. We used some magic with one inside libc.so.


H.J.

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