[Debian-med-packaging] Bug#1015585: [Help] Re: Bug#1015585: plast: ftbfs with LTO (link time optimization) enabled

Andreas Tille andreas at an3as.eu
Thu Jul 21 21:02:52 BST 2022


Hi Bálint,

Am Thu, Jul 21, 2022 at 05:28:12PM +0200 schrieb Bálint Réczey:
> 
> I think disabling LTO as a fix is not a great idea as it may just hide
> a problem.
> I've fixed a similar bug in librio, where LTO exposed an already
> existing undefined behavior:
> https://salsa.debian.org/debian/libtrio/-/commit/23d64154ebc6e755fb0dfba90429dcebf45d4723
> 
> In my experience LTO most of the time does not _cause_ bugs, just
> _exposes_ them.
> 
> I suggest keeping the current LTO-related bugs open after forwarding
> them upstream since they pose no problem at the moment and a
> workaround would be enough if and when LTO is enabled in Debian and
> upstream did not fix the issue by then.

This is a good argument.  Since I really do not expect any response from
upstream I think its not worth another upload to revert my change (and
if I'm wrong and a fix is provided in Git I can do so anyway).  However,
I'll stop disabling LTO for other packages and will follow your advise.

Thanks a lot

      Andreas.

-- 
http://fam-tille.de



More information about the Debian-med-packaging mailing list