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

Bug#1015564: onednn: ftbfs with LTO (link time optimization) enabled



Package: src:onednn
Version: 2.2.4+ds-2
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/onednn_2.2.4+ds-2_unstable_dpkglto.log
The last lines of the build log are at the end of this report.

[...]
+#MISSING: 2.2.4+ds-2# _ZNSt8_Rb_treeIN4dnnl4impl23broadcasting_strategy_tES2_St9_IdentityIS2_ESt4lessIS2_ESaIS2_EE24_M_get_insert_unique_posERKS2_@Base 2.2.2
+#MISSING: 2.2.4+ds-2# _ZNSt8_Rb_treeIN4dnnl4impl23broadcasting_strategy_tES2_St9_IdentityIS2_ESt4lessIS2_ESaIS2_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorIS2_ERKS2_@Base 2.2.2
+#MISSING: 2.2.4+ds-2# _ZNSt8_Rb_treeIN4dnnl4impl23broadcasting_strategy_tES2_St9_IdentityIS2_ESt4lessIS2_ESaIS2_EE8_M_eraseEPSt13_Rb_tree_nodeIS2_E@Base 2.2.2
+#MISSING: 2.2.4+ds-2# _ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St9_IdentityIS5_ESt4lessIS5_ESaIS5_EE16_M_insert_uniqueIS5_EESt4pairISt17_Rb_tree_iteratorIS5_EbEOT_@Base 2.0
+#MISSING: 2.2.4+ds-2# _ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_fESt10_Select1stIS8_ESt4lessIS5_ESaIS8_EE16_M_insert_uniqueIS8_EES6_ISt17_Rb_tree_iteratorIS8_EbEOT_@Base 2.2.2
+#MISSING: 2.2.4+ds-2# _ZNSt8_Rb_treeIiSt4pairIKiiESt10_Select1stIS2_ESt4lessIiESaIS2_EE16_M_insert_uniqueIS2_EES0_ISt17_Rb_tree_iteratorIS2_EbEOT_@Base 2.0
+#MISSING: 2.2.4+ds-2# _ZNSt8_Rb_treeIiSt4pairIKiiESt10_Select1stIS2_ESt4lessIiESaIS2_EE17_M_emplace_uniqueIJRS1_RiEEES0_ISt17_Rb_tree_iteratorIS2_EbEDpOT_@Base 2.2.2
+#MISSING: 2.2.4+ds-2# _ZNSt8_Rb_treeIiSt4pairIKiiESt10_Select1stIS2_ESt4lessIiESaIS2_EE17_M_emplace_uniqueIJRS1_SA_EEES0_ISt17_Rb_tree_iteratorIS2_EbEDpOT_@Base 2.2.2
+#MISSING: 2.2.4+ds-2# _ZNSt8_Rb_treeIiSt4pairIKiiESt10_Select1stIS2_ESt4lessIiESaIS2_EE17_M_emplace_uniqueIJRS1_iEEES0_ISt17_Rb_tree_iteratorIS2_EbEDpOT_@Base 2.0
+#MISSING: 2.2.4+ds-2# _ZNSt8_Rb_treeIiSt4pairIKiiESt10_Select1stIS2_ESt4lessIiESaIS2_EE17_M_emplace_uniqueIJRiiEEES0_ISt17_Rb_tree_iteratorIS2_EbEDpOT_@Base 2.0
+#MISSING: 2.2.4+ds-2# _ZNSt8_Rb_treeIiSt4pairIKiiESt10_Select1stIS2_ESt4lessIiESaIS2_EE17_M_emplace_uniqueIJiiEEES0_ISt17_Rb_tree_iteratorIS2_EbEDpOT_@Base 2.0
+#MISSING: 2.2.4+ds-2# _ZNSt8_Rb_treeIiSt4pairIKiiESt10_Select1stIS2_ESt4lessIiESaIS2_EE24_M_get_insert_unique_posERS1_@Base 2.0
+#MISSING: 2.2.4+ds-2# _ZNSt8_Rb_treeIiSt4pairIKiiESt10_Select1stIS2_ESt4lessIiESaIS2_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorIS2_ERS1_@Base 2.0
+#MISSING: 2.2.4+ds-2# _ZNSt8_Rb_treeImmSt9_IdentityImESt4lessImESaImEE17_M_emplace_uniqueIJRKiEEESt4pairISt17_Rb_tree_iteratorImEbEDpOT_@Base 2.2.2
+#MISSING: 2.2.4+ds-2# _ZNSt8_Rb_treeImmSt9_IdentityImESt4lessImESaImEE17_M_emplace_uniqueIJRmEEESt4pairISt17_Rb_tree_iteratorImEbEDpOT_@Base 2.0
+#MISSING: 2.2.4+ds-2# _ZNSt8_Rb_treeImmSt9_IdentityImESt4lessImESaImEE17_M_emplace_uniqueIJiEEESt4pairISt17_Rb_tree_iteratorImEbEDpOT_@Base 2.2.2
+#MISSING: 2.2.4+ds-2# _ZNSt8_Rb_treeImmSt9_IdentityImESt4lessImESaImEE24_M_get_insert_unique_posERKm@Base 2.0
+#MISSING: 2.2.4+ds-2# _ZNSt8_Rb_treeImmSt9_IdentityImESt4lessImESaImEE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorImERKm@Base 2.0
+#MISSING: 2.2.4+ds-2# _ZNSt8_Rb_treeImmSt9_IdentityImESt4lessImESaImEE8_M_eraseEPSt13_Rb_tree_nodeImE@Base 2.2.2
+#MISSING: 2.2.4+ds-2# _ZNSt8__detail16_Hashtable_allocISaINS_10_Hash_nodeISt4pairIK20dnnl_cpu_isa_hints_tjELb0EEEEE16_M_allocate_nodeIJRKS5_EEEPS6_DpOT_@Base 2.2.2
+#MISSING: 2.2.4+ds-2# _ZNSt8__detail16_Hashtable_allocISaINS_10_Hash_nodeISt4pairIK20dnnl_cpu_isa_hints_tjELb0EEEEE18_M_deallocate_nodeEPS6_@Base 2.2.2
+#MISSING: 2.2.4+ds-2# _ZNSt8__detail16_Hashtable_allocISaINS_10_Hash_nodeISt4pairIK20dnnl_cpu_isa_hints_tjELb0EEEEE19_M_allocate_bucketsEm@Base 2.2.2
+#MISSING: 2.2.4+ds-2# _ZNSt8__detail16_Hashtable_allocISaINS_10_Hash_nodeISt4pairIK20dnnl_cpu_isa_hints_tjELb0EEEEE19_M_deallocate_nodesEPS6_@Base 2.2.2
+#MISSING: 2.2.4+ds-2# _ZNSt8__detail16_Hashtable_allocISaINS_10_Hash_nodeISt4pairIK20dnnl_cpu_isa_hints_tjELb0EEEEE21_M_deallocate_bucketsEPPNS_15_Hash_node_baseEm@Base 2.2.2
+#MISSING: 2.2.4+ds-2# _ZNSt8__detail16_Hashtable_allocISaINS_10_Hash_nodeISt4pairIK20dnnl_cpu_isa_hints_tjELb0EEEEE22_M_deallocate_node_ptrEPS6_@Base 2.2.2
+#MISSING: 2.2.4+ds-2# _ZNSt8__detail16_Hashtable_allocISaINS_10_Hash_nodeISt4pairIKmmELb0EEEEE16_M_allocate_nodeIJRKSt21piecewise_construct_tSt5tupleIJOmEESC_IJEEEEEPS5_DpOT_@Base 2.0
+#MISSING: 2.2.4+ds-2# _ZNSt8__detail16_Hashtable_allocISaINS_10_Hash_nodeISt4pairIKmmELb0EEEEE18_M_deallocate_nodeEPS5_@Base 2.0
+#MISSING: 2.2.4+ds-2# _ZNSt8__detail16_Hashtable_allocISaINS_10_Hash_nodeISt4pairIKmmELb0EEEEE19_M_allocate_bucketsEm@Base 2.0
+#MISSING: 2.2.4+ds-2# _ZNSt8__detail16_Hashtable_allocISaINS_10_Hash_nodeISt4pairIKmmELb0EEEEE19_M_deallocate_nodesEPS5_@Base 2.0
+#MISSING: 2.2.4+ds-2# _ZNSt8__detail16_Hashtable_allocISaINS_10_Hash_nodeISt4pairIKmmELb0EEEEE21_M_deallocate_bucketsEPPNS_15_Hash_node_baseEm@Base 2.0
+#MISSING: 2.2.4+ds-2# _ZNSt8__detail16_Hashtable_allocISaINS_10_Hash_nodeISt4pairIKmmELb0EEEEE22_M_deallocate_node_ptrEPS5_@Base 2.0
+#MISSING: 2.2.4+ds-2# _ZNSt8__detail9_Map_baseImSt4pairIKmmESaIS3_ENS_10_Select1stESt8equal_toImESt4hashImENS_18_Mod_range_hashingENS_20_Default_ranged_hashENS_20_Prime_rehash_policyENS_17_Hashtable_traitsILb0ELb0ELb1EEELb1EEixEOm@Base 2.0
  _ZTINSt13__future_base13_State_baseV27_SetterIN4dnnl4impl17primitive_cache_t13cache_value_tEOS5_EE@Base 2.0
- _ZTINSt13__future_base13_State_baseV2E@Base 2.0
- _ZTINSt13__future_base7_ResultIN4dnnl4impl17primitive_cache_t13cache_value_tEEE@Base 2.0
+#MISSING: 2.2.4+ds-2# _ZTINSt13__future_base13_State_baseV2E@Base 2.0
+#MISSING: 2.2.4+ds-2# _ZTINSt13__future_base7_ResultIN4dnnl4impl17primitive_cache_t13cache_value_tEEE@Base 2.0
  _ZTISt11_Mutex_baseILN9__gnu_cxx12_Lock_policyE2EE@Base 2.0
  _ZTISt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EE@Base 2.0
- _ZTISt23_Sp_counted_ptr_inplaceINSt13__future_base13_State_baseV2ESaIS1_ELN9__gnu_cxx12_Lock_policyE2EE@Base 2.0
- _ZTISt23_Sp_counted_ptr_inplaceISt6vectorIhSaIhEESaIS2_ELN9__gnu_cxx12_Lock_policyE2EE@Base 2.2.2
+ _ZTISt19_Sp_make_shared_tag@Base 2.2.4+ds-2
+#MISSING: 2.2.4+ds-2# _ZTISt23_Sp_counted_ptr_inplaceINSt13__future_base13_State_baseV2ESaIS1_ELN9__gnu_cxx12_Lock_policyE2EE@Base 2.0
+#MISSING: 2.2.4+ds-2# _ZTISt23_Sp_counted_ptr_inplaceISt6vectorIhSaIhEESaIS2_ELN9__gnu_cxx12_Lock_policyE2EE@Base 2.2.2
  _ZTSNSt13__future_base13_State_baseV27_SetterIN4dnnl4impl17primitive_cache_t13cache_value_tEOS5_EE@Base 2.0
  _ZTSNSt13__future_base13_State_baseV2E@Base 2.0
  _ZTSNSt13__future_base7_ResultIN4dnnl4impl17primitive_cache_t13cache_value_tEEE@Base 2.0
