This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: rda build on x86_64
- From: Hui Zhu <teawater at gmail dot com>
- To: Ralf Wildenhues <Ralf dot Wildenhues at gmx dot de>
- Cc: "Frank Ch. Eigler" <fche at redhat dot com>, Michael Snyder <msnyder at redhat dot com>, gdb-patches at sources dot redhat dot com
- Date: Tue, 18 Aug 2009 16:34:11 +0800
- Subject: Re: rda build on x86_64
- References: <20090818053514.GC28254@gmx.de>
../src/configure --disable-sid --disable-rda --disable-binutils
On Tue, Aug 18, 2009 at 13:35, Ralf Wildenhues<Ralf.Wildenhues@gmx.de> wrote:
> Hello,
>
> I'm trying to build the full src tree, plain
> ?../src/configure
> ?make
>
> on x86_64-pc-linux-gnu (on my way of updating autotools in src).
>
> The build fails like this:
>
> | make[5]: Entering directory `/tmp/build/x86_64-unknown-linux-gnu/rda/unix'
> | if gcc -L/tmp/build/./ld ? ?-DHAVE_CONFIG_H -I. -I../../../../src/rda/unix -I. -I../../../../src/rda/unix -I../../../../src/rda/unix/../include ? ?-Wall -g -O2 -MT linux-target.o -MD -MP -MF ".deps/linux-target.Tpo" -c -o linux-target.o ../../../../src/rda/unix/linux-target.c; \
> | ? ? ? ? then mv -f ".deps/linux-target.Tpo" ".deps/linux-target.Po"; else rm -f ".deps/linux-target.Tpo"; exit 1; fi
> | In file included from ../../../../src/rda/unix/linux-target.c:50:
> | ../../../../src/rda/unix/ptrace-target.h:70: error: expected declaration specifiers or ‘...’ before ‘ptrace_arg3_type’
> | ../../../../src/rda/unix/ptrace-target.h:72: error: expected declaration specifiers or ‘...’ before ‘ptrace_arg3_type’
> | ../../../../src/rda/unix/linux-target.c:1620:2: error: #error Need a _LINUX_TARGET define for your architecture
> | ../../../../src/rda/unix/linux-target.c: In function ‘linux_next_gg_reg’:
> | ../../../../src/rda/unix/linux-target.c:1643: error: ‘NUM_REGS’ undeclared (first use in this function)
>
> Looking at configure.in, x86_64 seems simply not supported. ?Is a port
> to the new x86_64 architecture planned?
>
> Until then, would it be desirable to let toplevel not configure the rda
> directory on x86_64 to avoid this build error (so the user doesn't have
> to --disable-rda manually)?
>
> Thanks, and please Cc: me on replies,
> Ralf
>