-
Notifications
You must be signed in to change notification settings - Fork 124
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
Allow disabling IPO/LTO in CMakeLists #291
Comments
I can just disable it. |
In the linking step at the end of the Rust build, it fails to find the symbols. Small snippet from attached log:
Disabling LTO fixes the issue. |
Do you rebuild ryzenadj in your setup? Looks like it. But yes, I don't think INTERPROCEDURAL_OPTIMIZATION makes any difference at our already short call stacks, so it is a quick and easy fix on our side. Just wanted to remind you of a potential hidden secondary issue in your build setup. Maybe we wait some days and let this question open before we do it in case somebody knows it better than us :) |
I maintain Rust bindings to libryzenadj and encountered linking issues in Rust when
CMAKE_INTERPROCEDURAL_OPTIMIZATION
is set toTRUE
. Could we update the CMakeLists to include a flag to disable IPO/LTO even if it is supported?The text was updated successfully, but these errors were encountered: