Re: Using a linker version script

2009-08-14 Thread Neil Jerram
l...@gnu.org (Ludovic Courtès) writes: > It will give us more options on GNU (and possibly Solaris) but not on > the other platforms. So that won't affect our policy of not breaking > the ABI during a stable series. > > On GNU and Solaris, we may be able to reduce the number of applications > tha

Re: Using a linker version script

2009-08-14 Thread Ludovic Courtès
Neil Jerram writes: > l...@gnu.org (Ludovic Courtès) writes: > >> It also makes it possible to provide two versions of the same symbol, >> e.g.: >> >> SCM scm_from_string (const char *)--> GUILE_2.0 >> SCM scm_from_string (const char *, scm_t_handler) --> GUILE_2.1 >> >> Appli

Re: Using a linker version script

2009-08-14 Thread Neil Jerram
l...@gnu.org (Ludovic Courtès) writes: > It also makes it possible to provide two versions of the same symbol, > e.g.: > > SCM scm_from_string (const char *)--> GUILE_2.0 > SCM scm_from_string (const char *, scm_t_handler) --> GUILE_2.1 > > Applications that were compiled again

Re: Using a linker version script

2009-08-13 Thread Ludovic Courtès
Hi Neil, Neil Jerram writes: > I looked at the ld doc, but that didn't make it obvious what the > benefit of this is; could you explain? The main advantage is that executables/libraries that use versioned symbols include the required version in their symbol table: $ objdump -T guile | grep s

Re: Using a linker version script

2009-08-13 Thread Neil Jerram
l...@gnu.org (Ludovic Courtès) writes: > Hello, > > The patch at [0] makes it so that a linker version script (info "(ld) > VERSION") is used for `libguile' on platforms that support it (GNU and > Solaris). > > Comments welcome! Hi Ludo, I looked at the ld doc, but that didn't make it obvious wh

Using a linker version script

2009-08-09 Thread Ludovic Courtès
Hello, The patch at [0] makes it so that a linker version script (info "(ld) VERSION") is used for `libguile' on platforms that support it (GNU and Solaris). Comments welcome! Ludo'. [0] http://git.savannah.gnu.org/cgit/guile.git/commit/?id=9af080f7206dccffb91409529fff74e6554f2385