From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7840 invoked by alias); 21 Dec 2007 15:47:55 -0000 Received: (qmail 7830 invoked by uid 22791); 21 Dec 2007 15:47:55 -0000 X-Spam-Check-By: sourceware.org Received: from qmta06.westchester.pa.mail.comcast.net (HELO QMTA06.westchester.pa.mail.comcast.net) (76.96.62.56) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 21 Dec 2007 15:47:45 +0000 Received: from OMTA04.westchester.pa.mail.comcast.net ([76.96.62.35]) by QMTA06.westchester.pa.mail.comcast.net with comcast id TT6J1Y0050ldTLk0503w00; Fri, 21 Dec 2007 15:47:43 +0000 Received: from lucon.org ([24.6.230.138]) by OMTA04.westchester.pa.mail.comcast.net with comcast id TTnf1Y00J2zoa483Q00000; Fri, 21 Dec 2007 15:47:40 +0000 X-Authority-Analysis: v=1.0 c=1 a=Uotg21Mx8sIA:10 a=3V5i-xSaAC8TiXsnrp8A:9 a=y_1h3YidVt1JtOEX-kLaIScauI8A:4 a=XwJlU61g5rcA:10 a=3dWWJ1Qilv0A:10 a=LY0hPdMaydYA:10 Received: by lucon.org (Postfix, from userid 500) id 245F9F8269; Fri, 21 Dec 2007 07:47:42 -0800 (PST) Date: Fri, 21 Dec 2007 15:47:00 -0000 From: "H.J. Lu" To: Andreas Schwab Cc: GDB Subject: Re: gdb 6.7.50.20071219-cvs doesn't build on Linux/ia64 Message-ID: <20071221154742.GA25702@lucon.org> References: <20071219174232.GA1094@lucon.org> <20071219175049.GA1132@lucon.org> <20071219184137.GB9968@caradoc.them.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) X-IsSubscribed: yes 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 X-SW-Source: 2007-12/txt/msg00157.txt.bz2 On Wed, Dec 19, 2007 at 10:08:03PM +0100, Andreas Schwab wrote: > Daniel Jacobowitz writes: > > > On Wed, Dec 19, 2007 at 09:50:49AM -0800, H.J. Lu wrote: > >> This regression was introduced by > >> > >> 2007-11-01 Daniel Jacobowitz > >> > >> * linux-low.c (linux_tracefork_grandchild): New. > >> (linux_tracefork_child): Use clone. > >> (linux_test_for_tracefork): Use clone; allocate and free a > >> stack. > >> > >> Daniel, can you look into it? > > > > It is an otherwise trivial use of clone. Could someone with access > > to an ia64-linux system try adding a clone2 case? > > This seems to work: > > 2007-12-19 Andreas Schwab > > * linux-low.c (STACK_SIZE): Define. > (linux_tracefork_child): Use it. Use __clone2 on ia64. > (linux_test_for_tracefork): Likewise. > It works for me. Can we check it in? Thanks. H.J.