insight/gdb build failure

Andrew Cagney ac131313@redhat.com
Thu Oct 30 20:39:00 GMT 2003


> 
> 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




More information about the Gdb mailing list