This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: gdb 6.7.50.20071219-cvs doesn't build on Linux/ia64
- From: "H.J. Lu" <hjl at lucon dot org>
- To: GDB <gdb at sources dot redhat dot com>
- Cc: drow at false dot org
- Date: Wed, 19 Dec 2007 09:50:49 -0800
- Subject: Re: gdb 6.7.50.20071219-cvs doesn't build on Linux/ia64
- References: <20071219174232.GA1094@lucon.org>
On Wed, Dec 19, 2007 at 09:42:32AM -0800, H.J. Lu wrote:
> When building gdb 6.7.50.20071219-cvs on Linux/ia64, I got
>
> /net/gnu-6/export/gnu/src/gdb/gdb/gdb/gdbserver/linux-low.c:1751:
> undefined reference to `clone'
> linux-low.o: In function `linux_test_for_tracefork':
> /net/gnu-6/export/gnu/src/gdb/gdb/gdb/gdbserver/linux-low.c:1784:
> undefined reference to `clone'
>
> there is no clone, only clone2, on Linux/ia64.
>
This regression was introduced by
2007-11-01 Daniel Jacobowitz <dan@codesourcery.com>
* 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?
Thanks.
H.J.