Your message dated Tue, 19 Jul 2022 19:11:46 +0200
with message-id <[email protected]>
and subject line Re: Bug#1015541: memkind: ftbfs with LTO (link time
optimization) enabled
has caused the Debian Bug report #1015541,
regarding memkind: ftbfs with LTO (link time optimization) enabled
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1015541: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1015541
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:memkind
Version: 1.13.0-1
Severity: minor
Tags: sid bookworm
User: [email protected]
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/memkind_1.13.0-1_unstable_dpkglto.log
The last lines of the build log are at the end of this report.
[...]
libtool: link: gcc -shared -fPIC -DPIC autohbw/.libs/autohbw.o -Wl,-rpath
-Wl,/<<PKGBUILDDIR>>/.libs -ldaxctl -lhwloc ./.libs/libmemkind.so -lm -lpthread
-lnuma -g -O2 -flto=auto -fstack-protector-strong -flto=auto -Wl,-z -Wl,relro
-pthread -Wl,-soname -Wl,libautohbw.so.0 -o autohbw/.libs/libautohbw.so.0.0.0
libtool: link: (cd "autohbw/.libs" && rm -f "libautohbw.so.0" && ln -s
"libautohbw.so.0.0.0" "libautohbw.so.0")
libtool: link: (cd "autohbw/.libs" && rm -f "libautohbw.so" && ln -s
"libautohbw.so.0.0.0" "libautohbw.so")
libtool: link: ar cr autohbw/.libs/libautohbw.a autohbw/autohbw.o
libtool: link: ranlib autohbw/.libs/libautohbw.a
libtool: link: ( cd "autohbw/.libs" && rm -f "libautohbw.la" && ln -s
"../libautohbw.la" "libautohbw.la" )
/bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
-I./include -I./jemalloc/include -Itest/gtest_fused -DMEMKIND_DEPRECATED\(x\)=x
-Wdate-time -D_FORTIFY_SOURCE=2 -fvisibility=hidden -Wall -Werror -D_GNU_SOURCE
-DJE_PREFIX=jemk_ -DMEMTIER_ALLOC_PREFIX=je_ -g -O2
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects
-fstack-protector-strong -Wformat -Werror=format-security -pthread -c -o
tiering/ctl.lo tiering/ctl.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./include -I./jemalloc/include
-Itest/gtest_fused "-DMEMKIND_DEPRECATED(x)=x" -Wdate-time -D_FORTIFY_SOURCE=2
-fvisibility=hidden -Wall -Werror -D_GNU_SOURCE -DJE_PREFIX=jemk_
-DMEMTIER_ALLOC_PREFIX=je_ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat
-Werror=format-security -pthread -c tiering/ctl.c -fPIC -DPIC -o
tiering/.libs/ctl.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./include -I./jemalloc/include
-Itest/gtest_fused "-DMEMKIND_DEPRECATED(x)=x" -Wdate-time -D_FORTIFY_SOURCE=2
-fvisibility=hidden -Wall -Werror -D_GNU_SOURCE -DJE_PREFIX=jemk_
-DMEMTIER_ALLOC_PREFIX=je_ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat
-Werror=format-security -pthread -c tiering/ctl.c -o tiering/ctl.o >/dev/null
2>&1
/bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
-I./include -I./jemalloc/include -Itest/gtest_fused -DMEMKIND_DEPRECATED\(x\)=x
-Wdate-time -D_FORTIFY_SOURCE=2 -fvisibility=hidden -Wall -Werror -D_GNU_SOURCE
-DJE_PREFIX=jemk_ -DMEMTIER_ALLOC_PREFIX=je_ -g -O2
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects
-fstack-protector-strong -Wformat -Werror=format-security -pthread -c -o
tiering/memtier.lo tiering/memtier.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./include -I./jemalloc/include
-Itest/gtest_fused "-DMEMKIND_DEPRECATED(x)=x" -Wdate-time -D_FORTIFY_SOURCE=2
-fvisibility=hidden -Wall -Werror -D_GNU_SOURCE -DJE_PREFIX=jemk_
-DMEMTIER_ALLOC_PREFIX=je_ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat
-Werror=format-security -pthread -c tiering/memtier.c -fPIC -DPIC -o
tiering/.libs/memtier.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./include -I./jemalloc/include
-Itest/gtest_fused "-DMEMKIND_DEPRECATED(x)=x" -Wdate-time -D_FORTIFY_SOURCE=2
-fvisibility=hidden -Wall -Werror -D_GNU_SOURCE -DJE_PREFIX=jemk_
-DMEMTIER_ALLOC_PREFIX=je_ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat
-Werror=format-security -pthread -c tiering/memtier.c -o tiering/memtier.o
>/dev/null 2>&1
/bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
-I./include -I./jemalloc/include -Itest/gtest_fused -DMEMKIND_DEPRECATED\(x\)=x
-Wdate-time -D_FORTIFY_SOURCE=2 -fvisibility=hidden -Wall -Werror -D_GNU_SOURCE
-DJE_PREFIX=jemk_ -DMEMTIER_ALLOC_PREFIX=je_ -g -O2
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects
-fstack-protector-strong -Wformat -Werror=format-security -pthread -c -o
tiering/memtier_log.lo tiering/memtier_log.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./include -I./jemalloc/include
-Itest/gtest_fused "-DMEMKIND_DEPRECATED(x)=x" -Wdate-time -D_FORTIFY_SOURCE=2
-fvisibility=hidden -Wall -Werror -D_GNU_SOURCE -DJE_PREFIX=jemk_
-DMEMTIER_ALLOC_PREFIX=je_ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat
-Werror=format-security -pthread -c tiering/memtier_log.c -fPIC -DPIC -o
tiering/.libs/memtier_log.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./include -I./jemalloc/include
-Itest/gtest_fused "-DMEMKIND_DEPRECATED(x)=x" -Wdate-time -D_FORTIFY_SOURCE=2
-fvisibility=hidden -Wall -Werror -D_GNU_SOURCE -DJE_PREFIX=jemk_
-DMEMTIER_ALLOC_PREFIX=je_ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat
-Werror=format-security -pthread -c tiering/memtier_log.c -o
tiering/memtier_log.o >/dev/null 2>&1
/bin/bash ./libtool --tag=CC --mode=link gcc -fvisibility=hidden -Wall
-Werror -D_GNU_SOURCE -DJE_PREFIX=jemk_ -DMEMTIER_ALLOC_PREFIX=je_ -g -O2
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects
-fstack-protector-strong -Wformat -Werror=format-security -pthread -flto=auto
-ffat-lto-objects -Wl,-z,relro -ldaxctl -lhwloc -o tiering/libmemtier.la -rpath
/usr/lib/x86_64-linux-gnu tiering/ctl.lo tiering/memtier.lo
tiering/memtier_log.lo libmemkind.la -lm -lpthread -lnuma
libtool: link: gcc -shared -fPIC -DPIC tiering/.libs/ctl.o
tiering/.libs/memtier.o tiering/.libs/memtier_log.o -Wl,-rpath
-Wl,/<<PKGBUILDDIR>>/.libs -ldaxctl -lhwloc ./.libs/libmemkind.so -lm -lpthread
-lnuma -g -O2 -flto=auto -fstack-protector-strong -flto=auto -Wl,-z -Wl,relro
-pthread -Wl,-soname -Wl,libmemtier.so.0 -o tiering/.libs/libmemtier.so.0.0.0
libtool: link: (cd "tiering/.libs" && rm -f "libmemtier.so.0" && ln -s
"libmemtier.so.0.0.0" "libmemtier.so.0")
libtool: link: (cd "tiering/.libs" && rm -f "libmemtier.so" && ln -s
"libmemtier.so.0.0.0" "libmemtier.so")
libtool: link: ar cr tiering/.libs/libmemtier.a tiering/ctl.o
tiering/memtier.o tiering/memtier_log.o
libtool: link: ranlib tiering/.libs/libmemtier.a
libtool: link: ( cd "tiering/.libs" && rm -f "libmemtier.la" && ln -s
"../libmemtier.la" "libmemtier.la" )
/bin/bash ./libtool --tag=CC --mode=link gcc -fvisibility=hidden -Wall
-Werror -D_GNU_SOURCE -DJE_PREFIX=jemk_ -DMEMTIER_ALLOC_PREFIX=je_ -g -O2
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects
-fstack-protector-strong -Wformat -Werror=format-security -pthread -flto=auto
-ffat-lto-objects -Wl,-z,relro -ldaxctl -lhwloc -o test/libautohbw.la
autohbw/autohbw.lo -lm -lpthread -lnuma
libtool: link: ar cr test/.libs/libautohbw.a autohbw/.libs/autohbw.o
libtool: link: ranlib test/.libs/libautohbw.a
libtool: link: ( cd "test/.libs" && rm -f "libautohbw.la" && ln -s
"../libautohbw.la" "libautohbw.la" )
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules override_dh_auto_test
make[1]: Entering directory '/<<PKGBUILDDIR>>'
make[2]: Entering directory '/<<PKGBUILDDIR>>'
g++ -std=c++11 -DHAVE_CONFIG_H -I. -I./include -I./jemalloc/include
-Itest/gtest_fused -DMEMKIND_DEPRECATED\(x\)=x -Wdate-time -D_FORTIFY_SOURCE=2
-fvisibility=hidden -Wall -Werror -D_GNU_SOURCE -DJE_PREFIX=jemk_
-DMEMTIER_ALLOC_PREFIX=je_ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat
-Werror=format-security -fopenmp -DNUMAKIND_MAX=2048 -g -O2
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects
-fstack-protector-strong -Wformat -Werror=format-security -c -o
test/gtest_fused/gtest/all_tests-gtest-all.o `test -f
'test/gtest_fused/gtest/gtest-all.cc' || echo
'./'`test/gtest_fused/gtest/gtest-all.cc
g++ -std=c++11 -DHAVE_CONFIG_H -I. -I./include -I./jemalloc/include
-Itest/gtest_fused -DMEMKIND_DEPRECATED\(x\)=x -Wdate-time -D_FORTIFY_SOURCE=2
-fvisibility=hidden -Wall -Werror -D_GNU_SOURCE -DJE_PREFIX=jemk_
-DMEMTIER_ALLOC_PREFIX=je_ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat
-Werror=format-security -fopenmp -DNUMAKIND_MAX=2048 -g -O2
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects
-fstack-protector-strong -Wformat -Werror=format-security -c -o
test/all_tests-main.o `test -f 'test/main.cpp' || echo './'`test/main.cpp
g++ -std=c++11 -DHAVE_CONFIG_H -I. -I./include -I./jemalloc/include
-Itest/gtest_fused -DMEMKIND_DEPRECATED\(x\)=x -Wdate-time -D_FORTIFY_SOURCE=2
-fvisibility=hidden -Wall -Werror -D_GNU_SOURCE -DJE_PREFIX=jemk_
-DMEMTIER_ALLOC_PREFIX=je_ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat
-Werror=format-security -fopenmp -DNUMAKIND_MAX=2048 -g -O2
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects
-fstack-protector-strong -Wformat -Werror=format-security -c -o
test/all_tests-bat_tests.o `test -f 'test/bat_tests.cpp' || echo
'./'`test/bat_tests.cpp
g++ -std=c++11 -DHAVE_CONFIG_H -I. -I./include -I./jemalloc/include
-Itest/gtest_fused -DMEMKIND_DEPRECATED\(x\)=x -Wdate-time -D_FORTIFY_SOURCE=2
-fvisibility=hidden -Wall -Werror -D_GNU_SOURCE -DJE_PREFIX=jemk_
-DMEMTIER_ALLOC_PREFIX=je_ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat
-Werror=format-security -fopenmp -DNUMAKIND_MAX=2048 -g -O2
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects
-fstack-protector-strong -Wformat -Werror=format-security -c -o
test/all_tests-check.o `test -f 'test/check.cpp' || echo './'`test/check.cpp
g++ -std=c++11 -DHAVE_CONFIG_H -I. -I./include -I./jemalloc/include
-Itest/gtest_fused -DMEMKIND_DEPRECATED\(x\)=x -Wdate-time -D_FORTIFY_SOURCE=2
-fvisibility=hidden -Wall -Werror -D_GNU_SOURCE -DJE_PREFIX=jemk_
-DMEMTIER_ALLOC_PREFIX=je_ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat
-Werror=format-security -fopenmp -DNUMAKIND_MAX=2048 -g -O2
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects
-fstack-protector-strong -Wformat -Werror=format-security -c -o
test/all_tests-dlopen_test.o `test -f 'test/dlopen_test.cpp' || echo
'./'`test/dlopen_test.cpp
g++ -std=c++11 -DHAVE_CONFIG_H -I. -I./include -I./jemalloc/include
-Itest/gtest_fused -DMEMKIND_DEPRECATED\(x\)=x -Wdate-time -D_FORTIFY_SOURCE=2
-fvisibility=hidden -Wall -Werror -D_GNU_SOURCE -DJE_PREFIX=jemk_
-DMEMTIER_ALLOC_PREFIX=je_ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat
-Werror=format-security -fopenmp -DNUMAKIND_MAX=2048 -g -O2
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects
-fstack-protector-strong -Wformat -Werror=format-security -c -o
test/all_tests-error_message_tests.o `test -f 'test/error_message_tests.cpp' ||
echo './'`test/error_message_tests.cpp
g++ -std=c++11 -DHAVE_CONFIG_H -I. -I./include -I./jemalloc/include
-Itest/gtest_fused -DMEMKIND_DEPRECATED\(x\)=x -Wdate-time -D_FORTIFY_SOURCE=2
-fvisibility=hidden -Wall -Werror -D_GNU_SOURCE -DJE_PREFIX=jemk_
-DMEMTIER_ALLOC_PREFIX=je_ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat
-Werror=format-security -fopenmp -DNUMAKIND_MAX=2048 -g -O2
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects
-fstack-protector-strong -Wformat -Werror=format-security -c -o
test/all_tests-get_arena_test.o `test -f 'test/get_arena_test.cpp' || echo
'./'`test/get_arena_test.cpp
g++ -std=c++11 -DHAVE_CONFIG_H -I. -I./include -I./jemalloc/include
-Itest/gtest_fused -DMEMKIND_DEPRECATED\(x\)=x -Wdate-time -D_FORTIFY_SOURCE=2
-fvisibility=hidden -Wall -Werror -D_GNU_SOURCE -DJE_PREFIX=jemk_
-DMEMTIER_ALLOC_PREFIX=je_ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat
-Werror=format-security -fopenmp -DNUMAKIND_MAX=2048 -g -O2
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects
-fstack-protector-strong -Wformat -Werror=format-security -c -o
test/all_tests-hbw_allocator_tests.o `test -f 'test/hbw_allocator_tests.cpp' ||
echo './'`test/hbw_allocator_tests.cpp
g++ -std=c++11 -DHAVE_CONFIG_H -I. -I./include -I./jemalloc/include
-Itest/gtest_fused -DMEMKIND_DEPRECATED\(x\)=x -Wdate-time -D_FORTIFY_SOURCE=2
-fvisibility=hidden -Wall -Werror -D_GNU_SOURCE -DJE_PREFIX=jemk_
-DMEMTIER_ALLOC_PREFIX=je_ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat
-Werror=format-security -fopenmp -DNUMAKIND_MAX=2048 -g -O2
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects
-fstack-protector-strong -Wformat -Werror=format-security -c -o
test/all_tests-hbw_verify_function_test.o `test -f
'test/hbw_verify_function_test.cpp' || echo
'./'`test/hbw_verify_function_test.cpp
g++ -std=c++11 -DHAVE_CONFIG_H -I. -I./include -I./jemalloc/include
-Itest/gtest_fused -DMEMKIND_DEPRECATED\(x\)=x -Wdate-time -D_FORTIFY_SOURCE=2
-fvisibility=hidden -Wall -Werror -D_GNU_SOURCE -DJE_PREFIX=jemk_
-DMEMTIER_ALLOC_PREFIX=je_ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat
-Werror=format-security -fopenmp -DNUMAKIND_MAX=2048 -g -O2
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects
-fstack-protector-strong -Wformat -Werror=format-security -c -o
test/all_tests-memkind_allocator_tests.o `test -f
'test/memkind_allocator_tests.cpp' || echo './'`test/memkind_allocator_tests.cpp
g++ -std=c++11 -DHAVE_CONFIG_H -I. -I./include -I./jemalloc/include
-Itest/gtest_fused -DMEMKIND_DEPRECATED\(x\)=x -Wdate-time -D_FORTIFY_SOURCE=2
-fvisibility=hidden -Wall -Werror -D_GNU_SOURCE -DJE_PREFIX=jemk_
-DMEMTIER_ALLOC_PREFIX=je_ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat
-Werror=format-security -fopenmp -DNUMAKIND_MAX=2048 -g -O2
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects
-fstack-protector-strong -Wformat -Werror=format-security -c -o
test/all_tests-memkind_detect_kind_tests.o `test -f
'test/memkind_detect_kind_tests.cpp' || echo
'./'`test/memkind_detect_kind_tests.cpp
g++ -std=c++11 -DHAVE_CONFIG_H -I. -I./include -I./jemalloc/include
-Itest/gtest_fused -DMEMKIND_DEPRECATED\(x\)=x -Wdate-time -D_FORTIFY_SOURCE=2
-fvisibility=hidden -Wall -Werror -D_GNU_SOURCE -DJE_PREFIX=jemk_
-DMEMTIER_ALLOC_PREFIX=je_ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat
-Werror=format-security -fopenmp -DNUMAKIND_MAX=2048 -g -O2
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects
-fstack-protector-strong -Wformat -Werror=format-security -c -o
test/all_tests-memkind_null_kind_test.o `test -f
'test/memkind_null_kind_test.cpp' || echo './'`test/memkind_null_kind_test.cpp
g++ -std=c++11 -DHAVE_CONFIG_H -I. -I./include -I./jemalloc/include
-Itest/gtest_fused -DMEMKIND_DEPRECATED\(x\)=x -Wdate-time -D_FORTIFY_SOURCE=2
-fvisibility=hidden -Wall -Werror -D_GNU_SOURCE -DJE_PREFIX=jemk_
-DMEMTIER_ALLOC_PREFIX=je_ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat
-Werror=format-security -fopenmp -DNUMAKIND_MAX=2048 -g -O2
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects
-fstack-protector-strong -Wformat -Werror=format-security -c -o
test/all_tests-memkind_versioning_tests.o `test -f
'test/memkind_versioning_tests.cpp' || echo
'./'`test/memkind_versioning_tests.cpp
g++ -std=c++11 -DHAVE_CONFIG_H -I. -I./include -I./jemalloc/include
-Itest/gtest_fused -DMEMKIND_DEPRECATED\(x\)=x -Wdate-time -D_FORTIFY_SOURCE=2
-fvisibility=hidden -Wall -Werror -D_GNU_SOURCE -DJE_PREFIX=jemk_
-DMEMTIER_ALLOC_PREFIX=je_ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat
-Werror=format-security -fopenmp -DNUMAKIND_MAX=2048 -g -O2
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects
-fstack-protector-strong -Wformat -Werror=format-security -c -o
test/all_tests-multithreaded_tests.o `test -f 'test/multithreaded_tests.cpp' ||
echo './'`test/multithreaded_tests.cpp
g++ -std=c++11 -DHAVE_CONFIG_H -I. -I./include -I./jemalloc/include
-Itest/gtest_fused -DMEMKIND_DEPRECATED\(x\)=x -Wdate-time -D_FORTIFY_SOURCE=2
-fvisibility=hidden -Wall -Werror -D_GNU_SOURCE -DJE_PREFIX=jemk_
-DMEMTIER_ALLOC_PREFIX=je_ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat
-Werror=format-security -fopenmp -DNUMAKIND_MAX=2048 -g -O2
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects
-fstack-protector-strong -Wformat -Werror=format-security -c -o
test/all_tests-negative_tests.o `test -f 'test/negative_tests.cpp' || echo
'./'`test/negative_tests.cpp
g++ -std=c++11 -DHAVE_CONFIG_H -I. -I./include -I./jemalloc/include
-Itest/gtest_fused -DMEMKIND_DEPRECATED\(x\)=x -Wdate-time -D_FORTIFY_SOURCE=2
-fvisibility=hidden -Wall -Werror -D_GNU_SOURCE -DJE_PREFIX=jemk_
-DMEMTIER_ALLOC_PREFIX=je_ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat
-Werror=format-security -fopenmp -DNUMAKIND_MAX=2048 -g -O2
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects
-fstack-protector-strong -Wformat -Werror=format-security -c -o
test/all_tests-pmem_allocator_tests.o `test -f 'test/pmem_allocator_tests.cpp'
|| echo './'`test/pmem_allocator_tests.cpp
g++ -std=c++11 -DHAVE_CONFIG_H -I. -I./include -I./jemalloc/include
-Itest/gtest_fused -DMEMKIND_DEPRECATED\(x\)=x -Wdate-time -D_FORTIFY_SOURCE=2
-fvisibility=hidden -Wall -Werror -D_GNU_SOURCE -DJE_PREFIX=jemk_
-DMEMTIER_ALLOC_PREFIX=je_ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat
-Werror=format-security -fopenmp -DNUMAKIND_MAX=2048 -g -O2
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects
-fstack-protector-strong -Wformat -Werror=format-security -c -o
test/all_tests-fixed_allocator_tests.o `test -f
'test/fixed_allocator_tests.cpp' || echo './'`test/fixed_allocator_tests.cpp
g++ -std=c++11 -DHAVE_CONFIG_H -I. -I./include -I./jemalloc/include
-Itest/gtest_fused -DMEMKIND_DEPRECATED\(x\)=x -Wdate-time -D_FORTIFY_SOURCE=2
-fvisibility=hidden -Wall -Werror -D_GNU_SOURCE -DJE_PREFIX=jemk_
-DMEMTIER_ALLOC_PREFIX=je_ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat
-Werror=format-security -fopenmp -DNUMAKIND_MAX=2048 -g -O2
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects
-fstack-protector-strong -Wformat -Werror=format-security -c -o
test/all_tests-static_kinds_tests.o `test -f 'test/static_kinds_tests.cpp' ||
echo './'`test/static_kinds_tests.cpp
g++ -std=c++11 -DHAVE_CONFIG_H -I. -I./include -I./jemalloc/include
-Itest/gtest_fused -DMEMKIND_DEPRECATED\(x\)=x -Wdate-time -D_FORTIFY_SOURCE=2
-fvisibility=hidden -Wall -Werror -D_GNU_SOURCE -DJE_PREFIX=jemk_
-DMEMTIER_ALLOC_PREFIX=je_ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat
-Werror=format-security -fopenmp -DNUMAKIND_MAX=2048 -g -O2
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects
-fstack-protector-strong -Wformat -Werror=format-security -c -o
test/all_tests-trial_generator.o `test -f 'test/trial_generator.cpp' || echo
'./'`test/trial_generator.cpp
/bin/bash ./libtool --tag=CXX --mode=link g++ -std=c++11 -fvisibility=hidden
-Wall -Werror -D_GNU_SOURCE -DJE_PREFIX=jemk_ -DMEMTIER_ALLOC_PREFIX=je_ -g -O2
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects
-fstack-protector-strong -Wformat -Werror=format-security -fopenmp
-DNUMAKIND_MAX=2048 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto
-ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security
-ldl -flto=auto -ffat-lto-objects -Wl,-z,relro -ldaxctl -lhwloc -o
test/all_tests test/gtest_fused/gtest/all_tests-gtest-all.o
test/all_tests-main.o test/all_tests-bat_tests.o test/all_tests-check.o
test/all_tests-dlopen_test.o test/all_tests-error_message_tests.o
test/all_tests-get_arena_test.o test/all_tests-hbw_allocator_tests.o
test/all_tests-hbw_verify_function_test.o
test/all_tests-memkind_allocator_tests.o
test/all_tests-memkind_detect_kind_tests.o
test/all_tests-memkind_null_kind_test.o
test/all_tests-memkind_versioning_tests.o test/all_tes
ts-multithreaded_tests.o test/all_tests-negative_tests.o
test/all_tests-pmem_allocator_tests.o test/all_tests-fixed_allocator_tests.o
test/all_tests-static_kinds_tests.o test/all_tests-trial_generator.o
libmemkind.la -lm -lpthread -lnuma
libtool: link: g++ -std=c++11 -fvisibility=hidden -Wall -Werror -D_GNU_SOURCE
-DJE_PREFIX=jemk_ -DMEMTIER_ALLOC_PREFIX=je_ -g -O2
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects
-fstack-protector-strong -Wformat -Werror=format-security -fopenmp
-DNUMAKIND_MAX=2048 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto
-ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security
-flto=auto -ffat-lto-objects -Wl,-z -Wl,relro -o test/.libs/all_tests
test/gtest_fused/gtest/all_tests-gtest-all.o test/all_tests-main.o
test/all_tests-bat_tests.o test/all_tests-check.o test/all_tests-dlopen_test.o
test/all_tests-error_message_tests.o test/all_tests-get_arena_test.o
test/all_tests-hbw_allocator_tests.o test/all_tests-hbw_verify_function_test.o
test/all_tests-memkind_allocator_tests.o
test/all_tests-memkind_detect_kind_tests.o
test/all_tests-memkind_null_kind_test.o
test/all_tests-memkind_versioning_tests.o test/all_tests-multithreaded_tests.o
test/all_tests-ne
gative_tests.o test/all_tests-pmem_allocator_tests.o
test/all_tests-fixed_allocator_tests.o test/all_tests-static_kinds_tests.o
test/all_tests-trial_generator.o -ldl -ldaxctl -lhwloc ./.libs/libmemkind.so
-lm -lpthread -lnuma -pthread -fopenmp
test/memkind_detect_kind_tests.cpp:7:20: error: 'PMEM_DIR' violates the C++ One
Definition Rule [-Werror=odr]
7 | extern const char *PMEM_DIR;
| ^
test/main.cpp:6:7: note: type 'char' should match type 'const char'
6 | char *PMEM_DIR = const_cast<char *>("/tmp/");
| ^
test/main.cpp:6:7: note: 'PMEM_DIR' was previously declared here
lto1: all warnings being treated as errors
lto-wrapper: fatal error: g++ returned 1 exit status
compilation terminated.
/usr/bin/ld: error: lto-wrapper failed
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:2689: test/all_tests] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [debian/rules:10: override_dh_auto_test] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:33: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--- End Message ---
--- Begin Message ---
Version: 1.13.0-2
On Tue, Jul 19, 2022 at 04:56:40PM +0000, Matthias Klose wrote:
> Package: src:memkind
> Version: 1.13.0-1
> User: [email protected]
> Usertags: ftbfs-lto
>
> This package currently fails to build (at least on the amd64
M'kay. However, that version was followed by:
# memkind (1.13.0-2) unstable; urgency=medium
#
# * Fix FTBFS with LTO.
#
# -- Adam Borowski <[email protected]> Sun, 19 Jun 2022 10:16:45 +0200
then by 1.14.0~rc1-1 in experimental, then 1.14.0-1 in unstable.
I'm not sure what's the policy on re-testing when there's a long time span
between the test rebuild and MBF -- but as you have pinged d-devel and
maintainers before, a sizeable portion has fixed the fails in between.
喵!
--
⢀⣴⠾⠻⢶⣦⠀ Latin: meow 4 characters, 4 columns, 4 bytes
⣾⠁⢠⠒⠀⣿⡁ Greek: μεου 4 characters, 4 columns, 8 bytes
⢿⡄⠘⠷⠚⠋⠀ Runes: ᛗᛖᛟᚹ 4 characters, 4 columns, 12 bytes
⠈⠳⣄⠀⠀⠀⠀ Chinese: 喵 1 character, 2 columns, 3 bytes <-- best!
--- End Message ---