public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
* insight/gdb build failure
@ 2003-10-29 18:52 Stephen P. Smith
  2003-10-30 20:39 ` Andrew Cagney
  0 siblings, 1 reply; 2+ messages in thread
From: Stephen P. Smith @ 2003-10-29 18:52 UTC (permalink / raw)
  To: gdb, insight

I am trying to build insight and am getting an error in the sim
directory.    I This is from current sources checked out of 
CVS.
  Doesn't anyone know why I might be getting this error. 
BTW, I even
did a fresh install of cygwin to make sure I was up to date.

sps

gcc (GCC) 3.3.1 (cygming special)
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying 
conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A 
PARTICULAR PURPOSE.

/htc/GNUSource/gdb-source-tree/gdb-current/configure
--prefix=/usr/local/bleeding-edge-gdb 
--target=powerpc-motorola-elf
--host=i686-pc-cygwin --build=i686-pc-cygwin
make all-gdb

<snip>

gcc -c -g -O2 -DDEFAULT_INLINE=PSIM_INLINE_LOCALS
-DWITH_HOST_BYTE_ORDER=LITTLE_ENDIAN -DWITH_SMP=5
-DHAVE_TERMIOS_STRUCTURE -DHAVE_TERMIOS_CLINE -DHAVE_DEVZERO 
     -I.
-I/htc/GNUSource/gdb-source-tree/gdb-current/sim/ppc
-I/htc/GNUSource/gdb-source-tree/gdb-current/sim/ppc/../../include 

-I../../bfd
-I/htc/GNUSource/gdb-source-tree/gdb-current/sim/ppc/../../bfd
-I../../gdb
-I/htc/GNUSource/gdb-source-tree/gdb-current/sim/ppc/../../gdb
-I/htc/GNUSource/gdb-source-tree/gdb-current/sim/ppc/../../gdb/config 

-I/htc/GNUSource/gdb-source-tree/gdb-current/sim/ppc/../../mmalloc 

-I../../intl
-I/htc/GNUSource/gdb-source-tree/gdb-current/sim/ppc/../../intl
-DHAVE_COMMON_FPU
-I/htc/GNUSource/gdb-source-tree/gdb-current/sim/ppc/../common 
icache.c
/cygdrive/c/DOCUME~1/ssmith/LOCALS~1/Temp/ccEI31Oh.s: 
Assembler messages:
/cygdrive/c/DOCUME~1/ssmith/LOCALS~1/Temp/ccEI31Oh.s:261617: 
Warning:
.stabn: description field '1004a' too big, try a different 
debug format


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: insight/gdb build failure
  2003-10-29 18:52 insight/gdb build failure Stephen P. Smith
@ 2003-10-30 20:39 ` Andrew Cagney
  0 siblings, 0 replies; 2+ messages in thread
From: Andrew Cagney @ 2003-10-30 20:39 UTC (permalink / raw)
  To: Stephen P. Smith; +Cc: gdb, insight

> 
> gcc -c -g -O2 -DDEFAULT_INLINE=PSIM_INLINE_LOCALS
> -DWITH_HOST_BYTE_ORDER=LITTLE_ENDIAN -DWITH_SMP=5
> -DHAVE_TERMIOS_STRUCTURE -DHAVE_TERMIOS_CLINE -DHAVE_DEVZERO     -I.
> -I/htc/GNUSource/gdb-source-tree/gdb-current/sim/ppc
> -I/htc/GNUSource/gdb-source-tree/gdb-current/sim/ppc/../../include
> -I../../bfd
> -I/htc/GNUSource/gdb-source-tree/gdb-current/sim/ppc/../../bfd
> -I../../gdb
> -I/htc/GNUSource/gdb-source-tree/gdb-current/sim/ppc/../../gdb
> -I/htc/GNUSource/gdb-source-tree/gdb-current/sim/ppc/../../gdb/config
> -I/htc/GNUSource/gdb-source-tree/gdb-current/sim/ppc/../../mmalloc
> -I../../intl
> -I/htc/GNUSource/gdb-source-tree/gdb-current/sim/ppc/../../intl
> -DHAVE_COMMON_FPU
> -I/htc/GNUSource/gdb-source-tree/gdb-current/sim/ppc/../common icache.c
> /cygdrive/c/DOCUME~1/ssmith/LOCALS~1/Temp/ccEI31Oh.s: Assembler messages:
> /cygdrive/c/DOCUME~1/ssmith/LOCALS~1/Temp/ccEI31Oh.s:261617: Warning:
> .stabn: description field '1004a' too big, try a different debug format 

You can "safely" ignore this.  I believe it is because the generated 
file icache.c contains more than 0xffff lines (the file is ~80 000 lines 
long) and that is overflowing a 16-bit field used by stabs to store the 
line-number information.

You can also look at compiling that file with -gdwarf2 (from memory) 
which has better support for long files.

Andrew


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-10-30 20:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-29 18:52 insight/gdb build failure Stephen P. Smith
2003-10-30 20:39 ` Andrew Cagney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).