Skip to content
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

BLD: fix segfault with manylinux2014 #4911

Merged
merged 1 commit into from
May 23, 2024

Conversation

yut23
Copy link
Member

@yut23 yut23 commented May 21, 2024

PR Summary

Follow-up to #4909.

We originally had static linking enabled due to ABI conflicts, as discussed in #3406. However, the cibuildwheel docs currently say that manylinux2014 supports all C++ standards up to C++17 (https://cibuildwheel.pypa.io/en/stable/cpp_standards/).

I think the segfaults may have to do with multiple versions of libstdc++ being loaded at the same time. A couple of compiled modules in matplotlib dynamically link to libstdc++.so.6, which seems like it could cause this sort of issue.

@yut23 yut23 added infrastructure Related to CI, versioning, websites, organizational issues, etc build related to the build process labels May 21, 2024
@neutrinoceros
Copy link
Member

Thanks a lot for digging into this ! I merged #4909. Can you rebase this to simplify the diff ?

The cibuildwheel docs say that manylinux2014 supports all C++ standards
up to C++17 (https://cibuildwheel.pypa.io/en/stable/cpp_standards/).

Fixes: yt-project#4910
@yut23 yut23 force-pushed the build/fix_linux_wheel_build branch from 295cabe to 2068504 Compare May 22, 2024 15:22
@yut23 yut23 marked this pull request as ready for review May 22, 2024 15:23
@neutrinoceros neutrinoceros merged commit 16370cc into yt-project:main May 23, 2024
19 checks passed
@neutrinoceros neutrinoceros added this to the 4.4.0 milestone May 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build related to the build process infrastructure Related to CI, versioning, websites, organizational issues, etc
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants