Skip to content

build fails with -DWITH_PYMALLOC_RADIX_TREE=0 #112867

Closed
@doko42

Description

@doko42

Bug report

Bug description:

bpo-37448 added a radix tree based memory map, also allowing to disable it:

To disable the radix tree map, set a preprocessor flag as follows:
-DWITH_PYMALLOC_RADIX_TREE=0.

However building with that fails:

In file included from ../Include/internal/pycore_interp.h:31,
                 from ../Include/internal/pycore_runtime.h:18,
                 from ../Include/internal/pycore_pystate.h:11,
                 from ../Modules/_asynciomodule.c:7:
../Include/internal/pycore_obmalloc.h:668:28: error: field 'usage' has incomplete type
  668 |     struct _obmalloc_usage usage;
      |                            ^~~~~

CPython versions tested on:

3.12

Operating systems tested on:

Linux

Linked PRs

Metadata

Metadata

Assignees

Labels

buildThe build process and cross-buildtype-bugAn unexpected behavior, bug, or error

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions