[Debian-med-packaging] Bug#1015585: [Help] Re: Bug#1015585: plast: ftbfs with LTO (link time optimization) enabled
Bálint Réczey
balint at balintreczey.hu
Thu Jul 21 16:28:12 BST 2022
Hi Andreas,
Andreas Tille <tille at debian.org> ezt írta (időpont: 2022. júl. 20., Sze, 11:04):
>
> Am Wed, Jul 20, 2022 at 02:16:00PM +0530 schrieb Nilesh Patra:
> >
> > I suppose it would be okay to wait to fix this bug, after we reach a concensus. There are several packages that are breaking.
>
> I admit I'm not specifically keen on fixing this actual minor bug.
> I was just wondering why the suggested method to switch LTO of explicitly
> creates the same bug as if it is switched on.
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.
Cheers,
Balint
> Kind regards
> Andreas.
>
> --
> http://fam-tille.de
>
More information about the Debian-med-packaging
mailing list