This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug python/16784] New: GDB fails to build with Python 3.4
- From: "simon.marchi at polymtl dot ca" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Mon, 31 Mar 2014 14:33:36 +0000
- Subject: [Bug python/16784] New: GDB fails to build with Python 3.4
- Auto-submitted: auto-generated
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.