From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5123 invoked by alias); 15 May 2013 12:11:23 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 5094 invoked by uid 48); 15 May 2013 12:11:19 -0000 From: "muhammad_bilal at mentor dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/57287] New: GCC 4.9.0 fails to build GDB on Ubuntu 12.04 Date: Wed, 15 May 2013 12:11:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new 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: normal 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_id short_desc product version bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2013-05/txt/msg00999.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D57287 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=20 $CC=3D"/home/mbilal/gcc-svn/install/bin/gcc" ./../src/configure --prefix=3D/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 =E2=80=98enumerate_loc= als=E2=80=99: .././../src/gdb/exceptions.h:152:31: error: =E2=80=98buf=E2=80=99 may be us= ed uninitialized in this function [-Werror=3Dmaybe-uninitialized] EXCEPTIONS_SIGJMP_BUF *buf =3D \ ^ .././../src/gdb/exceptions.h:152:31: note: =E2=80=98buf=E2=80=99 was declar= ed here EXCEPTIONS_SIGJMP_BUF *buf =3D \ ^ .././../src/gdb/python/py-framefilter.c:839:7: note: in expansion of macro =E2=80=98TRY_CATCH=E2=80=99 TRY_CATCH (except, RETURN_MASK_ALL) ^ .././../src/gdb/exceptions.h:152:31: error: =E2=80=98buf=E2=80=99 may be us= ed uninitialized in this function [-Werror=3Dmaybe-uninitialized] EXCEPTIONS_SIGJMP_BUF *buf =3D \ ^ .././../src/gdb/exceptions.h:152:31: note: =E2=80=98buf=E2=80=99 was declar= ed here EXCEPTIONS_SIGJMP_BUF *buf =3D \ ^ .././../src/gdb/python/py-framefilter.c:782:7: note: in expansion of macro =E2=80=98TRY_CATCH=E2=80=99 TRY_CATCH (except, RETURN_MASK_ALL) ^ .././../src/gdb/exceptions.h:152:31: error: =E2=80=98buf=E2=80=99 may be us= ed uninitialized in this function [-Werror=3Dmaybe-uninitialized] EXCEPTIONS_SIGJMP_BUF *buf =3D \ ^ .././../src/gdb/exceptions.h:152:31: note: =E2=80=98buf=E2=80=99 was declar= ed here EXCEPTIONS_SIGJMP_BUF *buf =3D \ ^ .././../src/gdb/python/py-framefilter.c:762:4: note: in expansion of macro =E2=80=98TRY_CATCH=E2=80=99 TRY_CATCH (except, RETURN_MASK_ALL) ^ .././../src/gdb/python/py-framefilter.c:732:23: error: =E2=80=98locals_clea= nups=E2=80=99 may be used uninitialized in this function [-Werror=3Dmaybe-uninitialized] struct cleanup *locals_cleanups; ^ .././../src/gdb/python/py-framefilter.c:731:11: error: =E2=80=98local_inden= t=E2=80=99 may be used uninitialized in this function [-Werror=3Dmaybe-uninitialized] int local_indent =3D 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: =E2=80=98local_inden= t=E2=80=99 may be used uninitialized in this function [-Werror=3Dmaybe-uninitialized] int local_indent =3D 8 + (8 * indent); First I reported a bug on GDB bugzilla http://sourceware.org/bugzilla/show_bug.cgi?id=3D15463#c4 >>From gcc-bugs-return-422328-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 15 12:32:29 2013 Return-Path: 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: List-Archive: List-Post: List-Help: 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" 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: In-Reply-To: References: 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?id=57287 hmb changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |blocker