From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3759 invoked by alias); 11 May 2007 18:02:01 -0000 Received: (qmail 3751 invoked by uid 22791); 11 May 2007 18:02:00 -0000 X-Spam-Check-By: sourceware.org Received: from return.false.org (HELO return.false.org) (66.207.162.98) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 11 May 2007 18:01:58 +0000 Received: from return.false.org (localhost [127.0.0.1]) by return.false.org (Postfix) with ESMTP id 8F6FB4B26D; Fri, 11 May 2007 13:01:56 -0500 (CDT) Received: from caradoc.them.org (dsl093-172-095.pit1.dsl.speakeasy.net [66.93.172.95]) by return.false.org (Postfix) with ESMTP id 4D65D4B262; Fri, 11 May 2007 13:01:56 -0500 (CDT) Received: from drow by caradoc.them.org with local (Exim 4.67) (envelope-from ) id 1HmZRD-0000X1-Bk; Fri, 11 May 2007 14:01:55 -0400 Date: Fri, 11 May 2007 18:02:00 -0000 From: Daniel Jacobowitz To: Joel Brobecker Cc: gdb-patches@sourceware.org Subject: Re: [RFA/RFC] no shared library support warning on powerpc-elf Message-ID: <20070511180155.GB1684@caradoc.them.org> Mail-Followup-To: Joel Brobecker , gdb-patches@sourceware.org References: <20070508221252.GG3798@adacore.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070508221252.GG3798@adacore.com> User-Agent: Mutt/1.5.15 (2007-04-09) X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2007-05/txt/msg00198.txt.bz2 On Tue, May 08, 2007 at 03:12:53PM -0700, Joel Brobecker wrote: > Hello, > > When running a program on the powerpc-elf simulator, I get the following > warning: > > (gdb) run > Starting program: /[...]/ex/other > !!! -> warning: no shared library support for this OS / ABI > > Breakpoint 1, other () at other.adb:12 > 12 end Other; > In the case of powerpc-elf, GDB links in solib.c and solib-svr4.c. > I don't think the bareboard case is supported by these units, so > I think the sensible thing to do is to remove them from the closure > and not build them. Except this interferes with using one GDB for both powerpc-elf and powerpc-linux. So it's not a great solution. Maybe the warning should simply be removed? I don't think it's very valuable. If shared library support is really missing, either the testsuite will catch it or a user will eventually notice. > Is it possible to run the testsuite? The compilers I have use the > powerpc-elf- prefix (eg: powerpc-elf-gcc). Yes, using the powerpc-eabisim board; but it's easier if you build everything using --target=powerpc-eabisim. powerpc-elf-gcc may need some additional options, like -msim. -- Daniel Jacobowitz CodeSourcery