[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: symbol versioning and libtinfo (was: ANN: ncurses-5.9-20141115)
From: |
Thomas Dickey |
Subject: |
Re: symbol versioning and libtinfo (was: ANN: ncurses-5.9-20141115) |
Date: |
Sun, 16 Nov 2014 10:55:25 -0500 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
On Sun, Nov 16, 2014 at 03:56:57PM +0100, Sven Joachim wrote:
> On 2014-11-16 05:28 +0100, Thomas Dickey wrote:
>
> > + add configure options for applying the ".map" and ".sym" files to
> > the ncurses, form, menu and panel libraries.
> > + add ".map" and ".sym" files to show exported symbols, e.g., for
> > symbol-versioning.
>
> Thanks for doing that. When trying this option for the Debian package
> which is configured "--with-termlib=tinfo" I ran into problems.
>
> - Both the wide and normal library are linked to libtinfo, but since
I did consider that, but for an initial implementation did not address it,
because I was uncertain how I should do this (whether for example I could
use multiple version-scripts, or whether the solution would be to make some
composite).
> the symbols in libtinfo are now dependent whether you configure
> "--enable-widec" or not, one of them breaks. I think the symbols
> which end up in libtinfo when building "--with-termlib" should have
> the same version to avoid that, and the same holds for symbols which
> end up in libtic when building "--with-ticlib".
hmm - I had considered only the problem of the leading text-string, but
not the numbers. Both are different, because I built the files recording
the release at which a given symbol was available (and libncursesw is newer
than libncurses).
> - Internal symbols are no longer exported which is good in principle,
> but when building "--with-termlib" libncurses.so.5 references some of
> these internal symbols from libtinfo.5 such as _nc_putchar, leading to
> a symbol lookup error. I don't know how to best solve that.
I'll work to improve this - thanks for the feedback.
--
Thomas E. Dickey <address@hidden>
http://invisible-island.net
ftp://invisible-island.net
signature.asc
Description: Digital signature