This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

rda build on x86_64


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]