From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14999 invoked by alias); 7 May 2013 14:45:24 -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 14950 invoked by uid 89); 7 May 2013 14:45:14 -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:45:14 +0000 Received: from svr-orw-fem-01.mgc.mentorg.com ([147.34.98.93]) by relay1.mentorg.com with esmtp id 1UZj8i-00076o-Tp from Luis_Gustavo@mentor.com ; Tue, 07 May 2013 07:45:12 -0700 Received: from NA1-MAIL.mgc.mentorg.com ([147.34.98.181]) by svr-orw-fem-01.mgc.mentorg.com with Microsoft SMTPSVC(6.0.3790.4675); Tue, 7 May 2013 07:45:12 -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:45:11 -0700 Message-ID: <51891375.2020105@codesourcery.com> Date: Tue, 07 May 2013 14:45: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: Joel Brobecker CC: Tom Tromey , 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> <51890CF4.5090709@codesourcery.com> <20130507142812.GQ5278@adacore.com> In-Reply-To: <20130507142812.GQ5278@adacore.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2013-05/txt/msg00232.txt.bz2 On 05/07/2013 04:28 PM, Joel Brobecker wrote: >>> 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. > > For the record, same for me. I just recompiled with GCC 4.7.4 on > x86_64-linux. > Ah, here it is. The failure seems to be due to solib_aix_free_library_list only being defined if HAVE_LIBEXPAT is defined, but it is being used in solib_aix_normal_stop_observer regardless of HAVE_LIBEXPAT being defined or not. I was missing libexpat in my system, so that's why i was seeing this failure. Looks like it is a real GDB bug.