* [gentoo-user] Upgrade of gdb this morning failed to compile
@ 2016-10-29 3:03 Meino.Cramer
2016-10-29 14:52 ` Fernando Rodriguez
0 siblings, 1 reply; 2+ messages in thread
From: Meino.Cramer @ 2016-10-29 3:03 UTC (permalink / raw
To: Gentoo
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [gentoo-user] Upgrade of gdb this morning failed to compile
2016-10-29 3:03 [gentoo-user] Upgrade of gdb this morning failed to compile Meino.Cramer
@ 2016-10-29 14:52 ` Fernando Rodriguez
0 siblings, 0 replies; 2+ messages in thread
From: Fernando Rodriguez @ 2016-10-29 14:52 UTC (permalink / raw
To: gentoo-user
-----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-----
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-10-29 14:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox