[Debian-med-packaging] Bug#1150494: fis-gtm: FTBFS with LTO: error: type of 'grlist' does not match original declaration
Viktor Pashaiev
w.paszajew at gmail.com
Sat Oct 10 09:19:23 BST 2026
Package: fis-gtm
Version: 7.2-000-2
Severity: normal
Tags: patch
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu stonking ubuntu-patch
Dear Maintainer,
When building fis-gtm with Link Time Optimization (-flto) and GCC 15,
the build fails at link time due to mismatched declarations of 'grlist'
combined with upstream's -Werror:
sr_port/mupip_set_journal.c:57:23: error: type of 'grlist' does not match original declaration [-Werror=lto-type-mismatch]
sr_port/gbldefs.c:247:5: note: type 'struct tp_region' should match type 'struct mu_set_rlist'
In Ubuntu, LTO is enabled by default. To allow the package to build cleanly,
we disable LTO by adding 'optimize=-lto' to DEB_BUILD_MAINT_OPTIONS in debian/rules.
Attached is the patch.
Thanks,
Viktor Pashaiev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: disable-lto.patch
Type: application/x-diff
Size: 369 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-med-packaging/attachments/20261010/50cd6946/attachment.bin>
More information about the Debian-med-packaging
mailing list