public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* threads/2552: gdb-6.8 fails to build without thread support
@ 2008-11-11  9:08 rep.dot.nop
  0 siblings, 0 replies; only message in thread
From: rep.dot.nop @ 2008-11-11  9:08 UTC (permalink / raw)
  To: gdb-gnats


>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:


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-11-11  9:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-11-11  9:08 threads/2552: gdb-6.8 fails to build without thread support rep.dot.nop

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).