From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13260 invoked by alias); 8 Oct 2003 09:03:11 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 13225 invoked from network); 8 Oct 2003 09:03:08 -0000 Received: from unknown (HELO mail.esperi.org.uk) (194.247.41.52) by sources.redhat.com with SMTP; 8 Oct 2003 09:03:08 -0000 Received: from esperi.org.uk (1000@amaterasu.srvr.nix [192.168.14.14]) by mail.esperi.org.uk (8.12.10/8.12.10) with ESMTP id h98930JR002221; Wed, 8 Oct 2003 10:03:00 +0100 Received: (from nix@localhost) by esperi.org.uk (8.12.10/8.12.10/Submit) id h9892vOC001319; Wed, 8 Oct 2003 10:02:57 +0100 To: Christian Joensson Cc: "Tom 'spot' Callaway" , gdb-gnats@sources.redhat.com, gdb-patches@sources.redhat.com Subject: Re: build/955: build failure with GDB-5.3: sparc-nat.c structure redefinition errors with sparc64-linux, glibc-2.2.x References: <20030427150800.19859.qmail@sources.redhat.com> <20030427153321.GA3394@nevyn.them.org> <20030510095712.A19164@u1sparc.j-son.org> <20030510153527.A5854@u1sparc.j-son.org> <20030825085704.A14976@u1sparc.j-son.org> <87wubggpby.fsf@amaterasu.srvr.nix> <20031008094017.A28615@u1sparc.j-son.org> From: Nix X-Emacs: (setq software-quality (/ 1 number-of-authors)) Date: Wed, 08 Oct 2003 09:03:00 -0000 In-Reply-To: <20031008094017.A28615@u1sparc.j-son.org> (Christian Joensson's message of "Wed, 8 Oct 2003 09:40:17 +0200") Message-ID: <87smm4gkzi.fsf@amaterasu.srvr.nix> User-Agent: Gnus/5.1002 (Gnus v5.10.2) XEmacs/21.4 (Rational FORTRAN, linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2003-10/txt/msg00201.txt.bz2 On Wed, 8 Oct 2003, Christian Joensson stipulated: > On Wed, Oct 08, 2003 at 08:29:05AM +0100, Nix wrote: >> On Mon, 25 Aug 2003, Christian Joensson uttered the following: >> > uhm, just tried gdb cvs HEAD, as of Sun Aug 24 12:01:38 UTC 2003, same thing: >> >> I'm back, at last. >> >> > In file included from /usr/include/asm/reg.h:7, >> > from /home/chj/src/gdb/sparc-nat.c:38: >> > /usr/include/asm-sparc64/reg.h:49: error: redefinition of `struct fpu' >> >> sparc64? Are you trying to build a 64-bit gdb? > > uhm, yes, to debug 64-bit binaries.... Oh, OK, so a lot of my suppositions are incorrect. > uhm, a 64-bit gdb is not that easy to accomplish, I guess, but > there'll be one in a future Aurora SPARC Linux, a development > gdb64-5.2-ish src rpm is available: sparc-nat.c hasn't changed much since 5.3 (although it's changing like billyo on the SPARC branch of course). You could always grab the gdb64-5.2 and see what's been done to sparc-nat.c in there, but it makes more sense to try to forward-port the whole lot (diffing against gdb-5.2-release, I guess, or see if the author posted a patch anywhere). Of course doing this is a bit pointless if the author of that patch is forward-porting it right now or kept it in synch with GDB CVS, which is not beyond the bounds of possibility. > ftp://auroralinux.org/pub/aurora/scratch Snarfing gdb64, this could be interesting :) -- `If you want a vision of the future, it is a wireless broadband network feeding requests for foreign money-laundering assistance into a human temporal lobe, forever. With banner ads.' --- John M. Ford