-
Notifications
You must be signed in to change notification settings - Fork 169
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
Failure to link with LTO: undefined reference to `libsinsp::cri::cri_interface<libsinsp::cri::cri_api_v1alpha2>::get_cri_runtime_type() #1963
Comments
Hi! Thanks for opening this issue! I think this might get fixed in 0.18.0: #1895 |
Wonderful, thanks! I missed that PR because of the name, but I can confirm that the patch fixes building with |
@hhoffstaette: You must be a member of the falcosecurity/libs-maintainers GitHub team to set the milestone. If you believe you should be able to issue the /milestone command, please contact your maintainers of falcosecurity/libs and have them propose you as an additional delegate for this responsibility. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
Apparently I cannot set the milestone, so please do and close. Thanks! 🫶 |
/milestone 0.18.0 |
@FedeDP: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
/milestone 0.17.3 |
Describe the bug
I recently updated sysdig in Gentoo to 0.38.x (with libs-0.17.2) and wanted to see how it fares with LTO. I know that there are several merged/open/in-progress issues slated for 0.18 but I didn't see this one yet, so here it is.
In summary it's a failure to link the final sysdig/csysdig executables:
How to reproduce it
Build sysdig-0.38.x+libs-0.17.2 with LTO (compile with '-O2 -flto', link with '-fuse-linker-plugin -flto=auto')
Expected behaviour
Successful link stage of the final executables.
Environment
Gentoo Linux, ~amd64 (testing)
6.10.0 :)
From source - I am the package maintainer
Additional context
This depends on optimization (likely inlining), as building with
-O
(instead of-O2
) seems to produce executables that work. 🤷The text was updated successfully, but these errors were encountered: