This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
GDB Build Failure On Head (Multiple Architectures)
- From: Joel Sherrill <joel dot sherrill at oarcorp dot com>
- To: "gdb at sourceware dot org" <gdb at sourceware dot org>, Chris Johns <chrisj at rtems dot org>
- Date: Wed, 13 Aug 2014 17:09:02 -0500
- Subject: GDB Build Failure On Head (Multiple Architectures)
- Authentication-results: sourceware.org; auth=none
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
joel.sherrill@OARcorp.com On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (256) 722-9985