-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
Support GLIBC 2.17 in the build binaries #1708
Comments
@StrikerRUS |
@guolinke Sorry, I'm lost a bit. Is the problem in glibc or in gcc? Linux only or macOS too? Can the problem be solved by installing appropriate (downgrading) glibc version on Azure (I believe that it's possible)? |
How this possible I cloudy account unlock id |
@StrikerRUS i think downgrading glibc is okay. |
ping @davidstaheli @brcrista . refer to https://lightgbm-ci.visualstudio.com/lightgbm-ci/_build/results?buildId=264&view=logs |
some updates: I manage to decouple with glibc 2.23, by adding this line in the source code: https://github.com/Microsoft/LightGBM/blob/vsts-version/include/LightGBM/meta.h#L65-L67 However, there are some other higher version dependencies when build with vsts-linux-agent.
Since there are some new APIs in these new dependencies, I cannot fix them by the above solution for glibc. For example, for the omp dependency, the 4.0 version only uses GOMP_parallel, while 1.0 version uses GOMP_parallel_start and GOMP_parallel_end.
And there are lots of new apis in GLIBCXX.
|
@guolinke I've got VM with Ubuntu 16 and tried to compile LightGBM (without your last fix, |
@StrikerRUS thanks so much, it seems everything is fine. |
@StrikerRUS can you create a PR for the fix ? |
@StrikerRUS I also manage to use docker for building from ubuntu 14.04 in azure pipeline.
It seems the |
Sure.
What about the time? |
@StrikerRUS thanks so much ! |
@guolinke No problem! Glad to help you.
I think we should ask someone competent in this (from Azure team). |
@guolinke correct, you need to use Hosted Ubuntu 1604 to run containers. I would recommend replacing Hosted Linux Preview with Hosted Ubuntu 1604. The "preview" is basically done and you can think of Hosted Ubuntu as the GA release. As for the issues you are seeing with that pool, I see you opened microsoft/azure-pipelines-tasks#8455, so I'll let that question be answered there. |
fixed in the latest binaries. |
Excuse me. I find the lastest version of lightgbm need glibc >=2.14. However, the version of glibc in my cluster is 2.12, and they will not update it in near future. How can I use lightgbm in my cluster? |
@chjq201410695 you can compile lightgbm by yourself. |
It seems Azure Pipeline uses a higher version glibc to build the binaries.
Therefore, some old os cannot be supportted.
The text was updated successfully, but these errors were encountered: