-
Notifications
You must be signed in to change notification settings - Fork 508
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
LTO breaks the build #5197
Comments
@kmalek-int, do we have any update on this? |
Add disable lto to cflags: #5252 |
That is is not fix. |
Hi @kloczek, Due to low resources available and other priorities, we had to prepare a workaround linked above. If this issue is of high value to you, you can always submit a pull request with a patch. You can also share your use case of PMDK if you feel like it. Thanks, |
Just to be clear, it's not that we don't want to fix it properly. But it's not that simple, and we really tried. PMDK's build system is just very complicated, and, e.g., uses |
As would bother you about |
This improvement is not considered vital at the moment. So, we do not have the resources to fulfil your request. Sorry. |
ISSUE: Compiling with LTO breaks pmdk build
Environment Information
Please provide a reproduction of the bug:
Build pmdk in Ubuntu 21.04 with LTO enabled (the new default) if built via the packaging.
There are many ways, but the simplest might be:
$ pull-lp-source pmdk 1.10-1
$ apt build-dep pmdk
$ cd pmdk_1.10-1
$ ./debian/rules build
How often bug is revealed: always
Actual behavior:
Breaks on build - full log
Around the fail it looks like:
Expected behavior:
Still building correctly
Details
This came up when Ubuntu started to switch on LTO by default, see here
Additional information about Priority and Help Requested:
Requested priority: Medium
The text was updated successfully, but these errors were encountered: