public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
From: rep.dot.nop@gmail.com
To: gdb-gnats@sources.redhat.com
Subject: threads/2552: gdb-6.8 fails to build without thread support
Date: Tue, 11 Nov 2008 09:08:00 -0000	[thread overview]
Message-ID: <20081111090255.18859.qmail@sourceware.org> (raw)


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


                 reply	other threads:[~2008-11-11  9:08 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20081111090255.18859.qmail@sourceware.org \
    --to=rep.dot.nop@gmail.com \
    --cc=gdb-gnats@sources.redhat.com \
    /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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).