From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19649 invoked by alias); 11 Nov 2008 09:08:01 -0000 Received: (qmail 19446 invoked by uid 71); 11 Nov 2008 09:08:01 -0000 Resent-Date: 11 Nov 2008 09:08:01 -0000 Resent-Message-ID: <20081111090801.19442.qmail@sourceware.org> Resent-From: gdb-gnats@sources.redhat.com (GNATS Filer) Resent-To: nobody@sources.redhat.com Resent-Cc: gdb-prs@sources.redhat.com Resent-Reply-To: gdb-gnats@sources.redhat.com, rep.dot.nop@gmail.com Received: (qmail 18861 invoked by uid 48); 11 Nov 2008 09:02:55 -0000 Message-Id: <20081111090255.18859.qmail@sourceware.org> Date: Tue, 11 Nov 2008 09:08:00 -0000 From: rep.dot.nop@gmail.com Reply-To: rep.dot.nop@gmail.com To: gdb-gnats@sources.redhat.com X-Send-Pr-Version: gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: threads/2552: gdb-6.8 fails to build without thread support Mailing-List: contact gdb-prs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-prs-owner@sourceware.org X-SW-Source: 2008-q4/txt/msg00041.txt.bz2 >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: