Re: linker script and versioned symbols

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

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 vor...@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 sym...@base and

Re: linker script and versioned symbols

2009-12-20 Thread Marco d'Itri
On Dec 20, Julien Cristau jcris...@debian.org 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,

linker script and versioned symbols

2009-12-19 Thread Marco d'Itri
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 which was made backward incompatible for no good reason by adding a

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 which