From: "Darío Mariani" <mariani.dario@gmail.com>
To: Per Jessen <per@computer.org>
Cc: linux-c-programming@vger.kernel.org
Subject: Re: building libc
Date: Wed, 12 Dec 2007 22:44:29 -0300 [thread overview]
Message-ID: <84bd26ef0712121744x4f4b431mdb14f26d85408c68@mail.gmail.com> (raw)
In-Reply-To: <84bd26ef0712121743p77080df0t48a2e68443611337@mail.gmail.com>
On Dec 12, 2007 10:43 PM, Darío Mariani <mariani.dario@gmail.com> wrote:
>
> On Dec 12, 2007 5:15 PM, Per Jessen <per@computer.org> 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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2007-12-13 1:44 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-10 14:41 building libc Per Jessen
2007-12-12 20:15 ` Per Jessen
[not found] ` <84bd26ef0712121743p77080df0t48a2e68443611337@mail.gmail.com>
2007-12-13 1:44 ` Darío Mariani [this message]
2007-12-13 7:31 ` Per Jessen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=84bd26ef0712121744x4f4b431mdb14f26d85408c68@mail.gmail.com \
--to=mariani.dario@gmail.com \
--cc=linux-c-programming@vger.kernel.org \
--cc=per@computer.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).