Build Error. too few arguments to function ‘int _PyImport_FixupBuiltin(PyObject*, const char*, PyObject*)’ _PyImport_FixupBuiltin
Not too certain what is causing this, I'll look into it more tomorrow.
/root/shakti-linux/riscv-gnu-toolchain/riscv-binutils-gdb/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:145,
from /root/shakti-linux/riscv-gnu-toolchain/riscv-binutils-gdb/gdb/python/python-internal.h:94,
from /root/shakti-linux/riscv-gnu-toolchain/riscv-binutils-gdb/gdb/python/python.c:94:
/usr/include/python3.7m/import.h:112:17: note: declared here
PyAPI_FUNC(int) _PyImport_FixupBuiltin(
^~~~~~~~~~~~~~~~~~~~~~
make[4]: *** [Makefile:1947: python.o] Error 1
make[4]: *** Waiting for unfinished jobs....
In file included from /root/shakti-linux/riscv-gnu-toolchain/riscv-binutils-gdb/gdb/defs.h:785,
from /root/shakti-linux/riscv-gnu-toolchain/riscv-binutils-gdb/gdb/dtrace-probe.c:22:
/root/shakti-linux/riscv-gnu-toolchain/riscv-binutils-gdb/gdb/utils.h:74:24: warning: unnecessary parentheses in declaration of ‘make_cleanup_free_section_addr_info’ [-Wparentheses]
extern struct cleanup *(make_cleanup_free_section_addr_info
^
In file included from /root/shakti-linux/riscv-gnu-toolchain/riscv-binutils-gdb/gdb/defs.h:785,
from /root/shakti-linux/riscv-gnu-toolchain/riscv-binutils-gdb/gdb/posix-hdep.c:20:
/root/shakti-linux/riscv-gnu-toolchain/riscv-binutils-gdb/gdb/utils.h:74:24: warning: unnecessary parentheses in declaration of ‘make_cleanup_free_section_addr_info’ [-Wparentheses]
extern struct cleanup *(make_cleanup_free_section_addr_info
^
make[4]: Leaving directory '/root/shakti-linux/work/riscv-gnu-toolchain/build-binutils-linux/gdb'
make[3]: *** [Makefile:10421: all-gdb] Error 2
make[3]: Leaving directory '/root/shakti-linux/work/riscv-gnu-toolchain/build-binutils-linux'
make[2]: *** [Makefile:850: all] Error 2
make[2]: Leaving directory '/root/shakti-linux/work/riscv-gnu-toolchain/build-binutils-linux'
make[1]: *** [Makefile:139: stamps/build-binutils-linux] Error 2
make[1]: Leaving directory '/root/shakti-linux/work/riscv-gnu-toolchain'
make: *** [Makefile:56: /root/shakti-linux/toolchain/bin/riscv64-unknown-linux-gnu-gcc] Error 2
root@vultr:~/shakti-linux# make menuconfig
make: *** No rule to make target 'menuconfig'. Stop.
root@vultr:~/shakti-linux# make -j $(nproc) ISA=rv64imafd^C
Edited by Jacob Gadikian