From: Fernando Rodriguez <cyklonite@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Upgrade of gdb this morning failed to compile
Date: Sat, 29 Oct 2016 10:52:42 -0400 [thread overview]
Message-ID: <f4b122ca-3e50-15b7-031b-9a9cba1d5803@gmail.com> (raw)
In-Reply-To: <20161029030313.GA5279@solfire>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
On 10/28/2016 11:03 PM, Meino.Cramer@gmx.de wrote:
>
> Hi,
>
> the daily update I usually do failed while compiling gdb:
>
> Before I post every bit/log of the compilation process...
>
> Here are the last lines. Is there already known, how to fix that?
>
>
> libdecnumber.a -ldl -ldl -ltermcap -lncurses -lm -ldl -lpthread
> -ldl -lutil -lm -lpython2.7 -Xlinker -export-dynamic
> ../libiberty/libiberty.a build-gnulib/import/libgnu.a -ldl
> -Wl,--dynamic-list=./proc-service.list
> /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/bin/ld:
>
>
>
warning: libncurses.so.5, needed by /lib64/libreadline.so.6, may
> conflict with libncurses.so.6
> /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/bin/ld:
>
>
>
tui-io.o: undefined reference to symbol 'resetty'
> /lib64/libtinfo.so.6: error adding symbols: DSO missing from command
> line collect2: error: ld returned 1 exit status Makefile:1405:
> recipe for target 'gdb' failed make[2]: *** [gdb] Error 1 make[2]:
> Leaving directory
> '/var/tmp/portage/sys-devel/gdb-7.10.1/work/gdb-7.10.1/gdb'
> Makefile:8119: recipe for target 'all-gdb' failed make[1]: ***
> [all-gdb] Error 2 make[1]: Leaving directory
> '/var/tmp/portage/sys-devel/gdb-7.10.1/work/gdb-7.10.1' Makefile:845:
> recipe for target 'all' failed make: *** [all] Error 2 * ERROR:
> sys-devel/gdb-7.10.1::gentoo failed (compile phase): * emake failed
>
> Cheers, Meino
Looks like gdb is linking againt libreadline but libreadline is linked
against ncurses 5 and you're trying to link gdb against ncurses 6. So rebuild
libreadline which should cause it to link against version 6 and try again.
Also you may want to disable the tinfo flag for ncurses 6 because it's
problematic and mostly needed by binary packages and I don't think you have
any linked against ncurses 6.
- --
Fernando Rodriguez
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQIcBAEBCAAGBQJYFLe6AAoJEPbOFX/5Ulwc/00P/jPMf4tVQoRM13EK0HrWoZGz
vWwqz6uHRx/7JxVl+vbZ9q9NjAOJYujJABBHfsTy2dYuM/hV8XqcMQUD9fzQX/Ug
b3MJnCHh92AD7f1kInfxtFOF7Av6iSpwu/orj/H2UkGgAhGMoPK0M9RoTpGo9SaA
UZGn7M/U66k22PnoeyV2ekdnwBp/kWOXJe90vNeXEiAlteYV3bd7onCkRRRRQtbQ
t2HfmLxP8x5XLM6aZ3ZQg7pV5GgHC2vXt209twSgUETwzYckz6VcaolQcAHCrxk4
8TBaSU9BpudVGFOXXaEqEnh0MX8+E3oh01Mu4j0rmnZ6rVX4kXcXUa7Oh1Q8dCRO
M3fbyqOV88uDQlTgKSE9vtJWcOCV5m8xe7YqXC90eb3jdZ3mrVckYyIEKYSJYiri
i0EvZf+WNXCpoNnwRD2GQFVkqdyEWElRu498smKiXY9dTLl5MBvZVauGwzrPXWTU
1pVhyGHBBjIseUk79ycSUyNeIA68wgEbxAD+J9VFnzKbYGYo4/ZnrA/KQ+4DWiSy
En/XY8afn8lHjXmSnajI7MX4Su3QC9Gz5zCmNGC6Px1RAN0YwtZjAH3SQG3v1aWH
M5dK0ahS5bmwOrRRuSAGh8xNEeAjGhW4RuHF4gZd6V7IViP/EfpvNaiiVLsZZc1b
4LBYZwviEBTd7ynqC9SW
=Oy1Z
-----END PGP SIGNATURE-----
prev parent reply other threads:[~2016-10-29 14:50 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-29 3:03 [gentoo-user] Upgrade of gdb this morning failed to compile Meino.Cramer
2016-10-29 14:52 ` Fernando Rodriguez [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=f4b122ca-3e50-15b7-031b-9a9cba1d5803@gmail.com \
--to=cyklonite@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox