Discussion:
GDB Build Failure On Head (Multiple Architectures)
(too old to reply)
Joel Sherrill
2014-08-13 22:09:02 UTC
Permalink
Raw Message
HI

I have multiple RTEMS targets (powerpc, sparc, sparc64, v850, etc)
failing to build on the head with this:

In file included from ../../binutils-gdb/gdb/symfile.c:32:0:
../../binutils-gdb/gdb/symfile.c: In function ‘map_overlay_command’:
../../binutils-gdb/gdb/objfiles.h:645:3: error: ‘sec’ may be used
uninitialized in this function [-Werror=maybe-uninitialized]
for (osect = objfile->sections; osect < objfile->sections_end; osect++) \
^
../../binutils-gdb/gdb/symfile.c:3360:23: note: ‘sec’ was declared here
struct obj_section *sec, *sec2;
^
cc1: all warnings being treated as errors

Suggestions?
--
Joel Sherrill, Ph.D. Director of Research & Development
***@OARcorp.com On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (256) 722-9985
Loading...