From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22976 invoked by alias); 7 May 2013 14:17:30 -0000 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 Received: (qmail 22967 invoked by uid 89); 7 May 2013 14:17:29 -0000 X-Spam-SWARE-Status: No, score=-4.7 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL autolearn=ham version=3.3.1 Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Tue, 07 May 2013 14:17:29 +0000 Received: from svr-orw-exc-10.mgc.mentorg.com ([147.34.98.58]) by relay1.mentorg.com with esmtp id 1UZihr-0004NU-GE from Luis_Gustavo@mentor.com ; Tue, 07 May 2013 07:17:27 -0700 Received: from NA1-MAIL.mgc.mentorg.com ([147.34.98.181]) by SVR-ORW-EXC-10.mgc.mentorg.com with Microsoft SMTPSVC(6.0.3790.4675); Tue, 7 May 2013 07:17:27 -0700 Received: from [172.30.9.220] ([172.30.9.220]) by NA1-MAIL.mgc.mentorg.com with Microsoft SMTPSVC(6.0.3790.3959); Tue, 7 May 2013 07:17:26 -0700 Message-ID: <51890CF4.5090709@codesourcery.com> Date: Tue, 07 May 2013 14:17:00 -0000 From: Luis Machado Reply-To: lgustavo@codesourcery.com User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130329 Thunderbird/17.0.5 MIME-Version: 1.0 To: Tom Tromey CC: Joel Brobecker , gdb-patches@sourceware.org Subject: Re: [commit] reimplement AIX shared-lib support (v3) References: <1367850045-26717-1-git-send-email-brobecker@adacore.com> <5189057B.5070909@codesourcery.com> <874neex4e2.fsf@fleche.redhat.com> In-Reply-To: <874neex4e2.fsf@fleche.redhat.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-SW-Source: 2013-05/txt/msg00219.txt.bz2 On 05/07/2013 04:15 PM, Tom Tromey wrote: >>>>>> "Luis" == Luis Machado writes: > > Luis> When trying to build with --enable-targets=all i seem to be falling > Luis> into a build error due to a warning. > > Luis> gdb/solib-aix.c: In function ‘solib_aix_normal_stop_observer’: > Luis> gdb/solib-aix.c:781:3: error: implicit declaration of function > Luis> ‘solib_aix_free_library_list’ [-Werror=implicit-function-declaration] > Luis> cc1: all warnings being treated as errors > Luis> make[2]: *** [solib-aix.o] Error 1 > > Luis> The function is only used in solib-aix.c though, so i'm a little > Luis> confused. I worked around it (for my purposes) by declaring it in > Luis> solib-aix.h. > > For me the function is static in solib-aix.c, so I don't get a warning. > If that is true for you then the error seems like a compiler bug. That crossed my mind. I'll try a new build later with a different compiler to see how it works. This is GCC 4.7.2 by the way.