From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23331 invoked by alias); 18 Aug 2009 05:35:26 -0000 Received: (qmail 23322 invoked by uid 22791); 18 Aug 2009 05:35:25 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail.gmx.net (HELO mail.gmx.net) (213.165.64.20) by sourceware.org (qpsmtpd/0.43rc1) with SMTP; Tue, 18 Aug 2009 05:35:18 +0000 Received: (qmail invoked by alias); 18 Aug 2009 05:35:15 -0000 Received: from xdsl-87-78-71-70.netcologne.de (EHLO localhost.localdomain) [87.78.71.70] by mail.gmx.net (mp035) with SMTP; 18 Aug 2009 07:35:15 +0200 Received: from ralf by localhost.localdomain with local (Exim 4.69) (envelope-from ) id 1MdHLm-0007Su-DU; Tue, 18 Aug 2009 07:35:14 +0200 Date: Tue, 18 Aug 2009 08:34:00 -0000 From: Ralf Wildenhues To: "Frank Ch. Eigler" , Michael Snyder Cc: gdb-patches@sources.redhat.com Subject: rda build on x86_64 Message-ID: <20090818053514.GC28254@gmx.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.5.20 (2009-08-09) 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/msg00269.txt.bz2 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