Skip to content

3.14.0rc3 - remote debug does not compile and cannot be disabled #139275

@chargr

Description

@chargr

Bug report

Bug description:

compiling 3.14.0rc3 on centos6 with gcc 13.3.0 (works centos7+)

d4f6952b99e2: In file included from ./Modules/_remote_debugging_module.c:31:
d4f6952b99e2: ./Modules/../Python/remote_debug.h: In function '_Py_RemoteDebug_GetPyRuntimeAddress':
d4f6952b99e2: ./Modules/../Python/remote_debug.h:886:15: error: implicit declaration of function 'search_linux_map_for_section' [-Werror=implicit-function-declaration]
d4f6952b99e2: 886 |     address = search_linux_map_for_section(handle, "PyRuntime", "python");
d4f6952b99e2: |               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~

set "no-error" for this but that was not a good solution

[ERROR] _remote_debugging failed to import: /build/Python-3.14.0rc3/build/lib.linux-x86_64-3.14/_remote_debugging.cpython-314-x86_64-linux-gnu.so: undefined symbol: search_linux_map_for_section

attempted to disable --without-remote-debug and --with-remote-debug=no and neither worked.

id like to be able to just disable the module for now.

CPython versions tested on:

3.14

Operating systems tested on:

Linux

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions