From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1052 invoked by alias); 18 Aug 2009 08:34:42 -0000 Received: (qmail 1043 invoked by uid 22791); 18 Aug 2009 08:34:42 -0000 X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail-px0-f187.google.com (HELO mail-px0-f187.google.com) (209.85.216.187) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 18 Aug 2009 08:34:33 +0000 Received: by pxi17 with SMTP id 17so1609499pxi.26 for ; Tue, 18 Aug 2009 01:34:31 -0700 (PDT) MIME-Version: 1.0 Received: by 10.143.26.42 with SMTP id d42mr900132wfj.219.1250584471346; Tue, 18 Aug 2009 01:34:31 -0700 (PDT) In-Reply-To: <20090818053514.GC28254@gmx.de> References: <20090818053514.GC28254@gmx.de> From: Hui Zhu Date: Tue, 18 Aug 2009 09:06:00 -0000 Message-ID: Subject: Re: rda build on x86_64 To: Ralf Wildenhues Cc: "Frank Ch. Eigler" , Michael Snyder , gdb-patches@sources.redhat.com Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2009-08/txt/msg00270.txt.bz2 ../src/configure --disable-sid --disable-rda --disable-binutils On Tue, Aug 18, 2009 at 13:35, Ralf Wildenhues wrot= e: > Hello, > > I'm trying to build the full src tree, plain > =A0../src/configure > =A0make > > 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/un= ix' > | if gcc -L/tmp/build/./ld =A0 =A0-DHAVE_CONFIG_H -I. -I../../../../src/r= da/unix -I. -I../../../../src/rda/unix -I../../../../src/rda/unix/../includ= e =A0 =A0-Wall -g -O2 -MT linux-target.o -MD -MP -MF ".deps/linux-target.Tp= o" -c -o linux-target.o ../../../../src/rda/unix/linux-target.c; \ > | =A0 =A0 =A0 =A0 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 declaratio= n specifiers or =91...=92 before =91ptrace_arg3_type=92 > | ../../../../src/rda/unix/ptrace-target.h:72: error: expected declaratio= n specifiers or =91...=92 before =91ptrace_arg3_type=92 > | ../../../../src/rda/unix/linux-target.c:1620:2: error: #error Need a _L= INUX_TARGET define for your architecture > | ../../../../src/rda/unix/linux-target.c: In function =91linux_next_gg_r= eg=92: > | ../../../../src/rda/unix/linux-target.c:1643: error: =91NUM_REGS=92 und= eclared (first use in this function) > > Looking at configure.in, x86_64 seems simply not supported. =A0Is 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 >