This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Help needed with sparc
- From: Brad Lucier <lucier at math dot purdue dot edu>
- To: aoliva at redhat dot com (Alexandre Oliva)
- Cc: lucier at math dot purdue dot edu (Brad Lucier), jsturm at one-point dot com, atpoquet at ucdavis dot edu, gcc at gcc dot gnu dot org
- Date: Wed, 23 Jan 2002 22:16:44 -0500 (EST)
- Subject: Re: Help needed with sparc
> On Jan 23, 2002, Brad Lucier <lucier@math.purdue.edu> wrote:
>
> > Re:
> >> You must use a 64-bit gdb to debug 64-bit Solaris executables.
>
> > Which version of gdb? I got the following message when trying to
> > configure 5.1:
>
> > env CC='cc -xildoff -xarch=v9' ./configure sparcv9-sun-solaris2.8
> > ...
> > checking for X... libraries /pkgs/XFree86-3.3.3.1/lib, headers /pkgs/XFree86-3.3.3.1/include
> > configure: error: *** Gdb does not support host sparcv9-sun-solaris2.8
>
> gdb's configure recognizes sparc64-sun-solaris2.8, but not
> sparcv9-sun-solaris2.8. Here's a patch that I've had for a while that
> addresses this inconsistency in GDB WRT other packages. I'm not sure
> I've posted it before. Ok to install?
Thanks, that was a quick fix. If you imply that I should try to
build gdb versions with
env CC='cc -xildoff -xarch=v9' ./configure sparc64-sun-solaris2.8
make
and then run the tests with the new binaries, I did that, and the
results were the same, the only thing that didn't give me patent nonsense was
banach-574% ~/programs/gdb/gdb-5.1/gdb/gdb gengenrtl
GNU gdb 5.1
Copyright 2001 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "sparc64-sun-solaris2.8"...
.gdbinit:7: Error in sourced command file:
../../gcc/gdbinit.in:91: Error in sourced command file:
Function "fancy_abort" not defined.
(gdb) run
Starting program: /export/u3/lucier/programs/gcc/gcc-3.1/objdirv9/gcc/gengenrtl
Program received signal SIGSEGV, Segmentation fault.
0x1000020d4 in __do_global_ctors_aux ()
but for all I know, this may be nonsense, too.
Brad