deprecated status of RPATH

Paul Pluzhnikov ppluzhnikov@google.com
Fri May 4 14:40:00 GMT 2012


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



More information about the Libc-help mailing list