Re: What are the ELF shared lib symbol versioning best practices?

2014-10-21 Thread Christian Kastner
On 2014-10-21 18:11, Daniel P. Berrange wrote: > On Tue, Oct 21, 2014 at 03:59:46PM +0100, David Howells wrote: >> I assumed that adding them to KEYUTILS_1.4 would be okay because nothing >> would've tried to use them previously because they didn't exist in any >> version. > > One thing to bear in

Re: What are the ELF shared lib symbol versioning best practices?

2014-10-21 Thread Josh Stone
On 10/21/2014 10:59 AM, David Howells wrote: > Is there a good description of ELF shared library symbol versioning best > practices somewhere? If you haven't already read Uli's paper, that's a start: http://www.akkadia.org/drepper/dsohowto.pdf (section 3 in particular) -- devel mailing list deve

Re: What are the ELF shared lib symbol versioning best practices?

2014-10-21 Thread Neil Horman
On Tue, Oct 21, 2014 at 03:59:46PM +0100, David Howells wrote: > Is there a good description of ELF shared library symbol versioning best > practices somewhere? > > In particular, under what conditions do you need to create a new section in > the versioning file given to the linker's --version-scr

Re: What are the ELF shared lib symbol versioning best practices?

2014-10-21 Thread Jakub Jelinek
On Tue, Oct 21, 2014 at 12:13:19PM -0400, Adam Jackson wrote: > On Tue, 2014-10-21 at 15:59 +0100, David Howells wrote: > > Is there a good description of ELF shared library symbol versioning best > > practices somewhere? > > > > In particular, under what conditions do you need to create a new sec

Re: What are the ELF shared lib symbol versioning best practices?

2014-10-21 Thread Adam Jackson
On Tue, 2014-10-21 at 15:59 +0100, David Howells wrote: > Is there a good description of ELF shared library symbol versioning best > practices somewhere? > > In particular, under what conditions do you need to create a new section in > the versioning file given to the linker's --version-script opt

Re: What are the ELF shared lib symbol versioning best practices?

2014-10-21 Thread Daniel P. Berrange
On Tue, Oct 21, 2014 at 03:59:46PM +0100, David Howells wrote: > Is there a good description of ELF shared library symbol versioning best > practices somewhere? > > In particular, under what conditions do you need to create a new section in > the versioning file given to the linker's --version-scr

What are the ELF shared lib symbol versioning best practices?

2014-10-21 Thread David Howells
Is there a good description of ELF shared library symbol versioning best practices somewhere? In particular, under what conditions do you need to create a new section in the versioning file given to the linker's --version-script option when new symbols are added? And what do you do if you've done