Content-Length: 287725 | pFad | https://github.com/python/cpython/issues/112867

65 build fails with -DWITH_PYMALLOC_RADIX_TREE=0 · Issue #112867 · python/cpython · GitHub
Skip to content

build fails with -DWITH_PYMALLOC_RADIX_TREE=0 #112867

@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









    ApplySandwichStrip

    pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


    --- a PPN by Garber Painting Akron. With Image Size Reduction included!

    Fetched URL: https://github.com/python/cpython/issues/112867

    Alternative Proxies:

    Alternative Proxy

    pFad Proxy

    pFad v3 Proxy

    pFad v4 Proxy