From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25086 invoked by alias); 2 Dec 2002 14:54:48 -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 25079 invoked from network); 2 Dec 2002 14:54:47 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 2 Dec 2002 14:54:47 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.11.6/8.11.6) with ESMTP id gB2ETtP15341 for ; Mon, 2 Dec 2002 09:29:55 -0500 Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [172.16.52.156]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id gB2EskD28128; Mon, 2 Dec 2002 09:54:46 -0500 Received: from localhost.localdomain (vpn50-31.rdu.redhat.com [172.16.50.31]) by pobox.corp.redhat.com (8.11.6/8.11.6) with ESMTP id gB2EshC26966; Mon, 2 Dec 2002 09:54:43 -0500 Received: (from kev@localhost) by localhost.localdomain (8.11.6/8.11.6) id gB2EsMk04515; Mon, 2 Dec 2002 07:54:22 -0700 Date: Mon, 02 Dec 2002 06:54:00 -0000 From: Kevin Buettner Message-Id: <1021202145422.ZM4514@localhost.localdomain> In-Reply-To: Joel Brobecker "[RFA] AiX: enable thread support only if libpthdebug is recent enough" (Nov 27, 9:18pm) References: <20021128051647.GX1259@gnat.com> <20021128051817.GY1259@gnat.com> To: Joel Brobecker , gdb-patches@sources.redhat.com Subject: Re: [RFA] AiX: enable thread support only if libpthdebug is recent enough MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2002-12/txt/msg00018.txt.bz2 On Nov 27, 9:18pm, Joel Brobecker wrote: > The build is broken for me on AiX 4.3.2.0 because aix-thread.c assumes > a more recent version of lib pthdebug that is actually installed. I have > therefore made the following changes to enable the thread support only > if the pthread debug lib is at least version 3. > > I know the build works with version 3, and it may be that it works for > version 2 as well. But I can't check this, so I played it safe for now. > If it turns out that it works with version 2 as well, then we can very > easily change it. > > Since the build is also broken on the 5.3 branch for the same reason, > I suggest this patch be applied to the 5.3 branch as well. > > 2002-11-27 J. Brobecker > > * configure.in: Check that the pthdebug library is recent enough > before enable thread support on native AiX. > * configure: Regenerate. > > * config/powerpc/aix432.mh (NATDEPFILES): Remove aix-thread.o > from the list of object files as it is now appended by configure > if thread support is enabled. > (NAT_CLIBS): Removed as -lpthdebug is also appended by configure > if thread support is enabled. > > Ok to commit? Ok for 5.3 as well? > (I did not include the diff for configure, as this is a generated file) I see that this has been approved and checked in. Would you mind adding a comment to aix432.mh which indicates that aix-thread.o is pulled in via configure? Thanks! Kevin