public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/57287] New: GCC 4.9.0 fails to build GDB on Ubuntu 12.04
@ 2013-05-15 12:11 muhammad_bilal at mentor dot com
  2013-05-15 12:43 ` [Bug c/57287] " palves at redhat dot com
                   ` (19 more replies)
  0 siblings, 20 replies; 21+ messages in thread
From: muhammad_bilal at mentor dot com @ 2013-05-15 12:11 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57287

            Bug ID: 57287
           Summary: GCC 4.9.0 fails to build GDB on Ubuntu 12.04
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: muhammad_bilal at mentor dot com

While I was building the latest GDB CVS source code with
gcc (GCC) 4.9.0 20130513 (experimental)
with building step
with building step 

$CC="/home/mbilal/gcc-svn/install/bin/gcc" ./../src/configure
--prefix=/home/mbilal/commit-gdb-cvs/install

$ make

I got errors

 -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


But something looks really bogus with errors like

.././../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);

First I reported a bug on GDB bugzilla
http://sourceware.org/bugzilla/show_bug.cgi?id=15463#c4
>From gcc-bugs-return-422328-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 15 12:32:29 2013
Return-Path: <gcc-bugs-return-422328-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 17160 invoked by alias); 15 May 2013 12:32:29 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 17140 invoked by uid 48); 15 May 2013 12:32:25 -0000
From: "muhammad_bilal at mentor dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/57287] GCC 4.9.0 fails to build GDB on Ubuntu 12.04
Date: Wed, 15 May 2013 12:32:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c
X-Bugzilla-Version: 4.9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: blocker
X-Bugzilla-Who: muhammad_bilal at mentor dot com
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_severity
Message-ID: <bug-57287-4-azAuEGbL55@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-57287-4@http.gcc.gnu.org/bugzilla/>
References: <bug-57287-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2013-05/txt/msg01001.txt.bz2
Content-length: 290

http://gcc.gnu.org/bugzilla/show_bug.cgi?idW287

hmb <muhammad_bilal at mentor dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |blocker


^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2013-09-03  7:53 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-05-15 12:11 [Bug c/57287] New: GCC 4.9.0 fails to build GDB on Ubuntu 12.04 muhammad_bilal at mentor dot com
2013-05-15 12:43 ` [Bug c/57287] " palves at redhat dot com
2013-05-15 13:00 ` rguenth at gcc dot gnu.org
2013-05-22 17:10 ` [Bug middle-end/57287] " palves at redhat dot com
2013-05-23 10:57 ` muhammad_bilal at mentor dot com
2013-05-23 11:02 ` rguenth at gcc dot gnu.org
2013-05-23 11:03 ` rguenth at gcc dot gnu.org
2013-05-23 14:34 ` rguenth at gcc dot gnu.org
2013-05-23 14:42 ` rguenth at gcc dot gnu.org
2013-05-24 11:01 ` rguenth at gcc dot gnu.org
2013-05-24 12:45 ` rguenth at gcc dot gnu.org
2013-08-19 21:54 ` meadori at gcc dot gnu.org
2013-08-28  8:37 ` [Bug middle-end/57287] [4.9 Regression] Bogous uninitialized warning with abnormal control flow rguenth at gcc dot gnu.org
2013-08-28 16:58 ` xinliangli at gmail dot com
2013-08-29  8:18 ` [Bug middle-end/57287] [4.9 Regression] Bogus " rguenth at gcc dot gnu.org
2013-08-29 11:20 ` rguenth at gcc dot gnu.org
2013-08-29 11:20 ` rguenth at gcc dot gnu.org
2013-08-29 16:33 ` meadori at gcc dot gnu.org
2013-09-03  0:51 ` amylaar at gcc dot gnu.org
2013-09-03  7:49 ` rguenther at suse dot de
2013-09-03  7:53 ` rguenth at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).