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

Hot fix for libgomp vendoring #6482

Merged
merged 2 commits into from Dec 9, 2020

Conversation

hcho3
Copy link
Collaborator

@hcho3 hcho3 commented Dec 9, 2020

Closes #6480
Closes #6481

#6461 caused segfault on CentOS and Debian platforms upon running import xgboost because the shared library libxgboost.so was not properly patched by auditwheel repair. According to pypa/auditwheel#227 (comment), the patchelf program in CentOS 6 or 7 is outdated and contains bugs that leads to rending libxgboost.so unreadable on CentOS / Debian.

Error log:

Inconsistency detected by ld.so: dl-version.c: 205: _dl_check_map_versions: Assertion `needed != NULL' failed!

Solution. Use the official container from PyPA, manylinux2010_x86_64, to run auditwheel repair command. This will use the latest patchelf program and thus patch libxgboost.so correctly. This container is "blessed" by the Python Packaging Authority (PyPA) and is able to produce wheels that are strictly compliant with the "manylinux" standard.

Note. The issue is quite serious, so I'll publish a new Python wheel with version 1.3.0.post0. I will pull down the current version 1.3.0 to prevent others from running into the issue.

Note. The ARM64 wheel is not affected by this bug, because it was produced by the official container manylinux2014_aarch64.

@hcho3
Copy link
Collaborator Author

hcho3 commented Dec 9, 2020

The 1.3.0.post0 version is now available on PyPI: https://pypi.org/project/xgboost/1.3.0.post0/#files

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

Successfully merging this pull request may close these issues.

None yet

2 participants