Bug report
Bug description:
The error occurs when building Python 3.14 if HAVE_PROCESS_VM_READV is not defined.
cpython/Modules/../Python/remote_debug.h:886:15: error: implicit declaration of function ‘search_linux_map_for_section’ [-Werror=implicit-function-declaration]
address = search_linux_map_for_section(handle, "PyRuntime", "python")
It turns out that the implementation of the function is guarded by #if defined(__linux__) && HAVE_PROCESS_VM_READV.
But calls are using: #elif defined(__linux__) and they are located in the following locations:
Python/remote_debug.h:886:15
Modules/_remote_debugging_module.c:814:15
CPython versions tested on:
3.14
Operating systems tested on:
Linux