Skip to content

ZSTD build error when build without debug mode #134893

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Zheaoli opened this issue May 29, 2025 · 2 comments
Closed

ZSTD build error when build without debug mode #134893

Zheaoli opened this issue May 29, 2025 · 2 comments
Labels
type-bug An unexpected behavior, bug, or error

Comments

@Zheaoli
Copy link
Contributor

Zheaoli commented May 29, 2025

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

@Zheaoli Zheaoli added the type-bug An unexpected behavior, bug, or error label May 29, 2025
Zheaoli added a commit to Zheaoli/cpython that referenced this issue May 29, 2025
@StanFromIreland
Copy link
Contributor

cc @emmatyping

@thesamesam
Copy link
Contributor

Dupe of #134768 (#134769).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-bug An unexpected behavior, bug, or error
Projects
None yet
4 participants