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

[CI] ELF load command address/offset not properly aligned #9092

Closed
hcho3 opened this issue Apr 25, 2023 · 4 comments
Closed

[CI] ELF load command address/offset not properly aligned #9092

hcho3 opened this issue Apr 25, 2023 · 4 comments
Assignees

Comments

@hcho3
Copy link
Collaborator

hcho3 commented Apr 25, 2023

https://buildkite.com/xgboost/xgboost-ci/builds/2318#0187b326-d760-4d4d-9dc0-15a31faf3dcd

    raise XGBoostError(
E   xgboost.core.XGBoostError:
E   XGBoost Library (libxgboost.so) could not be loaded.
E   Likely causes:
E     * OpenMP runtime is not installed
E       - vcomp140.dll or libgomp-1.dll for Windows
E       - libomp.dylib for Mac OSX
E       - libgomp.so for Linux and other UNIX-like OSes
E       Mac OSX users: Run `brew install libomp` to install OpenMP runtime.
E
E     * You are running 32-bit Python on a 64-bit OS
E
E   Error message(s): ['libgomp-a34b3233.so.1.0.0: ELF load command address/offset not properly aligned']
@hcho3 hcho3 self-assigned this Apr 25, 2023
@trivialfis
Copy link
Member

seems to be flaky? Not reproducible anymore.

@hcho3
Copy link
Collaborator Author

hcho3 commented Apr 25, 2023

Yeah I couldn't reproduce it on my machine either.

@hcho3
Copy link
Collaborator Author

hcho3 commented Apr 25, 2023

I found the cause. Patchelf 0.18.0, which came out 2 days ago, is causing ELF load command error. The cause is yet unknown.

The Docker image quay.io/pypa/manylinux2014_x86_64 is re-built once in every few days, and the image produced on April 24 contained the buggy Patchelf 0.18.0.

The bug is not active now, as the latest quay.io/pypa/manylinux2014_x86_64 image uses Patchelf 0.17.2.

@hcho3
Copy link
Collaborator Author

hcho3 commented Apr 25, 2023

Closing for now. I will keep monitoring NixOS/patchelf#492 and mayeut/patchelf-pypi#87 closely for the next few days.

@hcho3 hcho3 closed this as completed Apr 25, 2023
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

No branches or pull requests

2 participants