@@ -158,13 +159,13 @@
  _ZTSSt19_Sp_make_shared_tag@Base 2.0
  _ZTSSt23_Sp_counted_ptr_inplaceINSt13__future_base13_State_baseV2ESaIS1_ELN9__gnu_cxx12_Lock_policyE2EE@Base 2.0
  _ZTSSt23_Sp_counted_ptr_inplaceISt6vectorIhSaIhEESaIS2_ELN9__gnu_cxx12_Lock_policyE2EE@Base 2.2.2
- _ZTVNSt13__future_base13_State_baseV2E@Base 2.0
- _ZTVNSt13__future_base7_ResultIN4dnnl4impl17primitive_cache_t13cache_value_tEEE@Base 2.0
- _ZTVSt23_Sp_counted_ptr_inplaceINSt13__future_base13_State_baseV2ESaIS1_ELN9__gnu_cxx12_Lock_policyE2EE@Base 2.0
- _ZTVSt23_Sp_counted_ptr_inplaceISt6vectorIhSaIhEESaIS2_ELN9__gnu_cxx12_Lock_policyE2EE@Base 2.2.2
+#MISSING: 2.2.4+ds-2# _ZTVNSt13__future_base13_State_baseV2E@Base 2.0
+#MISSING: 2.2.4+ds-2# _ZTVNSt13__future_base7_ResultIN4dnnl4impl17primitive_cache_t13cache_value_tEEE@Base 2.0
+#MISSING: 2.2.4+ds-2# _ZTVSt23_Sp_counted_ptr_inplaceINSt13__future_base13_State_baseV2ESaIS1_ELN9__gnu_cxx12_Lock_policyE2EE@Base 2.0
+#MISSING: 2.2.4+ds-2# _ZTVSt23_Sp_counted_ptr_inplaceISt6vectorIhSaIhEESaIS2_ELN9__gnu_cxx12_Lock_policyE2EE@Base 2.2.2
  _ZZNSt19_Sp_make_shared_tag5_S_tiEvE5__tag@Base 2.0
- _ZZNSt8__detail18__to_chars_10_implIjEEvPcjT_E8__digits@Base 2.0
- _ZZNSt8__detail18__to_chars_10_implImEEvPcjT_E8__digits@Base 2.2.2
+#MISSING: 2.2.4+ds-2# _ZZNSt8__detail18__to_chars_10_implIjEEvPcjT_E8__digits@Base 2.0
+#MISSING: 2.2.4+ds-2# _ZZNSt8__detail18__to_chars_10_implImEEvPcjT_E8__digits@Base 2.2.2
  _ZZNSt9once_flag18_Prepare_executionC4IZSt9call_onceIMNSt13__future_base13_State_baseV2EFvPSt8functionIFSt10unique_ptrINS3_12_Result_baseENS7_8_DeleterEEvEEPbEJPS4_SC_SD_EEvRS_OT_DpOT0_EUlvE_EERSI_ENUlvE_4_FUNEv@Base 2.2.2
  _ZZNSt9once_flag18_Prepare_executionC4IZSt9call_onceIZN4dnnl4impl3cpu3x6411gemm_info_tINS4_10bfloat16_tES8_fE8jit_initEvEUlvE_JEEvRS_OT_DpOT0_EUlvE_EERSC_ENUlvE_4_FUNEv@Base 2.2.2
  _ZZNSt9once_flag18_Prepare_executionC4IZSt9call_onceIZN4dnnl4impl3cpu3x6411gemm_info_tIaaiE8jit_initEvEUlvE_JEEvRS_OT_DpOT0_EUlvE_EERSB_ENUlvE_4_FUNEv@Base 2.2.2
dh_makeshlibs: error: failing due to earlier errors
make: *** [debian/rules:9: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2


Reply to: