Package: fis-gtm
Version: 7.2-000-2
Severity: normal
Tags: patch
User: [email protected]
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

Attachment: disable-lto.patch
Description: application/diff

Reply via email to