#2 - Use symver attribute rather than asms for symbol versioning Re-enable LTO
Opened 3 years ago by law. Modified 3 years ago
rpms/ law/efivar fix_symver_and_reenable_lto  into  master

No commits found

This package is currently opted out of LTO because it uses ASMs to implement symbol versioning. ASMs like this are fundamentally incompatible with LTO because GCC does not look inside the ASM string to find symbol references. Starting with gcc-10 there is a new symbol attribute for implementing symbol versioning. This patch changes libaio to use that symbol attribute and re-enables LTO.

I have about 200 packages I'm working through, so I can't reasonably engage every upstream project. I'd like to merge this PR into Fedora so that LTO gets enabled for the efivar package and let the package maintainers engage the appropriate upstream community so that we don't have to carry a Fedora specific patch forever.