[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1015439: kconfig: ftbfs with LTO (link time optimization) enabled



Package: src:kconfig
Version: 5.94.0-3
Severity: minor
Tags: sid bookworm
User: debian-gcc@lists.debian.org
Usertags: ftbfs-lto

This package currently fails to build (at least on the amd64
architecture) with link time optimizations enabled.  For a background
for LTO please see

https://wiki.debian.org/ToolChain/LTO

The goal is to enable this optimization by default in an upcoming
Debian release in dpkg-buildflags for 64bit architectures.  The goal
is to get this package to build with link time optimizations, or to
explicitly disable link time optimizations for this package build.

To reproduce the build failure, enable the lto optimization in
testing/unstable by adding "optimize=+lto" to DEB_BUILD_MAINT_OPTIONS
in the debian/rules file, or if this macro is unset, just set it:

export DEB_BUILD_MAINT_OPTIONS = optimize=+lto

Please try to fix the build with lto enabled, fixing the packaging or
forwarding the issue upstream. If the issue cannot be fixed,
explicitly disallow building the package with lto by adding to your
rules file:

export DEB_BUILD_MAINT_OPTIONS = optimize=-lto

or adding that string to your existing setting of DEB_BUILD_MAINT_OPTIONS.

The full build log can be found at:
http://qa-logs.debian.net/2022/06/09/dpkglto/kconfig_5.94.0-3_unstable_dpkglto.log
The last lines of the build log are at the end of this report.

[...]
- (optional=templinst)_ZNK12KConfigGroup9readEntryIiEE5QListIT_EPKcRKS3_@Base 4.100.0
+#MISSING: 5.94.0-3# (optional=templinst|arch=amd64 arm64 armel armhf ia64 kfreebsd-amd64 mips64el powerpc powerpcspe ppc64el riscv64 sparc64 x32)_ZNK12KConfigGroup9readEntryI5QRectEET_PKcRKS2_@Base 5.3.0
+#MISSING: 5.94.0-3# (optional=templinst|arch=amd64 arm64 armel armhf hppa ia64 kfreebsd-amd64 m68k mips64el powerpc powerpcspe ppc64el riscv64 sh4 sparc64 x32)_ZNK12KConfigGroup9readEntryI5QSizeEET_PKcRKS2_@Base 5.3.0
+#MISSING: 5.94.0-3# (optional=templinst|arch=amd64 arm64 hppa ia64 kfreebsd-amd64 m68k mips64el ppc64el riscv64 sh4 sparc64 x32)_ZNK12KConfigGroup9readEntryI6QPointEET_PKcRKS2_@Base 5.3.0
+#MISSING: 5.94.0-3# (optional=templinst)_ZNK12KConfigGroup9readEntryI9QDateTimeEET_PKcRKS2_@Base 4.100.0
+#MISSING: 5.94.0-3# (optional=templinst)_ZNK12KConfigGroup9readEntryIbEET_PKcRKS1_@Base 4.100.0
+#MISSING: 5.94.0-3# (optional=templinst)_ZNK12KConfigGroup9readEntryIiEE5QListIT_EPKcRKS3_@Base 4.100.0
  _ZNK12KDesktopFile10readDeviceEv@Base 4.97.0
  _ZNK12KDesktopFile11actionGroupERK7QString@Base 4.97.0
  _ZNK12KDesktopFile11hasLinkTypeEv@Base 4.97.0
@@ -489,7 +489,7 @@
  _ZNK7KConfig9groupImplERK10QByteArray@Base 4.97.0
  _ZNK7KConfig9groupListEv@Base 4.97.0
  _ZNK7KConfig9openFlagsEv@Base 5.2.0+git20141003
- (arch=!ia64 !mips64el !ppc64el !riscv64 !sparc64)_ZNSt10_HashtableISt17basic_string_viewIcSt11char_traitsIcEES3_SaIS3_ENSt8__detail9_IdentityESt8equal_toIS3_ESt4hashIS3_ENS5_18_Mod_range_hashingENS5_20_Default_ranged_hashENS5_20_Prime_rehash_policyENS5_17_Hashtable_traitsILb1ELb1ELb1EEEE10_M_emplaceIJPKciEEESt4pairINS5_14_Node_iteratorIS3_Lb1ELb1EEEbESt17integral_constantIbLb1EEDpOT_@Base 5.93.0
+#MISSING: 5.94.0-3# (arch=!ia64 !mips64el !ppc64el !riscv64 !sparc64)_ZNSt10_HashtableISt17basic_string_viewIcSt11char_traitsIcEES3_SaIS3_ENSt8__detail9_IdentityESt8equal_toIS3_ESt4hashIS3_ENS5_18_Mod_range_hashingENS5_20_Default_ranged_hashENS5_20_Prime_rehash_policyENS5_17_Hashtable_traitsILb1ELb1ELb1EEEE10_M_emplaceIJPKciEEESt4pairINS5_14_Node_iteratorIS3_Lb1ELb1EEEbESt17integral_constantIbLb1EEDpOT_@Base 5.93.0
  _ZTI11KConfigBase@Base 4.97.0
  _ZTI11QSharedData@Base 4.97.0
  _ZTI12KConfigGroup@Base 4.97.0
@@ -507,7 +507,7 @@
  _ZTIN19KCoreConfigSkeleton11ItemUrlListE@Base 4.97.0
  _ZTIN19KCoreConfigSkeleton12ItemDateTimeE@Base 4.97.0
  _ZTIN19KCoreConfigSkeleton12ItemLongLongE@Base 4.97.0
- _ZTIN19KCoreConfigSkeleton12ItemPasswordE@Base 4.97.0
+#MISSING: 5.94.0-3# _ZTIN19KCoreConfigSkeleton12ItemPasswordE@Base 4.97.0
  _ZTIN19KCoreConfigSkeleton12ItemPathListE@Base 4.97.0
  _ZTIN19KCoreConfigSkeleton12ItemPropertyE@Base 4.97.0
  _ZTIN19KCoreConfigSkeleton13ItemULongLongE@Base 4.97.0
@@ -516,7 +516,7 @@
  _ZTIN19KCoreConfigSkeleton7ItemUrlE@Base 4.97.0
  _ZTIN19KCoreConfigSkeleton8ItemBoolE@Base 4.97.0
  _ZTIN19KCoreConfigSkeleton8ItemEnumE@Base 4.97.0
- _ZTIN19KCoreConfigSkeleton8ItemPathE@Base 4.97.0
+#MISSING: 5.94.0-3# _ZTIN19KCoreConfigSkeleton8ItemPathE@Base 4.97.0
  _ZTIN19KCoreConfigSkeleton8ItemRectE@Base 4.97.0
  _ZTIN19KCoreConfigSkeleton8ItemSizeE@Base 4.97.0
  _ZTIN19KCoreConfigSkeleton8ItemUIntE@Base 4.97.0
@@ -568,7 +568,7 @@
  _ZTVN19KCoreConfigSkeleton11ItemUrlListE@Base 4.97.0
  _ZTVN19KCoreConfigSkeleton12ItemDateTimeE@Base 4.97.0
  _ZTVN19KCoreConfigSkeleton12ItemLongLongE@Base 4.97.0
- _ZTVN19KCoreConfigSkeleton12ItemPasswordE@Base 4.97.0
+#MISSING: 5.94.0-3# _ZTVN19KCoreConfigSkeleton12ItemPasswordE@Base 4.97.0
  _ZTVN19KCoreConfigSkeleton12ItemPathListE@Base 4.97.0
  _ZTVN19KCoreConfigSkeleton12ItemPropertyE@Base 4.97.0
  _ZTVN19KCoreConfigSkeleton13ItemULongLongE@Base 4.97.0
@@ -577,7 +577,7 @@
  _ZTVN19KCoreConfigSkeleton7ItemUrlE@Base 4.97.0
  _ZTVN19KCoreConfigSkeleton8ItemBoolE@Base 4.97.0
  _ZTVN19KCoreConfigSkeleton8ItemEnumE@Base 4.97.0
- _ZTVN19KCoreConfigSkeleton8ItemPathE@Base 4.97.0
+#MISSING: 5.94.0-3# _ZTVN19KCoreConfigSkeleton8ItemPathE@Base 4.97.0
  _ZTVN19KCoreConfigSkeleton8ItemRectE@Base 4.97.0
  _ZTVN19KCoreConfigSkeleton8ItemSizeE@Base 4.97.0
  _ZTVN19KCoreConfigSkeleton8ItemUIntE@Base 4.97.0
dpkg-gensymbols: warning: debian/libkf5configgui5/DEBIAN/symbols doesn't match completely debian/libkf5configgui5.symbols
--- debian/libkf5configgui5.symbols (libkf5configgui5_5.94.0-3_amd64)
+++ dpkg-gensymbolsFOvpDo	2022-06-10 08:54:36.496575376 +0000
@@ -4,7 +4,7 @@
  _ZN10KConfigGui16hasSessionConfigEv@Base 4.97.0
  _ZN10KConfigGui16setSessionConfigERK7QStringS2_@Base 5.11.0
  _ZN10KConfigGui17sessionConfigNameEv@Base 4.97.0
- (optional=templinst)_ZN12KConfigGroup10writeEntryIiEEvPKcRK5QListIT_E6QFlagsIN11KConfigBase15WriteConfigFlagEE@Base 4.100.0
+#MISSING: 5.94.0-3# (optional=templinst)_ZN12KConfigGroup10writeEntryIiEEvPKcRK5QListIT_E6QFlagsIN11KConfigBase15WriteConfigFlagEE@Base 4.100.0
  _ZN13KConfigLoader14usrWriteConfigEv@Base 4.97.0
  _ZN13KConfigLoaderC1E28QExplicitlySharedDataPointerI13KSharedConfigEP9QIODeviceP7QObject@Base 4.97.0
  _ZN13KConfigLoaderC1ERK12KConfigGroupP9QIODeviceP7QObject@Base 4.97.0
dh_makeshlibs: error: failing due to earlier errors
make: *** [debian/rules:8: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2


Reply to: