From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4777 invoked by alias); 16 Feb 2010 07:58:00 -0000 Received: (qmail 4764 invoked by uid 22791); 16 Feb 2010 07:57:58 -0000 X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from smtp.telit.com (HELO smtp.telit.com) (88.37.127.140) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 16 Feb 2010 07:57:52 +0000 Received: from urano.tmt.telital.com (urano.telital.com [172.21.1.104]) by smtp.telit.com (8.14.1/8.13.8) with ESMTP id o1G7vdri014418; Tue, 16 Feb 2010 08:57:39 +0100 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: "Disabling thread support in gdbserver" problem Date: Tue, 16 Feb 2010 07:58:00 -0000 Message-ID: In-Reply-To: <19c1b8a91002151337u582fbc2eo2d6fd37c174676af@mail.gmail.com> From: "Daniele Palmas" To: "Khem Raj" Cc: "Yann E. MORIN" , X-Telit-MailScanner-Information: Please contact the ISP for more information X-Telit-MailScanner: Found to be clean X-Telit-MailScanner-From: daniele.palmas@telit.com X-IsSubscribed: yes Mailing-List: contact crossgcc-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: crossgcc-owner@sourceware.org X-SW-Source: 2010-02/txt/msg00046.txt.bz2 -----Original Message----- From: Khem Raj [mailto:raj.khem@gmail.com]=20 Sent: luned=EC 15 febbraio 2010 22.37 To: Daniele Palmas Cc: Yann E. MORIN; crossgcc@sourceware.org Subject: Re: "Disabling thread support in gdbserver" problem > It seems to me that you are trying to build static gdbserver with > multi-threading support. > you need to have static version of libthread_db installed for that in > your /usr/lib > and this should be same as the one the programs that you intend to > debug will be linked against > otherwise the multi-threaded debugging may not work well. > > If there are no restrictions to use shared libs then I would suggest > that you compile gdbsever with > shared library support. If not then you have to compile the static > version of libthread_db (libthread_db.a) during libc build step. My idea was to use shared library support. In crosstools-NG menuconfig I ha= ve checked the flag Operating System -> Build Shared Libraries. Is this enough? If yes the problem has another reason or maybe there is a b= ug in the build system. If not, could you suggest me which other options should I check for enablin= g shared library support? I cannot find any other reference in crosstools-N= G menuconfig. Thanks for your support, Daniele -- For unsubscribe information see http://sourceware.org/lists.html#faq