yvan at sraka dot pw
2018-09-23 09:36:24 UTC
https://sourceware.org/bugzilla/show_bug.cgi?id=23702
Bug ID: 23702
Summary: GDB 8.0 doesn't compile with gcc version 8.2.1
20180831 on x86_64-pc-linux-gnu
Product: gdb
Version: 8.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: python
Assignee: unassigned at sourceware dot org
Reporter: yvan at sraka dot pw
Target Milestone: ---
Hello,
I try to compile GDB 8.0 on ArchLinux and gcc version 8.2.1 20180831 give me
this compilation error:
g++ -g -O2 -I. -I../../../../src/gdb-8.0/gdb
-I../../../../src/gdb-8.0/gdb/common -I../../../../src/gdb-8.0/gdb/config
-DLOCALEDIR="\"/home/$USER/compilo/bin/share/locale\"" -DHAVE_CONFIG_H
-I../../../../src/gdb-8.0/gdb/../include/opcode
-I../../../../src/gdb-8.0/gdb/../opcodes/..
-I../../../../src/gdb-8.0/gdb/../readline/..
-I../../../../src/gdb-8.0/gdb/../zlib -I../bfd
-I../../../../src/gdb-8.0/gdb/../bfd -I../../../../src/gdb-8.0/gdb/../include
-I../libdecnumber -I../../../../src/gdb-8.0/gdb/../libdecnumber
-I../../../../src/gdb-8.0/gdb/gnulib/import -Ibuild-gnulib/import -DTUI=1
-I/usr/include/guile/2.2 -pthread -I/usr/include/python3.7m
-I/usr/include/python3.7m -Wall -Wpointer-arith -Wno-unused -Wunused-value
-Wunused-function -Wno-switch -Wno-char-subscripts -Wempty-body
-Wunused-but-set-parameter -Wunused-but-set-variable -Wno-sign-compare
-Wno-narrowing -Wformat-nonliteral -c -o python.o -MT python.o -MMD -MP -MF
.deps/python.Tpo -fno-strict-aliasing -DNDEBUG -fwrapv
../../../../src/gdb-8.0/gdb/python/python.c
[Some warnings...]
../../../../src/gdb-8.0/gdb/python/python.c: In function ‘bool
do_start_initialization()’:
../../../../src/gdb-8.0/gdb/python/python.c:1584:45: error: too few arguments
to function ‘int _PyImport_FixupBuiltin(PyObject*, const char*, PyObject*)’
_PyImport_FixupBuiltin (gdb_module, "_gdb");
^
In file included from /usr/include/python3.7m/Python.h:126,
from ../../../../src/gdb-8.0/gdb/python/python-internal.h:94,
from ../../../../src/gdb-8.0/gdb/python/python.c:94:
/usr/include/python3.7m/import.h:115:17: note: declared here
PyAPI_FUNC(int) _PyImport_FixupBuiltin(
I have Python 3.7.0 on my machine and I configured gdb compilation with:
../../../src/gdb-8.0/configure --prefix=/home/$USER/compilo/bin \
--target=mipsel-unknown-elf --program-prefix=mipsel-unknown-elf-
Thanks for reading,
Bug ID: 23702
Summary: GDB 8.0 doesn't compile with gcc version 8.2.1
20180831 on x86_64-pc-linux-gnu
Product: gdb
Version: 8.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: python
Assignee: unassigned at sourceware dot org
Reporter: yvan at sraka dot pw
Target Milestone: ---
Hello,
I try to compile GDB 8.0 on ArchLinux and gcc version 8.2.1 20180831 give me
this compilation error:
g++ -g -O2 -I. -I../../../../src/gdb-8.0/gdb
-I../../../../src/gdb-8.0/gdb/common -I../../../../src/gdb-8.0/gdb/config
-DLOCALEDIR="\"/home/$USER/compilo/bin/share/locale\"" -DHAVE_CONFIG_H
-I../../../../src/gdb-8.0/gdb/../include/opcode
-I../../../../src/gdb-8.0/gdb/../opcodes/..
-I../../../../src/gdb-8.0/gdb/../readline/..
-I../../../../src/gdb-8.0/gdb/../zlib -I../bfd
-I../../../../src/gdb-8.0/gdb/../bfd -I../../../../src/gdb-8.0/gdb/../include
-I../libdecnumber -I../../../../src/gdb-8.0/gdb/../libdecnumber
-I../../../../src/gdb-8.0/gdb/gnulib/import -Ibuild-gnulib/import -DTUI=1
-I/usr/include/guile/2.2 -pthread -I/usr/include/python3.7m
-I/usr/include/python3.7m -Wall -Wpointer-arith -Wno-unused -Wunused-value
-Wunused-function -Wno-switch -Wno-char-subscripts -Wempty-body
-Wunused-but-set-parameter -Wunused-but-set-variable -Wno-sign-compare
-Wno-narrowing -Wformat-nonliteral -c -o python.o -MT python.o -MMD -MP -MF
.deps/python.Tpo -fno-strict-aliasing -DNDEBUG -fwrapv
../../../../src/gdb-8.0/gdb/python/python.c
[Some warnings...]
../../../../src/gdb-8.0/gdb/python/python.c: In function ‘bool
do_start_initialization()’:
../../../../src/gdb-8.0/gdb/python/python.c:1584:45: error: too few arguments
to function ‘int _PyImport_FixupBuiltin(PyObject*, const char*, PyObject*)’
_PyImport_FixupBuiltin (gdb_module, "_gdb");
^
In file included from /usr/include/python3.7m/Python.h:126,
from ../../../../src/gdb-8.0/gdb/python/python-internal.h:94,
from ../../../../src/gdb-8.0/gdb/python/python.c:94:
/usr/include/python3.7m/import.h:115:17: note: declared here
PyAPI_FUNC(int) _PyImport_FixupBuiltin(
I have Python 3.7.0 on my machine and I configured gdb compilation with:
../../../src/gdb-8.0/configure --prefix=/home/$USER/compilo/bin \
--target=mipsel-unknown-elf --program-prefix=mipsel-unknown-elf-
Thanks for reading,
--
You are receiving this mail because:
You are on the CC list for the bug.
You are receiving this mail because:
You are on the CC list for the bug.