This is the mail archive of the gdb-prs@sources.redhat.com 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]

Re: build/955: build failure with GDB-5.3: sparc-nat.c structureredefinition errors with sparc64-linux, glibc-2.2.x


The following reply was made to PR build/955; it has been noted by GNATS.

From: Nix <nix@esperi.org.uk>
To: Christian Joensson <christian@j-son.org>
Cc: "Tom 'spot' Callaway" <tcallawa@redhat.com>, 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
Date: Wed, 08 Oct 2003 10:02:57 +0100

 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


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