Bug#1015683: tbb: ftbfs with LTO (link time optimization) enabled
Matthias Klose
doko at debian.org
Tue Jul 19 18:01:32 BST 2022
Package: src:tbb
Version: 2020.3-2.1
Severity: minor
Tags: sid bookworm
User: debian-gcc at 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/tbb_2020.3-2.1_unstable_dpkglto.log
The last lines of the build log are at the end of this report.
[...]
- _ZN3tbb14bad_last_allocD1Ev at Base 2017~U7
+#MISSING: 2020.3-2.1# _ZN3tbb14bad_last_allocD0Ev at Base 2017~U7
+#MISSING: 2020.3-2.1# _ZN3tbb14bad_last_allocD1Ev at Base 2017~U7
_ZN3tbb15recursive_mutex11scoped_lock16internal_acquireERS0_ at Base 2017~U7
_ZN3tbb15recursive_mutex11scoped_lock16internal_releaseEv at Base 2017~U7
_ZN3tbb15recursive_mutex11scoped_lock20internal_try_acquireERS0_ at Base 2017~U7
@@ -80,7 +80,7 @@
_ZN3tbb16spin_rw_mutex_v327internal_try_acquire_readerEv at Base 2017~U7
_ZN3tbb16spin_rw_mutex_v327internal_try_acquire_writerEv at Base 2017~U7
_ZN3tbb17assertion_failureEPKciS1_S1_ at Base 2017~U7
- _ZN3tbb18captured_exception10throw_selfEv at Base 2017~U7
+#MISSING: 2020.3-2.1# _ZN3tbb18captured_exception10throw_selfEv at Base 2017~U7
_ZN3tbb18captured_exception3setEPKcS2_ at Base 2017~U7
_ZN3tbb18captured_exception4moveEv at Base 2017~U7
_ZN3tbb18captured_exception5clearEv at Base 2017~U7
@@ -105,8 +105,8 @@
_ZN3tbb19thread_bound_filter12process_itemEv at Base 2017~U7
_ZN3tbb19thread_bound_filter16try_process_itemEv at Base 2017~U7
_ZN3tbb21set_assertion_handlerEPFvPKciS1_S1_E at Base 2017~U7
- _ZN3tbb27invalid_multiple_schedulingD0Ev at Base 2017~U7
- _ZN3tbb27invalid_multiple_schedulingD1Ev at Base 2017~U7
+#MISSING: 2020.3-2.1# _ZN3tbb27invalid_multiple_schedulingD0Ev at Base 2017~U7
+#MISSING: 2020.3-2.1# _ZN3tbb27invalid_multiple_schedulingD1Ev at Base 2017~U7
_ZN3tbb4task12change_groupERNS_18task_group_contextE at Base 2017~U7
_ZN3tbb4task13note_affinityEt at Base 2017~U7
_ZN3tbb4task22internal_set_ref_countEi at Base 2017~U7
@@ -255,7 +255,7 @@
_ZTIN3rml3jobE at Base 2017~U7
_ZTIN3rml6clientE at Base 2017~U7
_ZTIN3rml6serverE at Base 2017~U7
- _ZTIN3tbb10empty_taskE at Base 2017~U7
+#MISSING: 2020.3-2.1# _ZTIN3tbb10empty_taskE at Base 2017~U7
_ZTIN3tbb10user_abortE at Base 2017~U7
_ZTIN3tbb12missing_waitE at Base 2017~U7
_ZTIN3tbb13improper_lockE at Base 2017~U7
@@ -285,11 +285,11 @@
_ZTSN3tbb8internal21concurrent_queue_baseE at Base 2017~U7
_ZTSN3tbb8internal24concurrent_queue_base_v3E at Base 2017~U7
_ZTSN3tbb8pipelineE at Base 2017~U7
- _ZTVN3tbb10empty_taskE at Base 2017~U7
+#MISSING: 2020.3-2.1# _ZTVN3tbb10empty_taskE at Base 2017~U7
_ZTVN3tbb10user_abortE at Base 2017~U7
_ZTVN3tbb12missing_waitE at Base 2017~U7
_ZTVN3tbb13improper_lockE at Base 2017~U7
- _ZTVN3tbb13tbb_exceptionE at Base 2017~U7
+#MISSING: 2020.3-2.1# _ZTVN3tbb13tbb_exceptionE at Base 2017~U7
_ZTVN3tbb14bad_last_allocE at Base 2017~U7
_ZTVN3tbb18captured_exceptionE at Base 2017~U7
_ZTVN3tbb27invalid_multiple_schedulingE at Base 2017~U7
dpkg-gensymbols: error: some symbols or patterns disappeared in the symbols file: see diff output below
dpkg-gensymbols: warning: debian/libtbbmalloc2/DEBIAN/symbols doesn't match completely debian/libtbbmalloc2.symbols.amd64
--- debian/libtbbmalloc2.symbols.amd64 (libtbbmalloc2_2020.3-2.1_amd64)
+++ dpkg-gensymbolsEwPhBh 2022-06-10 08:42:06.519171365 +0000
@@ -1,9 +1,9 @@
libtbbmalloc.so.2 libtbbmalloc2 #MINVER#
MallocInitializeITT at Base 2017~U7
- _Z9parseFileILi100ELi1EEvPKcRAT0__K13parseFileItem at Base 2018~U6
- _Z9parseFileILi100ELi2EEvPKcRAT0__K13parseFileItem at Base 2018~U6
- (optional)_ZN11MallocMutex11scoped_lockD1Ev at Base 2020.3
- (optional)_ZN11MallocMutex11scoped_lockD2Ev at Base 2020.3
+#MISSING: 2020.3-2.1# _Z9parseFileILi100ELi1EEvPKcRAT0__K13parseFileItem at Base 2018~U6
+#MISSING: 2020.3-2.1# _Z9parseFileILi100ELi2EEvPKcRAT0__K13parseFileItem at Base 2018~U6
+#MISSING: 2020.3-2.1# (optional)_ZN11MallocMutex11scoped_lockD1Ev at Base 2020.3
+#MISSING: 2020.3-2.1# (optional)_ZN11MallocMutex11scoped_lockD2Ev at Base 2020.3
_ZN3rml10pool_msizeEPNS_10MemoryPoolEPv at Base 2019~U4
_ZN3rml10pool_resetEPNS_10MemoryPoolE at Base 2017~U7
_ZN3rml11pool_createElPKNS_13MemPoolPolicyE at Base 2017~U7
dh_makeshlibs: error: failing due to earlier errors
make: *** [debian/rules:49: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
More information about the debian-science-maintainers
mailing list