This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
threads/2552: gdb-6.8 fails to build without thread support
- From: rep dot dot dot nop at gmail dot com
- To: gdb-gnats at sources dot redhat dot com
- Date: 11 Nov 2008 09:02:55 -0000
- Subject: threads/2552: gdb-6.8 fails to build without thread support
- Reply-to: rep dot dot dot nop at gmail dot com
>Number: 2552
>Category: threads
>Synopsis: gdb-6.8 fails to build without thread support
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Tue Nov 11 09:08:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: rep.dot.nop@gmail.com
>Release: gdb-6.8
>Organization:
>Environment:
*-linux-*
>Description:
Previously it was possible to build gdb for a system with thread-support turned off, the gdb-6.8 release fails to build in this setup.
excerpt:
./configure \
--target=i686-linux-uclibc \
--host=i686-linux-uclibc \
--build=i386-pc-linux-gnu \
--prefix=/usr \
\
--without-uiout \
--disable-tui --disable-gdbtk --without-x \
--disable-sim --enable-gdbserver \
--without-included-gettext \
--disable-werror
[]
checking thread_db.h usability... no
checking thread_db.h presence... no
checking for thread_db.h... no
[]
checking for struct thread.td_pcb... no
[]
checking for libthread_db... no
configure: WARNING: Could not find libthread_db.
configure: WARNING: Disabling thread support in gdbserver.
[]
/scratch/i686_build/staging/usr/bin/i686-linux-uclibc-gcc --sysroot=/scratch/i686_build/staging/ -isysroot /scratch/i686_build/staging -I=/usr/include -c -Os -pipe -fno-tree-dominator-opts -fno-tree-loop-optimize -fgcse-sm -fgcse-las -fgcse-after-reload -I. -I/scratch/i686_toolchain/gdb-6.8/gdb -I/scratch/i686_toolchain/gdb-6.8/gdb/config -DLOCALEDIR="\"/usr/share/locale\"" -DHAVE_CONFIG_H -I/scratch/i686_toolchain/gdb-6.8/gdb/../include/opcode -I/scratch/i686_toolchain/gdb-6.8/gdb/../readline/.. -I../bfd -I/scratch/i686_toolchain/gdb-6.8/gdb/../bfd -I/scratch/i686_toolchain/gdb-6.8/gdb/../include -I../libdecnumber -I/scratch/i686_toolchain/gdb-6.8/gdb/../libdecnumber -I./../intl -DMI_OUT=1 -Wall -Wdeclaration-after-statement -Wpointer-arith -Wformat-nonliteral -Wno-pointer-sign -Wno-unused -Wno-switch -Wno-char-subscripts /scratch/i686_toolchain/gdb-6.8/gdb/linux-thread-db.c
In file included from /scratch/i686_toolchain/gdb-6.8/gdb/linux-thread-db.c:26:
/scratch/i686_toolchain/gdb-6.8/gdb/gdb_thread_db.h:38:21: error: pthread.h: No such file or directory
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: