From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22682 invoked by alias); 20 Feb 2003 13:04:31 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 22675 invoked from network); 20 Feb 2003 13:04:31 -0000 Received: from unknown (HELO localhost.redhat.com) (172.16.49.200) by 172.16.49.205 with SMTP; 20 Feb 2003 13:04:31 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 4B3D92ED1; Thu, 20 Feb 2003 08:09:13 -0500 (EST) Message-ID: <3E54D379.3060900@redhat.com> Date: Thu, 20 Feb 2003 13:04:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD i386; en-US; rv:1.0.2) Gecko/20030217 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Martin M. Hunt" Cc: gdb-patches@sources.redhat.com Subject: Re: [RFA] fix AIX builds References: <1045719632.1640.4.camel@Dragon> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-02/txt/msg00475.txt.bz2 > AIX builds are failing because CONFIG_LDFLAGS is getting set to > -lpthdebug which results in the library being linked before all the > object files. The library needs to be after the object files and > CONFIG_LDFLAGS is for flags not libraries. This patch basically reverts > a previous one from a few months ago. There might be a better way to do > this but this seems to work OK for me. > > 2003-02-19 Martin M. Hunt > > * configure.in: Don't set CONFIG_LDFLAGS to -lpthdebug. > * config/powerpc/aix432.mh (NAT_CLIBS): Set to -lpthdebug. > > This is configure, approval isn't needed. How quickly you commit something depends on how lucky you feel. Do you feel lucky? :-) > +# pthread debugging support > +NAT_CLIBS = -lpthdebug Given it reverts something, you'll want to add comments explaining why it didn't work the other way. Andrew