This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
Re: deprecated status of RPATH
On Fri, May 4, 2012 at 4:38 AM, Jonathan Wakely <jwakely.gcc@gmail.com> wrote:
> "Use of DT_RPATH is deprecated" statement in the man page was brought
> up and I'd like to be able to confidently say that a new ld.so won't
> suddenly stop using the RPATH in existing executables.
If ld.so was to suddenly stop honoring RPATH, a *lot* of existing
binaries would stop working, violating the "basic contract" of UNIX
binary compatibility -- existing dynamically linked binaries built on
older systems continue to run on newer systems -- which is the only
binary compatibility UNIX generally promises.
In my opinion, this is exceedingly unlikely to ever happen.
--
Paul Pluzhnikov