This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Compatibility symlink from old dynamic loader name to new dynamicloader name doesn't work.
- From: Roland McGrath <roland at hack dot frob dot com>
- To: Carlos O'Donell <carlos_odonell at mentor dot com>
- Cc: libc-alpha <libc-alpha at sourceware dot org>
- Date: Wed, 24 Oct 2012 10:16:55 -0700 (PDT)
- Subject: Re: Compatibility symlink from old dynamic loader name to new dynamicloader name doesn't work.
- References: <5087FAD8.5000605@mentor.com>
The patch is clearly a dismal kludge that would never be acceptable.
I don't understand why the stat-based logic at the top of
_dl_map_object_from_fd is not handling this case already.
> In summary:
> - To support compatibility symlinks from old dynamic loader names to new
> dynamic loader names will require refactoring _dl_map_object_from_fd to
> actually detect if two DSOs are the same.
That's exactly what it already does.