Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 662040 - =sys-devel/gdb-8.1-r2 fails to build on ia64: gdbserver/linux-low.c:664: undefined reference to `thread_db_notice_clone(thread_info*, ptid_t)'
Summary: =sys-devel/gdb-8.1-r2 fails to build on ia64: gdbserver/linux-low.c:664: unde...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-07-24 19:07 UTC by Sergei Trofimovich
Modified: 2018-07-25 22:42 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
ia64-sys-devel-gdb-8.1-r2.log (ia64-sys-devel-gdb-8.1-r2.log,727.69 KB, text/x-log)
2018-07-24 19:07 UTC, Sergei Trofimovich
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sergei Trofimovich gentoo-dev 2018-07-24 19:07:01 UTC
Created attachment 540958 [details]
ia64-sys-devel-gdb-8.1-r2.log

* Package:    sys-devel/gdb-8.1-r2
 * Repository: gentoo
 * Maintainer: toolchain@gentoo.org
 * USE:        client elibc_glibc ia64 kernel_linux nls python python_single_target_python3_5 python_targets_python2_7 python_targets_python3_5 server test userland_GNU
 * FEATURES:   preserve-libs sandbox test userpriv usersandbox
...
ia64-unknown-linux-gnu-g++  -O2 -pipe -g    -I. -I. -I./../common -I./../regformats -I./.. -I./../../include -I./../gnulib/import -Ibuild-gnulib-gdbserver/import  -Wall -Wpointer-arith -Wno-unused -Wunused-value -Wunused-function -Wno-switch -Wno-char-subscripts -Wempty-body -Wunused-but-set-parameter -Wunused-but-set-variable -Wno-sign-compare -Wno-narrowing -Wno-error=maybe-uninitialized -Wformat-nonliteral  -DGDBSERVER -static-libstdc++ -static-libgcc -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed  -o gdbserver agent.o ax.o btrace-common.o buffer.o cleanups.o common-debug.o common-exceptions.o job-control.o common-regcache.o common-utils.o debug.o dll.o errors.o environ.o event-loop.o fileio.o filestuff.o format.o gdb_tilde_expand.o gdb_vecs.o hostio.o inferiors.o mem-break.o new-op.o notif.o print-utils.o ptid.o regcache.o remote-utils.o rsp-low.o server.o signals.o signals-state-save-restore.o symbol.o target.o tdesc.o tracepoint.o utils.o vec.o version.o waitstatus.o xml-utils.o reg-ia64.o linux-low.o linux-osdata.o linux-procfs.o linux-ptrace.o linux-waitpid.o linux-personality.o linux-namespaces.o fork-child.o fork-inferior.o linux-ia64-low.o hostio-errno.o  posix-strerror.o    \
build-gnulib-gdbserver/import/libgnu.a build-libiberty-gdbserver/libiberty.a  
linux-low.o: In function `handle_extended_wait':
/var/tmp/portage/sys-devel/gdb-8.1-r2/work/gdb-8.1/gdb/gdbserver/linux-low.c:664: undefined reference to `thread_db_notice_clone(thread_info*, ptid_t)'
/var/tmp/portage/sys-devel/gdb-8.1-r2/work/gdb-8.1/gdb/gdbserver/linux-low.c:664: undefined reference to `thread_db_notice_clone(thread_info*, ptid_t)'
collect2: error: ld returned 1 exit status
make[4]: *** [Makefile:380: gdbserver] Error 1
Comment 1 Larry the Git Cow gentoo-dev 2018-07-25 22:42:25 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78f182108aab03b5fe099973f15d8c2e23588ba5

commit 78f182108aab03b5fe099973f15d8c2e23588ba5
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: 2018-07-25 22:41:08 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2018-07-25 22:42:17 +0000

    profiles/arch/ia64: mask USE=server for sys-devel/gdb, bug #662040
    
    Fails to build and needs a fix upstream.
    
    Bug: https://bugs.gentoo.org/662040
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>

 profiles/arch/ia64/package.use.mask | 4 ++++
 1 file changed, 4 insertions(+)