Skip to content

Incomplete source file list for _zstd in Modules/Setup #158683

Description

@maxyz

Bug report

The _zstd entry in Modules/Setup only lists _zstd/_zstdmodule.c, omitting _zstd/zstddict.c, _zstd/compressor.c, and _zstd/decompressor.c.

When attempting to build _zstd as a static/built-in module via Modules/Setup (or Modules/Setup.local), the build fails at link time with undefined references:

undefined reference to `zstd_dict_type_spec'
undefined reference to `zstd_compressor_type_spec'
undefined reference to `zstd_decompressor_type_spec'

CPython versions tested on:

3.15

Operating systems tested on:

Linux

Linked PRs

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    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