From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27057 invoked by alias); 6 Aug 2004 06:09:09 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 27045 invoked from network); 6 Aug 2004 06:09:06 -0000 Received: from unknown (HELO granger.mail.mindspring.net) (207.69.200.148) by sourceware.org with SMTP; 6 Aug 2004 06:09:06 -0000 Received: from user-119a90a.biz.mindspring.com ([66.149.36.10] helo=berman.michael-chastain.com) by granger.mail.mindspring.net with esmtp (Exim 3.33 #1) id 1BsxuZ-0000ec-00; Fri, 06 Aug 2004 02:09:03 -0400 Received: from mindspring.com (localhost [127.0.0.1]) by berman.michael-chastain.com (Postfix) with SMTP id 2C55E4B102; Fri, 6 Aug 2004 02:09:36 -0400 (EDT) Date: Fri, 06 Aug 2004 06:09:00 -0000 From: Michael Chastain To: manjo@austin.ibm.com Subject: Re: thread testcase compile issue (question) Cc: gdb@sources.redhat.com Message-ID: <4113209D.nail8NE2T6AB1@mindspring.com> References: <411166D3.nailDGY11SVF9@mindspring.com> In-Reply-To: User-Agent: nail 10.8 6/28/04 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SW-Source: 2004-08/txt/msg00092.txt.bz2 Manoj Iyer wrote: > When I execute tests under gdb.threads/ directory for instance killed.exp, > I see 2 complies of the same testcase, the first one gets a linker error > /usr/bin/ld: cannot find -lpthreads but the second time it works with no > errors. Anyone has any idea why??? This is normal. Different systems keep the thread library in different places. So the test suite tries three different "-l" options until it finds one that works. The specific code is in: testsuite/lib/gdb.exp, proc gdb_compile_pthreads. Michael C