bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

symbol versioning and libtinfo (was: ANN: ncurses-5.9-20141115)


From: Sven Joachim
Subject: symbol versioning and libtinfo (was: ANN: ncurses-5.9-20141115)
Date: Sun, 16 Nov 2014 15:56:57 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.51 (gnu/linux)

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
  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".

- 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.

Cheers,
       Sven



reply via email to

[Prev in Thread] Current Thread [Next in Thread]