This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB 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]

[Bug build/11978] New: i386-dis.c:11513:17: error: array subscript is above array bounds


I'm trying to build version 7.2 and have encountered the following:

make[4]: Entering directory `/home/ronis/gdb-7.2/opcodes'
/bin/sh ./libtool --tag=CC   --mode=compile /usr/bin/gcc -DHAVE_CONFIG_H -I. 
-I. -I. -I../bfd -I./../include -I./../bfd    -W -Wall -Wstrict-prototypes
-Wmissing-prototypes -Wshadow -Werror -march=native -msse2 -mfpmath=sse -O3
-ffast-math -funroll-loops -fomit-frame-pointer -floop-interchange
-floop-strip-mine -floop-block -MT i386-dis.lo -MD -MP -MF .deps/i386-dis.Tpo -c
-o i386-dis.lo i386-dis.c
libtool: compile:  /usr/bin/gcc -DHAVE_CONFIG_H -I. -I. -I. -I../bfd
-I./../include -I./../bfd -W -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wshadow -Werror -march=native -msse2 -mfpmath=sse -O3 -ffast-math
-funroll-loops -fomit-frame-pointer -floop-interchange -floop-strip-mine
-floop-block -MT i386-dis.lo -MD -MP -MF .deps/i386-dis.Tpo -c i386-dis.c -o
i386-dis.o
cc1: warnings being treated as errors
i386-dis.c: In function 'print_insn':
i386-dis.c:11513:17: error: array subscript is above array bounds
make[4]: *** [i386-dis.lo] Error 1
make[4]: Leaving directory `/home/ronis/gdb-7.2/opcodes'

I can suppress the -Werror, but am nervous about doing so.  I'm using gcc 4.5.1
on a slackware 12.2 box.

-- 
           Summary: i386-dis.c:11513:17: error: array subscript is above
                    array bounds
           Product: gdb
           Version: 7.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: build
        AssignedTo: unassigned at sourceware dot org
        ReportedBy: david dot ronis at mcgill dot ca
                CC: gdb-prs at sourceware dot org
 GCC build triplet: i686/linux/gnu
  GCC host triplet: i686/linux/gnu
GCC target triplet: i686/linux/gnu


http://sourceware.org/bugzilla/show_bug.cgi?id=11978

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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