This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author freakboy3742
Recipients freakboy3742
Date 2021-06-19.03:24:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1624073089.72.0.865720775518.issue44458@roundup.psfhosted.org>
In-reply-to
Content
BPO-41486 added _BlocksOutputBuffer for the bz2, lzma and zlib module.

Part of this patch included a new header file, pycore_blocks_output_buffer.h, which defines a BUFFER_BLOCK_SIZE constant.

If two or more of the bz2, lzma or zlib modules are compiled as statically linked modules (i.e., added to Lib/Setup.local), this results in a duplicate symbol error when the Python executable is linked:

```
duplicate symbol '_BUFFER_BLOCK_SIZE' in:
    libpython3.10.a(_bz2module.o)
    libpython3.10.a(_lzmamodule.o)
duplicate symbol '_BUFFER_BLOCK_SIZE' in:
    libpython3.10.a(_bz2module.o)
    libpython3.10.a(zlibmodule.o)
```
History
Date User Action Args
2021-06-19 03:24:49freakboy3742setrecipients: + freakboy3742
2021-06-19 03:24:49freakboy3742setmessageid: <1624073089.72.0.865720775518.issue44458@roundup.psfhosted.org>
2021-06-19 03:24:49freakboy3742linkissue44458 messages
2021-06-19 03:24:49freakboy3742create