Sergei Trofimovich 63d949769e sys-devel/gdb: link against tinfow first, then tinfo. bug #669096
In bug #669096 gdb was directly linked both
to libtinfo.so.6 and libncursesw.so.6:
    $ lddtree /usr/bin/gdb
    /usr/bin/gdb (interpreter => /lib64/ld-linux-x86-64.so.2)
    libtinfo.so.6 => /lib64/libtinfo.so.6
    libncursesw.so.6 => /lib64/libncursesw.so.6
        libtinfow.so.6 => /lib64/libtinfow.so.6
    ...
and caused gdb to SIGSEGV at start.

Let's consistently link against *w libraries when both available.

Note: the fix on it's own is not enough:
- we don't pass include paths to ncursesw libraries
- libreadline.so.7 is still linked against libtinfo.so.6 in Gentoo
  and needs a separate fix.

But it's enough to make immediate SIGSEGV to go away.

Reported-by: Michał Górny
Bug: https://bugs.gentoo.org/669096
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
2018-10-21 17:27:36 +01:00
2018-10-13 11:47:29 +02:00
2018-10-19 11:13:05 +02:00
2018-10-14 00:01:45 +02:00
2018-10-19 22:23:29 +02:00
2018-10-17 19:22:50 +02:00
2018-10-17 16:40:46 +02:00
2018-10-21 17:17:29 +02:00
2018-10-20 18:35:30 +02:00
2018-10-19 23:17:23 +03:00
2018-10-10 09:18:02 +02:00
2018-10-20 14:16:53 +02:00
2018-10-21 16:57:32 +02:00
2018-10-16 19:21:22 +02:00
S
Description
No description provided
9.8 GiB
Languages
Shell 97.9%
Roff 1.4%
Emacs Lisp 0.2%
C 0.1%