[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: linker script and versioned symbols

On Dec 20, Steve Langasek <vorlon@debian.org> wrote:

> > How can I write an ld linker script that will cause ld to output the
> > same symbols two times, with and without a version tag?
> > I.e. I need it to output both symbol@Base and symbol@LIBFOO_1.0.

> In what sense does this make it backward-incompatible?  A shlibdeps bump
> should be sufficient; anything referencing an unversioned symbol will have
> its reference satisfied by any matching symbol name, regardless of version.
The problem is in the other direction: new binaries reference
symbol@LIBFOO_1.0, so even if they work the old library the dynamic
linker outputs a warning at startup.


Attachment: signature.asc
Description: Digital signature

Reply to: