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: jsturm at one-point dot com (Jeff Sturm)
- Cc: lucier at math dot purdue dot edu (Brad Lucier), atpoquet at ucdavis dot edu, gcc at gcc dot gnu dot org
- Date: Wed, 23 Jan 2002 19:53:20 -0500 (EST)
- Subject: Re: Help needed with sparc
>
> On Wed, 23 Jan 2002, Brad Lucier wrote:
> > Which version of gdb?
>
> Something recent. I took a snapshot from mainline. The 5.1 branch might
> work. But I'm using dwarf2 not stabs, so I needed the string table fixes.
>
> > I got the following message when trying to
> > configure 5.1:
> >
> > env CC='cc -xildoff -xarch=v9' ./configure sparcv9-sun-solaris2.8
>
> I just configured for sparc-sun-solaris2.8, but with a 64-bit compiler.
> That worked for me.
OK, with gdb 5.1 I get the following result:
env CC='cc -xildoff -xarch=v9' ./configure >& configure-log
make -j 4 >& build.log
banach-498% ~/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 "sparc-sun-solaris2.8"...
.gdbinit:7: Error in sourced command file:
../../gcc/gdbinit.in:91: Error in sourced command file:
Function "fancy_abort" not defined.
and
env CC='cc -xildoff -xarch=v9' ./configure sparcv9-sun-solaris2.8 >& configure-log
won't configure.
With today's CVS sources of gdb and dejagnu I get
env CC='cc -xildoff -xarch=v9' ./configure >& configure-log
make
...
cc -xildoff -xarch=v9 -c -g -I/usr/include/v9 -I. -I. -I./config -DHAVE_CONFIG_H -I./../include/opcode -I./../readline/.. -I../bfd -I./../bfd -I./../include -I../intl -I./../intl -DMI_OUT=1 -DUI_OUT=1 doublest.c
"doublest.c", line 735: void function cannot return value
cc: acomp failed for doublest.c
and
env CC='cc -xildoff -xarch=v9' ./configure sparcv9-sun-solaris2.8 >& configure-log
won't configure.
So, specifically,
1. Which version of gdb did you get to configure and compile?
2. Which 64-bit compiler did you use to build gdb?
Brad