This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug python/15463] New: GDB fails to build
- From: "mbilal at codesourcery dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Mon, 13 May 2013 06:33:16 +0000
- Subject: [Bug python/15463] New: GDB fails to build
- Auto-submitted: auto-generated
http://sourceware.org/bugzilla/show_bug.cgi?id=15463
Bug #: 15463
Summary: GDB fails to build
Product: gdb
Version: unknown
Status: NEW
Severity: critical
Priority: P2
Component: python
AssignedTo: unassigned@sourceware.org
ReportedBy: mbilal@codesourcery.com
Classification: Unclassified
while I was building the latest gdb Read-write CVS checkout version
my build failed.
These were my building steps.
1) objdir$ ./../src/configure --prefix=/home/mbilal/commit-gdb-cvs/installdir
2) objdir$ make
but after the make I got errors (following is the log)
-MF .deps/py-framefilter.Tpo -fno-strict-aliasing -DNDEBUG -fwrapv
.././../src/gdb/python/py-framefilter.c
In file included from .././../src/gdb/python/py-framefilter.c:24:0:
.././../src/gdb/python/py-framefilter.c: In function âenumerate_localsâ:
.././../src/gdb/exceptions.h:152:31: error: âbufâ may be used uninitialized in
this function [-Werror=maybe-uninitialized]
EXCEPTIONS_SIGJMP_BUF *buf = \
^
.././../src/gdb/exceptions.h:152:31: note: âbufâ was declared here
EXCEPTIONS_SIGJMP_BUF *buf = \
^
.././../src/gdb/python/py-framefilter.c:839:7: note: in expansion of macro
âTRY_CATCHâ
TRY_CATCH (except, RETURN_MASK_ALL)
^
.././../src/gdb/exceptions.h:152:31: error: âbufâ may be used uninitialized in
this function [-Werror=maybe-uninitialized]
EXCEPTIONS_SIGJMP_BUF *buf = \
^
.././../src/gdb/exceptions.h:152:31: note: âbufâ was declared here
EXCEPTIONS_SIGJMP_BUF *buf = \
^
.././../src/gdb/python/py-framefilter.c:782:7: note: in expansion of macro
âTRY_CATCHâ
TRY_CATCH (except, RETURN_MASK_ALL)
^
.././../src/gdb/exceptions.h:152:31: error: âbufâ may be used uninitialized in
this function [-Werror=maybe-uninitialized]
EXCEPTIONS_SIGJMP_BUF *buf = \
^
.././../src/gdb/exceptions.h:152:31: note: âbufâ was declared here
EXCEPTIONS_SIGJMP_BUF *buf = \
^
.././../src/gdb/python/py-framefilter.c:762:4: note: in expansion of macro
âTRY_CATCHâ
TRY_CATCH (except, RETURN_MASK_ALL)
^
.././../src/gdb/python/py-framefilter.c:732:23: error: âlocals_cleanupsâ may be
used uninitialized in this function [-Werror=maybe-uninitialized]
struct cleanup *locals_cleanups;
^
.././../src/gdb/python/py-framefilter.c:731:11: error: âlocal_indentâ may be
used uninitialized in this function [-Werror=maybe-uninitialized]
int local_indent = 8 + (8 * indent);
^
cc1: all warnings being treated as errors
make[2]: *** [py-framefilter.o] Error 1
make[2]: Leaving directory `/home/mbilal/commit-gdb-cvs/objdir/gdb'
make[1]: *** [all-gdb] Error 2
make[1]: Leaving directory `/home/mbilal/commit-gdb-cvs/objdir'
make: *** [all] Error 2
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.