From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26227 invoked by alias); 13 Jun 2017 11:07:18 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 26208 invoked by uid 89); 13 Jun 2017 11:07:18 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-10.6 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_2,GIT_PATCH_3,SPF_HELO_PASS,SPF_SOFTFAIL autolearn=ham version=3.3.2 spammy=Hx-languages-length:1344, our X-HELO: simark.ca Received: from simark.ca (HELO simark.ca) (158.69.221.121) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 13 Jun 2017 11:07:11 +0000 Received: by simark.ca (Postfix, from userid 33) id 5A5CF1E4E8; Tue, 13 Jun 2017 07:07:14 -0400 (EDT) To: Sangamesh Mallayya Subject: Re: gdb compilation failure on AIX. X-PHP-Originating-Script: 33:rcube.php MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Tue, 13 Jun 2017 11:07:00 -0000 From: Simon Marchi Cc: GDB , Ulrich Weigand , David Edelsohn , Sanket Rathi , Nitish Mishra , sergiodj@redhat.com In-Reply-To: References: Message-ID: <83e4dadb18ef716d2f25a922092910db@polymtl.ca> X-Sender: simon.marchi@polymtl.ca User-Agent: Roundcube Webmail/1.2.5 X-IsSubscribed: yes X-SW-Source: 2017-06/txt/msg00007.txt.bz2 On 2017-06-13 12:30, Sangamesh Mallayya wrote: > Hi All, > > GDB is failing to compile on AIX. > https://gdb-build.sergiodj.net/builders/AIX-POWER8-plain/builds/1905/steps/compile%20gdb/logs/stdio > > This is because of fork-inferior.o isn't being include during the final > step of creating gdb binary. > I guess this is mostly becuase of some of the recent change. I need to > check the history yet. > > This patch should resolve this final linking issue. > > --- ./gdb/configure.nat_orig 2017-06-13 02:05:59.000000000 -0500 > +++ ./gdb/configure.nat 2017-06-13 02:19:41.000000000 -0500 > @@ -88,7 +88,7 @@ > # Host: IBM PowerPC running AIX aix-thread.o is not > # listed in NATDEPFILES as it is pulled in by > # configure. > - NATDEPFILES='fork-child.o inf-ptrace.o rs6000-nat.o' > + NATDEPFILES='fork-child.o inf-ptrace.o rs6000-nat.o > fork-inferior.o' > > # When compiled with cc, for debugging, this argument > # should be passed. We have no idea who our current > > Let me know if this is fine. > > Thanks, > -Sangamesh Hi Sangamesh, There is already this patchset pending review, can you check if it works for you (and reply on that thread)? https://sourceware.org/ml/gdb-patches/2017-06/msg00250.html CCing Sergio who did the refactoring work, he might have something to say about it. Simon