When LTO is on boxes array is literally truncated to a single element array. I do not think mbsync will have any particular benefit from LTO so it would really be pragmatic decision to plain disable it also to prevent any future issues happening.
Last edit: Jarkko Sakkinen 2024-08-06
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
For more information, see the discussion at https://bugzilla.redhat.com/show_bug.cgi?id=2302132
When LTO is on boxes array is literally truncated to a single element array. I do not think mbsync will have any particular benefit from LTO so it would really be pragmatic decision to plain disable it also to prevent any future issues happening.
Last edit: Jarkko Sakkinen 2024-08-06
One remark. Now that I re-tested my patch I had to:
Otherwise:
I don't understand this causality so not updating patch yet.
Right you can add patch per comment. Well here's v2.
i think this is already properly fixed by commit ceb0fa980.
OK it does fix the issue. I tested it! I report this to the Fedora bug, thank you.
I.e. this can be closed.