On Mon, 2005-09-05 at 21:31 +0100, Mark Seaborn wrote: > Steve Langasek <vorlon@debian.org> wrote: [] > I think I understand the semantics of ELF versioned symbols, but I > don't really understand why they are supposed to be useful. > > For example, glibc has two versions of "chown", GLIBC_2.1 (the > default) and GLIBC_2.0. What is supposed to be the difference between > them? Why is it useful that which version of "chown" you get at run > time depends on the version of libc.so that was present when the > executable was built? (a) The interface may be different -- core dump or worse if you use the wrong symbol. (b) Even if the ABI is the same, the semantics may not be. Current example: libstdc++ .. :) -- John Skaller <skaller at users dot sourceforge dot net>
Attachment:
signature.asc
Description: This is a digitally signed message part