This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC 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: 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


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