This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Should gcc add RPATH for libstdc++.so?


> 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]