Closed
Description
The Linux builds for release 20231002 include the use of the flag -fdebug-default-version
.
This flag is only available on clang-9 or later, which means that the environment providing binary modules must provide a clang, not just gcc - and a relatively recent (post 2019) version of clang at that.
This is problematic for:
- Flatpak, which only provides gcc in the development sandbox
- Any manylinux build in an environment earlier than manylinux_2_28. manylinux_2014 (which is the next oldest still supported manylinux) only provides clang-5.
It's not explicitly stated in the docs that Python-build-standalone builds should support gcc
, but there are comments in this document that strongly imply using gcc
for third-party binary module compilation is a supported use case.