Re: building libc

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

 



On Dec 12, 2007 10:43 PM, Darío Mariani <mariani.dario@xxxxxxxxx> wrote:

>
> On Dec 12, 2007 5:15 PM, Per Jessen <per@xxxxxxxxxxxx> wrote:
>
>
> > Per Jessen wrote:
> > > All,
> > >
> > > I'm trying to build a shared libary with a modified getaddrinfo() from
> > > glibc.  getaddrinfo() sorts the results from DNS according to RFC3484,
> > > but this screws up round-robin load-balancing.
> > >
> > > Ian Jackson put a fix into ubuntus glibc 2.6.1, and this is what I'm
> > > trying to use.
> > >
> > > So, I've got glibc-2.6.1 from ubuntu all built, and I'm now trying to
> > > build my own mygetaddrinfo.so containing just the patched getaddrinfo().
> > > Has anyone attempted something similar, and if so, do you have any hints
> > > for me?
> >
> > Alright, I realize this was perhaps a little unclear.  What I'm trying
> > to achieve is actually quite simple:
> >
> > - to replace the normal getaddrinfo() routine from the default glibc
> > libary with my own version.
> >
> > My "own" version just happens to be 2000 lines of getaddrinfo from the
> > ubuntu glibc which was patched to fix the RFC3484 problem.  I'm just not
> > very keen on working my way through the 2000 lines and fixing things
> > such that it will compile outside of the complete glibc tree.
> >
> >
> > Per Jessen, Zurich
> >
> >
>
> There is a method to replace glibc functions, don't remember how exactly but take a look at Transconnect (http://transconnect.sourceforge.net/ ) and this link: http://www.itworld.com/AppDev/1006/UIR000929interposers/pfindex.html.
>
>

There is a method to replace glibc functions, don't remember how
exactly but take a look at Transconnect
(http://transconnect.sourceforge.net/ ) and this link:
http://www.itworld.com/AppDev/1006/UIR000929interposers/pfindex.html.
-
To unsubscribe from this list: send the line "unsubscribe linux-c-programming" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Assembler]     [Git]     [Kernel List]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [C Programming]     [Yosemite Campsites]     [Yosemite News]     [GCC Help]

  Powered by Linux