Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!sdd.hp.com!ucsd!pacbell.com!decwrl!shelby!portia.stanford.edu!bianca.Stanford.EDU!pst From: pst+@ir.Stanford.EDU (Paul Traina) Newsgroups: comp.soft-sys.andrew Subject: Re: dynamic linking: sunos 4.0.3 + sun4 + PL8= broken Message-ID: Date: 7 Jan 91 23:49:36 GMT References: <0bUUTBO00VsWQAQXAI@andrew.cmu.edu> Sender: news@portia.Stanford.EDU Organization: AIR, Stanford University Lines: 16 > And libc.so.* had the resolver patches placed in them. What I mean by this is that we made a custom shared library with patched versions of gethostbyname()/gethostbyaddr() that use the resolver code rather than yp or /etc/host lookups. I agree with you that the problem is related to the resolver code. The dynamic linker probably reads the size of the routines/modules when doing the link against the libc.a module, and since the routine it is aquiring is actually different (since shared are supposed to be plug-and-play), something is getting overwritten. -- Toilers in the agro-industrial complex! Your patriotic duty is to completely provide the nation with food in a short period of time! -- yet another inspirational May Day slogan