public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug python/16784] New: GDB fails to build with Python 3.4
@ 2014-03-31 14:33 simon.marchi at polymtl dot ca
  2014-03-31 14:33 ` [Bug python/16784] " simon.marchi at polymtl dot ca
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: simon.marchi at polymtl dot ca @ 2014-03-31 14:33 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=16784

            Bug ID: 16784
           Summary: GDB fails to build with Python 3.4
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: python
          Assignee: unassigned at sourceware dot org
          Reporter: simon.marchi at polymtl dot ca

GDB fails to build with Python 3.4, because they changed the signature of
PyOS_ReadlineFunctionPointer.

Python commit that introduced the change:
http://hg.python.org/cpython/rev/3055e61f1e66

Build log:

gcc -O0 -g3   -I. -I../../../src/binutils-gdb/gdb
-I../../../src/binutils-gdb/gdb/common -I../../../src/binutils-gdb/gdb/config
-DLOCALEDIR="\"/usr/local/share/locale\"" -DHAVE_CONFIG_H
-I../../../src/binutils-gdb/gdb/../include/opcode
-I../../../src/binutils-gdb/gdb/../opcodes/..
-I../../../src/binutils-gdb/gdb/../readline/.. -I../bfd
-I../../../src/binutils-gdb/gdb/../bfd
-I../../../src/binutils-gdb/gdb/../include -I../libdecnumber
-I../../../src/binutils-gdb/gdb/../libdecnumber 
-I../../../src/binutils-gdb/gdb/gnulib/import -Ibuild-gnulib/import   -DTUI=1 
-I/usr/include/python3.4m -I/home/simark/venv/include/python3.4m -Wall
-Wdeclaration-after-statement -Wpointer-arith -Wpointer-sign -Wno-unused
-Wunused-value -Wunused-function -Wno-switch -Wno-char-subscripts
-Wmissing-prototypes -Wdeclaration-after-statement -Wempty-body
-Wmissing-parameter-type -Wold-style-declaration -Wold-style-definition
-Wformat-nonliteral -Werror -c -o py-gdb-readline.o -MT py-gdb-readline.o -MMD
-MP -MF .deps/py-gdb-readline.Tpo -fno-strict-aliasing -DNDEBUG -fwrapv
../../../src/binutils-gdb/gdb/python/py-gdb-readline.c
../../../src/binutils-gdb/gdb/python/py-gdb-readline.c: In function
‘gdbpy_initialize_gdb_readline’:
../../../src/binutils-gdb/gdb/python/py-gdb-readline.c:110:34: error:
assignment from incompatible pointer type [-Werror]
     PyOS_ReadlineFunctionPointer = gdbpy_readline_wrapper;
                                  ^
cc1: all warnings being treated as errors
make: *** [py-gdb-readline.o] Error 1

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From gdb-prs-return-15491-listarch-gdb-prs=sources.redhat.com@sourceware.org Mon Mar 31 14:40:44 2014
Return-Path: <gdb-prs-return-15491-listarch-gdb-prs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-gdb-prs@sources.redhat.com
Received: (qmail 12319 invoked by alias); 31 Mar 2014 14:40:44 -0000
Mailing-List: contact gdb-prs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <gdb-prs.sourceware.org>
List-Subscribe: <mailto:gdb-prs-subscribe@sourceware.org>
List-Archive: <http://sourceware.org/ml/gdb-prs/>
List-Post: <mailto:gdb-prs@sourceware.org>
List-Help: <mailto:gdb-prs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: gdb-prs-owner@sourceware.org
Delivered-To: mailing list gdb-prs@sourceware.org
Received: (qmail 12297 invoked by uid 48); 31 Mar 2014 14:40:43 -0000
From: "patrick at parcs dot ath.cx" <sourceware-bugzilla@sourceware.org>
To: gdb-prs@sourceware.org
Subject: [Bug gdb/16785] New: internal error with "target record-full"
 followed by "checkpoint"
Date: Mon, 31 Mar 2014 14:40:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gdb
X-Bugzilla-Component: gdb
X-Bugzilla-Version: HEAD
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: patrick at parcs dot ath.cx
X-Bugzilla-Status: NEW
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot 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: <bug-16785-4717@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2014-q1/txt/msg00499.txt.bz2
Content-length: 757

https://sourceware.org/bugzilla/show_bug.cgi?id\x16785

            Bug ID: 16785
           Summary: internal error with "target record-full" followed by
                    "checkpoint"
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gdb
          Assignee: unassigned at sourceware dot org
          Reporter: patrick at parcs dot ath.cx

To reproduce:

$ gdb gdb
break main
run
target record-full
checkpoint

This sequence of commands results in the error "record_full_remove_breakpoint:
removing unknown breakpoint".

I can reproduce this error on gdb 7.6.2 and 7.7.50.20140331.

--
You are receiving this mail because:
You are on the CC list for the bug.


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

end of thread, other threads:[~2014-12-25  0:46 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-31 14:33 [Bug python/16784] New: GDB fails to build with Python 3.4 simon.marchi at polymtl dot ca
2014-03-31 14:33 ` [Bug python/16784] " simon.marchi at polymtl dot ca
2014-12-15 16:41 ` cvs-commit at gcc dot gnu.org
2014-12-15 16:42 ` simon.marchi at ericsson dot com
2014-12-25  0:46 ` cvs-commit 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).