Re: linker script and versioned symbols

2009-12-20 Thread Marco d'Itri
On Dec 20, Julien Cristau wrote: > > The problem is in the other direction: new binaries reference > > sym...@libfoo_1.0, so even if they work the old library the dynamic > > linker outputs a warning at startup. > Which is why Steve talked of a shlibdeps bump, which would cover this, > since the

Re: linker script and versioned symbols

2009-12-20 Thread Julien Cristau
On Sun, Dec 20, 2009 at 11:17:12 +0100, Marco d'Itri wrote: > On Dec 20, Steve Langasek 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 sym...@base and sym...@lib

Re: linker script and versioned symbols

2009-12-20 Thread Marco d'Itri
On Dec 20, Steve Langasek 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 sym...@base and sym...@libfoo_1.0. > In what sense does this make it backward-incompatible? A s

Re: linker script and versioned symbols

2009-12-19 Thread Steve Langasek
On Sun, Dec 20, 2009 at 01:56:06AM +0100, Marco d'Itri 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 sym...@base and sym...@libfoo_1.0. > The final goal is to fix a library whi