This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Should gcc add RPATH for libstdc++.so?
- To: aoliva at redhat dot com (Alexandre Oliva)
- Subject: Re: Should gcc add RPATH for libstdc++.so?
- From: Joern Rennecke <amylaar at cambridge dot redhat dot com>
- Date: Wed, 21 Mar 2001 23:53:45 +0000 (GMT)
- Cc: gbsadler1 at lcisp dot com (Gordon Sadler), gcc at gcc dot gnu dot org
> Anyone who follows Debian should know this is not true. Years ago, we
> debated it to death, and the conclusion was that you can move it (but
> then you may have to set LD_LIBRARY_PATH, etc), you just can't replace
> it with something incompatible. Which is what some folks did in the
> libc5->6 upgrade, and caused so much trouble.
Hmmm, for elf, could we add a checksum of the library - or its interface,
if you can sufficiently define that - in a special section of the library,
and quote that checksum in the executable? So the rpath could be ignored
if the library doesn't match.