Skip to content

ZSTD build error when build without debug mode #134893

Closed as duplicate of#134768
Closed as duplicate of#134768
@Zheaoli

Description

@Zheaoli

Bug report

Bug description:

./python -E ./Tools/build/generate-build-details.py `cat pybuilddir.txt`/build-details.json
In file included from ./Include/Python.h:19,
                 from ./Modules/_zstd/compressor.c:15:
./Modules/_zstd/compressor.c: In function ‘compress_mt_continue_lock_held’:
./Modules/_zstd/compressor.c:570:20: error: implicit declaration of function ‘mt_continue_should_break’ [-Wimplicit-function-declaration]
  570 |             assert(mt_continue_should_break(&in, &out));
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~
make: *** [Makefile:3579: Modules/_zstd/compressor.o] Error 1

CPython versions tested on:

CPython main branch

Operating systems tested on:

Linux

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    type-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions