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

WIP: python3Packages.load_libstdcxx: init at 0.0.1 #224686

Closed
wants to merge 4 commits into from

Conversation

SomeoneSerge
Copy link
Contributor

Description of changes

A helper for verifying that python packages built with a non-standard stdenv (e.g. cuda-enabled packages overriding the stdenv to satisfy nvcc) do not cause libstdc++ mismatch errors at runtime. Just append this module to pythonImportsCheck

// E.g. earlier we've observed the combination of [ "torch" "zmq" ] fail
// because of std::condition_variable
m.def("dummy", []() {
// Copy-pasted from
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually, this is very stupid. We need a reliable way to ask for specific symbols, and we need an automatic update script for this derivation: e.g. one that objdumps the current libstdcxx, sorts symbols by versions, and takes the newest stuff.

On that note, I should rework tests.loadOld. The fact that it works right now is sheer accident

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

Successfully merging this pull request may close these issues.

1 participant