Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* rda build on x86_64
@ 2009-08-18  8:34 Ralf Wildenhues
  2009-08-18  9:06 ` Hui Zhu
  2009-08-18 16:41 ` Tom Tromey
  0 siblings, 2 replies; 4+ messages in thread
From: Ralf Wildenhues @ 2009-08-18  8:34 UTC (permalink / raw)
  To: Frank Ch. Eigler, Michael Snyder; +Cc: gdb-patches

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: rda build on x86_64
  2009-08-18  8:34 rda build on x86_64 Ralf Wildenhues
@ 2009-08-18  9:06 ` Hui Zhu
  2009-08-18 19:14   ` Ralf Wildenhues
  2009-08-18 16:41 ` Tom Tromey
  1 sibling, 1 reply; 4+ messages in thread
From: Hui Zhu @ 2009-08-18  9:06 UTC (permalink / raw)
  To: Ralf Wildenhues; +Cc: Frank Ch. Eigler, Michael Snyder, gdb-patches

../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
>


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: rda build on x86_64
  2009-08-18  8:34 rda build on x86_64 Ralf Wildenhues
  2009-08-18  9:06 ` Hui Zhu
@ 2009-08-18 16:41 ` Tom Tromey
  1 sibling, 0 replies; 4+ messages in thread
From: Tom Tromey @ 2009-08-18 16:41 UTC (permalink / raw)
  To: Ralf Wildenhues; +Cc: Frank Ch. Eigler, Michael Snyder, gdb-patches

>>>>> "Ralf" == Ralf Wildenhues <Ralf.Wildenhues@gmx.de> writes:

Ralf> Until then, would it be desirable to let toplevel not configure the rda
Ralf> directory on x86_64 to avoid this build error (so the user doesn't have
Ralf> to --disable-rda manually)?

FWIW I think most people working on gdb just don't check out rda.
You have to ask for it explicitly, it isn't in any of the other modules
from what I can see.

I think it would be reasonable to make the change you suggest, but only
if you are really motivated to do so.

Tom


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: rda build on x86_64
  2009-08-18  9:06 ` Hui Zhu
@ 2009-08-18 19:14   ` Ralf Wildenhues
  0 siblings, 0 replies; 4+ messages in thread
From: Ralf Wildenhues @ 2009-08-18 19:14 UTC (permalink / raw)
  To: Hui Zhu, Michael Snyder; +Cc: Frank Ch. Eigler, gdb-patches

Hello Michael, Hui,

first off, my previous mail-Cc to msnyder at redhat.com bounced
<http://thread.gmane.org/gmane.comp.gdb.patches/51142>;
time to update the entry in rda/MAINTAINERS (which is where I got the
email address from)?

* Hui Zhu wrote on Tue, Aug 18, 2009 at 10:34:11AM CEST:
> On Tue, Aug 18, 2009 at 13:35, Ralf Wildenhues wrote:
> > 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).

> > 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)?

> ../src/configure --disable-sid --disable-rda --disable-binutils

Thanks; however, that is

- neither convenient for users not knowing they need a special option to
  disable rda,

- not an option for me when I want to update autotools inside rda or sid.
  I *need* a way to be able to build *all* parts of the tree (ideally
  as many as possible together in as few build trees as possible), in
  order to be able to test changes to the build system.

If you tell me the latter is simply not possible on x86_64, then I can
go to i686-pc-linux-gnu; that seems to work.

Cheers,
Ralf


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-08-18 18:56 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-08-18  8:34 rda build on x86_64 Ralf Wildenhues
2009-08-18  9:06 ` Hui Zhu
2009-08-18 19:14   ` Ralf Wildenhues
2009-08-18 16:41 ` Tom Tromey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox