#1015692 tpm2-abrmd: ftbfs with LTO (link time optimization) enabled

#1015692#5
Date:
2022-07-19 17:01:54 UTC
From:
To:
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/tpm2-abrmd_2.4.1-1_unstable_dpkglto.log
The last lines of the build log are at the end of this report.

[...]
libtool: link: ranlib test/integration/.libs/libtest.a
libtool: link: ( cd "test/integration/.libs" && rm -f "libtest.la" && ln -s "../libtest.la" "libtest.la" )
/bin/bash ./libtool  --tag=CC   --mode=link gcc -O2 -Wall -Wextra -std=gnu99 -Wformat -Wformat-security -Wno-missing-braces -fdata-sections -ffunction-sections -fstack-protector-all -fpic -fPIC -Wstrict-overflow=5 -I./src -I./src/include -I./src -pthread -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -I/usr/include/tss2  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wl,--wrap=Tss2_Sys_FlushContext -Wl,--wrap=Tss2_Sys_ContextLoad,--wrap=Tss2_Sys_ContextSave -Wl,--wrap=Tss2_Sys_GetCapability,--wrap=Tss2_Sys_Initialize -Wl,--wrap=Tss2_Sys_Startup -flto=auto -ffat-lto-objects -Wl,-z,relro -Wl,-z,now -o test/tpm2_unit test/tpm2_unit-tpm2_unit.o -lcmocka src/libutil.la test/integration/libtest.la -ldl
/bin/bash ./libtool  --tag=CC   --mode=link gcc -O2 -Wall -Wextra -std=gnu99 -Wformat -Wformat-security -Wno-missing-braces -fdata-sections -ffunction-sections -fstack-protector-all -fpic -fPIC -Wstrict-overflow=5 -I./src -I./src/include -I./src -pthread -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -I/usr/include/tss2  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wl,--wrap=tpm2_get_command_attrs -flto=auto -ffat-lto-objects -Wl,-z,relro -Wl,-z,now -o test/command-attrs_unit test/command_attrs_unit-command-attrs_unit.o -lcmocka src/libutil.la test/integration/libtest.la -ldl
/bin/bash ./libtool  --tag=CC   --mode=link gcc -O2 -Wall -Wextra -std=gnu99 -Wformat -Wformat-security -Wno-missing-braces -fdata-sections -ffunction-sections -fstack-protector-all -fpic -fPIC -Wstrict-overflow=5 -I./src -I./src/include -I./src -pthread -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -I/usr/include/tss2  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wl,--gc-sections -Wl,--no-undefined -Wl,-z,noexecstack -Wl,-z,now -Wl,-z,relro  -flto=auto -ffat-lto-objects -Wl,-z,relro -Wl,-z,now -o test/connection_unit test/connection_unit-connection_unit.o -lcmocka src/libutil.la test/integration/libtest.la -ldl
/bin/bash ./libtool  --tag=CC   --mode=link gcc -O2 -Wall -Wextra -std=gnu99 -Wformat -Wformat-security -Wno-missing-braces -fdata-sections -ffunction-sections -fstack-protector-all -fpic -fPIC -Wstrict-overflow=5 -I./src -I./src/include -I./src -pthread -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -I/usr/include/tss2  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wl,--gc-sections -Wl,--no-undefined -Wl,-z,noexecstack -Wl,-z,now -Wl,-z,relro  -flto=auto -ffat-lto-objects -Wl,-z,relro -Wl,-z,now -o test/connection-manager_unit test/connection_manager_unit-connection-manager_unit.o -lcmocka src/libutil.la test/integration/libtest.la -ldl
/bin/bash ./libtool  --tag=CC   --mode=link gcc -O2 -Wall -Wextra -std=gnu99 -Wformat -Wformat-security -Wno-missing-braces -fdata-sections -ffunction-sections -fstack-protector-all -fpic -fPIC -Wstrict-overflow=5 -I./src -I./src/include -I./src -pthread -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -I/usr/include/tss2  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wl,--wrap=getenv,--wrap=syslog -flto=auto -ffat-lto-objects -Wl,-z,relro -Wl,-z,now -o test/logging_unit test/logging_unit-logging_unit.o -lcmocka src/libutil.la test/integration/libtest.la -ldl
/bin/bash ./libtool  --tag=CC   --mode=link gcc -O2 -Wall -Wextra -std=gnu99 -Wformat -Wformat-security -Wno-missing-braces -fdata-sections -ffunction-sections -fstack-protector-all -fpic -fPIC -Wstrict-overflow=5 -I./src -I./src/include -I./src -pthread -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -I/usr/include/tss2  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wl,--gc-sections -Wl,--no-undefined -Wl,-z,noexecstack -Wl,-z,now -Wl,-z,relro  -flto=auto -ffat-lto-objects -Wl,-z,relro -Wl,-z,now -o test/message-queue_unit test/message_queue_unit-message-queue_unit.o -lcmocka src/libutil.la test/integration/libtest.la -ldl
/bin/bash ./libtool  --tag=CC   --mode=link gcc -O2 -Wall -Wextra -std=gnu99 -Wformat -Wformat-security -Wno-missing-braces -fdata-sections -ffunction-sections -fstack-protector-all -fpic -fPIC -Wstrict-overflow=5 -I./src -I./src/include -I./src -pthread -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -I/usr/include/tss2  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wl,--wrap=tpm2_send_command,--wrap=sink_enqueue,--wrap=tpm2_context_saveflush,--wrap=tpm2_context_load -flto=auto -ffat-lto-objects -Wl,-z,relro -Wl,-z,now -o test/resource-manager_unit test/resource_manager_unit-resource-manager_unit.o -lcmocka src/libutil.la test/integration/libtest.la -ldl
/bin/bash ./libtool  --tag=CC   --mode=link gcc -O2 -Wall -Wextra -std=gnu99 -Wformat -Wformat-security -Wno-missing-braces -fdata-sections -ffunction-sections -fstack-protector-all -fpic -fPIC -Wstrict-overflow=5 -I./src -I./src/include -I./src -pthread -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -I/usr/include/tss2  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wl,--gc-sections -Wl,--no-undefined -Wl,-z,noexecstack -Wl,-z,now -Wl,-z,relro  -flto=auto -ffat-lto-objects -Wl,-z,relro -Wl,-z,now -o test/response-sink_unit test/response_sink_unit-response-sink_unit.o -lcmocka src/libutil.la test/integration/libtest.la -ldl
libtool: link: gcc -O2 -Wall -Wextra -std=gnu99 -Wformat -Wformat-security -Wno-missing-braces -fdata-sections -ffunction-sections -fstack-protector-all -fpic -fPIC -Wstrict-overflow=5 -I./src -I./src/include -I./src -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wl,--wrap=tpm2_send_command -Wl,--wrap=sink_enqueue -Wl,--wrap=tpm2_context_saveflush -Wl,--wrap=tpm2_context_load -flto=auto -ffat-lto-objects -Wl,-z -Wl,relro -Wl,-z -Wl,now -o test/resource-manager_unit test/resource_manager_unit-resource-manager_unit.o  -lcmocka src/.libs/libutil.a -lgio-2.0 -lgobject-2.0 -lpthread -ltss2-mu -ltss2-rc test/integration/.libs/libtest.a -ltss2-sys -ltss2-tctildr -lglib-2.0 -ldl -pthread
libtool: link: gcc -O2 -Wall -Wextra -std=gnu99 -Wformat -Wformat-security -Wno-missing-braces -fdata-sections -ffunction-sections -fstack-protector-all -fpic -fPIC -Wstrict-overflow=5 -I./src -I./src/include -I./src -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wl,--gc-sections -Wl,--no-undefined -Wl,-z -Wl,noexecstack -Wl,-z -Wl,now -Wl,-z -Wl,relro -flto=auto -ffat-lto-objects -Wl,-z -Wl,relro -Wl,-z -Wl,now -o test/response-sink_unit test/response_sink_unit-response-sink_unit.o  -lcmocka src/.libs/libutil.a -lgio-2.0 -lgobject-2.0 -lpthread -ltss2-mu -ltss2-rc test/integration/.libs/libtest.a -ltss2-sys -ltss2-tctildr -lglib-2.0 -ldl -pthread
libtool: link: gcc -O2 -Wall -Wextra -std=gnu99 -Wformat -Wformat-security -Wno-missing-braces -fdata-sections -ffunction-sections -fstack-protector-all -fpic -fPIC -Wstrict-overflow=5 -I./src -I./src/include -I./src -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wl,--wrap=Tss2_Sys_FlushContext -Wl,--wrap=Tss2_Sys_ContextLoad -Wl,--wrap=Tss2_Sys_ContextSave -Wl,--wrap=Tss2_Sys_GetCapability -Wl,--wrap=Tss2_Sys_Initialize -Wl,--wrap=Tss2_Sys_Startup -flto=auto -ffat-lto-objects -Wl,-z -Wl,relro -Wl,-z -Wl,now -o test/tpm2_unit test/tpm2_unit-tpm2_unit.o  -lcmocka src/.libs/libutil.a -lgio-2.0 -lgobject-2.0 -lpthread -ltss2-mu -ltss2-rc test/integration/.libs/libtest.a -ltss2-sys -ltss2-tctildr -lglib-2.0 -ldl -pthread
libtool: link: gcc -O2 -Wall -Wextra -std=gnu99 -Wformat -Wformat-security -Wno-missing-braces -fdata-sections -ffunction-sections -fstack-protector-all -fpic -fPIC -Wstrict-overflow=5 -I./src -I./src/include -I./src -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wl,--gc-sections -Wl,--no-undefined -Wl,-z -Wl,noexecstack -Wl,-z -Wl,now -Wl,-z -Wl,relro -flto=auto -ffat-lto-objects -Wl,-z -Wl,relro -Wl,-z -Wl,now -o test/connection_unit test/connection_unit-connection_unit.o  -lcmocka src/.libs/libutil.a -lgio-2.0 -lgobject-2.0 -lpthread -ltss2-mu -ltss2-rc test/integration/.libs/libtest.a -ltss2-sys -ltss2-tctildr -lglib-2.0 -ldl -pthread
libtool: link: gcc -O2 -Wall -Wextra -std=gnu99 -Wformat -Wformat-security -Wno-missing-braces -fdata-sections -ffunction-sections -fstack-protector-all -fpic -fPIC -Wstrict-overflow=5 -I./src -I./src/include -I./src -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wl,--gc-sections -Wl,--no-undefined -Wl,-z -Wl,noexecstack -Wl,-z -Wl,now -Wl,-z -Wl,relro -flto=auto -ffat-lto-objects -Wl,-z -Wl,relro -Wl,-z -Wl,now -o test/connection-manager_unit test/connection_manager_unit-connection-manager_unit.o  -lcmocka src/.libs/libutil.a -lgio-2.0 -lgobject-2.0 -lpthread -ltss2-mu -ltss2-rc test/integration/.libs/libtest.a -ltss2-sys -ltss2-tctildr -lglib-2.0 -ldl -pthread
libtool: link: gcc -O2 -Wall -Wextra -std=gnu99 -Wformat -Wformat-security -Wno-missing-braces -fdata-sections -ffunction-sections -fstack-protector-all -fpic -fPIC -Wstrict-overflow=5 -I./src -I./src/include -I./src -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wl,--gc-sections -Wl,--no-undefined -Wl,-z -Wl,noexecstack -Wl,-z -Wl,now -Wl,-z -Wl,relro -flto=auto -ffat-lto-objects -Wl,-z -Wl,relro -Wl,-z -Wl,now -o test/message-queue_unit test/message_queue_unit-message-queue_unit.o  -lcmocka src/.libs/libutil.a -lgio-2.0 -lgobject-2.0 -lpthread -ltss2-mu -ltss2-rc test/integration/.libs/libtest.a -ltss2-sys -ltss2-tctildr -lglib-2.0 -ldl -pthread
libtool: link: gcc -O2 -Wall -Wextra -std=gnu99 -Wformat -Wformat-security -Wno-missing-braces -fdata-sections -ffunction-sections -fstack-protector-all -fpic -fPIC -Wstrict-overflow=5 -I./src -I./src/include -I./src -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wl,--wrap=getenv -Wl,--wrap=syslog -flto=auto -ffat-lto-objects -Wl,-z -Wl,relro -Wl,-z -Wl,now -o test/logging_unit test/logging_unit-logging_unit.o  -lcmocka src/.libs/libutil.a -lgio-2.0 -lgobject-2.0 -lpthread -ltss2-mu -ltss2-rc test/integration/.libs/libtest.a -ltss2-sys -ltss2-tctildr -lglib-2.0 -ldl -pthread
libtool: link: gcc -O2 -Wall -Wextra -std=gnu99 -Wformat -Wformat-security -Wno-missing-braces -fdata-sections -ffunction-sections -fstack-protector-all -fpic -fPIC -Wstrict-overflow=5 -I./src -I./src/include -I./src -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wl,--wrap=tpm2_get_command_attrs -flto=auto -ffat-lto-objects -Wl,-z -Wl,relro -Wl,-z -Wl,now -o test/command-attrs_unit test/command_attrs_unit-command-attrs_unit.o  -lcmocka src/.libs/libutil.a -lgio-2.0 -lgobject-2.0 -lpthread -ltss2-mu -ltss2-rc test/integration/.libs/libtest.a -ltss2-sys -ltss2-tctildr -lglib-2.0 -ldl -pthread
test/tpm2_unit.c: In function 'tpm2_get_max_response_test':
test/tpm2_unit.c:329:5: warning: 'value' may be used uninitialized in this function [-Wmaybe-uninitialized]
  329 |     assert_int_equal (value, MAX_RESPONSE_VALUE);
      |     ^
test/tpm2_unit.c:325:13: note: 'value' was declared here
  325 |     guint32 value;
      |             ^
/bin/bash ./libtool  --tag=CC   --mode=link gcc -O2 -Wall -Wextra -std=gnu99 -Wformat -Wformat-security -Wno-missing-braces -fdata-sections -ffunction-sections -fstack-protector-all -fpic -fPIC -Wstrict-overflow=5 -I./src -I./src/include -I./src -pthread -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -I/usr/include/tss2  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wl,--wrap=g_source_set_callback,--wrap=connection_manager_lookup_istream,--wrap=connection_manager_remove,--wrap=sink_enqueue,--wrap=read_tpm_buffer_alloc,--wrap=command_attrs_from_cc -flto=auto -ffat-lto-objects -Wl,-z,relro -Wl,-z,now -o test/command-source_unit test/command_source_unit-command-source_unit.o -lcmocka src/libutil.la test/integration/libtest.la -ldl
/bin/bash ./libtool  --tag=CC   --mode=link gcc -O2 -Wall -Wextra -std=gnu99 -Wformat -Wformat-security -Wno-missing-braces -fdata-sections -ffunction-sections -fstack-protector-all -fpic -fPIC -Wstrict-overflow=5 -I./src -I./src/include -I./src -pthread -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -I/usr/include/tss2  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wl,--gc-sections -Wl,--no-undefined -Wl,-z,noexecstack -Wl,-z,now -Wl,-z,relro  -flto=auto -ffat-lto-objects -Wl,-z,relro -Wl,-z,now -o test/handle-map-entry_unit test/handle_map_entry_unit-handle-map-entry_unit.o -lcmocka src/libutil.la test/integration/libtest.la -ldl
/bin/bash ./libtool  --tag=CC   --mode=link gcc -O2 -Wall -Wextra -std=gnu99 -Wformat -Wformat-security -Wno-missing-braces -fdata-sections -ffunction-sections -fstack-protector-all -fpic -fPIC -Wstrict-overflow=5 -I./src -I./src/include -I./src -pthread -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -I/usr/include/tss2  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wl,--gc-sections -Wl,--no-undefined -Wl,-z,noexecstack -Wl,-z,now -Wl,-z,relro  -flto=auto -ffat-lto-objects -Wl,-z,relro -Wl,-z,now -o test/handle-map_unit test/handle_map_unit-handle-map_unit.o -lcmocka src/libutil.la test/integration/libtest.la -ldl
/bin/bash ./libtool  --tag=CC   --mode=link gcc -O2 -Wall -Wextra -std=gnu99 -Wformat -Wformat-security -Wno-missing-braces -fdata-sections -ffunction-sections -fstack-protector-all -fpic -fPIC -Wstrict-overflow=5 -I./src -I./src/include -I./src -pthread -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -I/usr/include/tss2  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wl,--gc-sections -Wl,--no-undefined -Wl,-z,noexecstack -Wl,-z,now -Wl,-z,relro  -flto=auto -ffat-lto-objects -Wl,-z,relro -Wl,-z,now -o test/ipc-frontend_unit test/ipc_frontend_unit-ipc-frontend_unit.o -lcmocka src/libutil.la test/integration/libtest.la -ldl
/bin/bash ./libtool  --tag=CC   --mode=link gcc -O2 -Wall -Wextra -std=gnu99 -Wformat -Wformat-security -Wno-missing-braces -fdata-sections -ffunction-sections -fstack-protector-all -fpic -fPIC -Wstrict-overflow=5 -I./src -I./src/include -I./src -pthread -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -I/usr/include/tss2  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wl,--gc-sections -Wl,--no-undefined -Wl,-z,noexecstack -Wl,-z,now -Wl,-z,relro  -flto=auto -ffat-lto-objects -Wl,-z,relro -Wl,-z,now -o test/ipc-frontend-dbus_unit test/ipc_frontend_dbus_unit-ipc-frontend-dbus_unit.o -lcmocka src/libutil.la test/integration/libtest.la -ldl
/bin/bash ./libtool  --tag=CC   --mode=link gcc -O2 -Wall -Wextra -std=gnu99 -Wformat -Wformat-security -Wno-missing-braces -fdata-sections -ffunction-sections -fstack-protector-all -fpic -fPIC -Wstrict-overflow=5 -I./src -I./src/include -I./src -pthread -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -I/usr/include/tss2  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wl,--wrap=open,--wrap=read,--wrap=close -flto=auto -ffat-lto-objects -Wl,-z,relro -Wl,-z,now -o test/random_unit test/random_unit-random_unit.o -lcmocka src/libutil.la test/integration/libtest.la -ldl
libtool: link: gcc -O2 -Wall -Wextra -std=gnu99 -Wformat -Wformat-security -Wno-missing-braces -fdata-sections -ffunction-sections -fstack-protector-all -fpic -fPIC -Wstrict-overflow=5 -I./src -I./src/include -I./src -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wl,--wrap=g_source_set_callback -Wl,--wrap=connection_manager_lookup_istream -Wl,--wrap=connection_manager_remove -Wl,--wrap=sink_enqueue -Wl,--wrap=read_tpm_buffer_alloc -Wl,--wrap=command_attrs_from_cc -flto=auto -ffat-lto-objects -Wl,-z -Wl,relro -Wl,-z -Wl,now -o test/command-source_unit test/command_source_unit-command-source_unit.o  -lcmocka src/.libs/libutil.a -lgio-2.0 -lgobject-2.0 -lpthread -ltss2-mu -ltss2-rc test/integration/.libs/libtest.a -ltss2-sys -ltss2-tctildr -lglib-2.0 -ldl -pthread
libtool: link: gcc -O2 -Wall -Wextra -std=gnu99 -Wformat -Wformat-security -Wno-missing-braces -fdata-sections -ffunction-sections -fstack-protector-all -fpic -fPIC -Wstrict-overflow=5 -I./src -I./src/include -I./src -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wl,--gc-sections -Wl,--no-undefined -Wl,-z -Wl,noexecstack -Wl,-z -Wl,now -Wl,-z -Wl,relro -flto=auto -ffat-lto-objects -Wl,-z -Wl,relro -Wl,-z -Wl,now -o test/handle-map-entry_unit test/handle_map_entry_unit-handle-map-entry_unit.o  -lcmocka src/.libs/libutil.a -lgio-2.0 -lgobject-2.0 -lpthread -ltss2-mu -ltss2-rc test/integration/.libs/libtest.a -ltss2-sys -ltss2-tctildr -lglib-2.0 -ldl -pthread
libtool: link: gcc -O2 -Wall -Wextra -std=gnu99 -Wformat -Wformat-security -Wno-missing-braces -fdata-sections -ffunction-sections -fstack-protector-all -fpic -fPIC -Wstrict-overflow=5 -I./src -I./src/include -I./src -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wl,--gc-sections -Wl,--no-undefined -Wl,-z -Wl,noexecstack -Wl,-z -Wl,now -Wl,-z -Wl,relro -flto=auto -ffat-lto-objects -Wl,-z -Wl,relro -Wl,-z -Wl,now -o test/handle-map_unit test/handle_map_unit-handle-map_unit.o  -lcmocka src/.libs/libutil.a -lgio-2.0 -lgobject-2.0 -lpthread -ltss2-mu -ltss2-rc test/integration/.libs/libtest.a -ltss2-sys -ltss2-tctildr -lglib-2.0 -ldl -pthread
libtool: link: gcc -O2 -Wall -Wextra -std=gnu99 -Wformat -Wformat-security -Wno-missing-braces -fdata-sections -ffunction-sections -fstack-protector-all -fpic -fPIC -Wstrict-overflow=5 -I./src -I./src/include -I./src -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wl,--gc-sections -Wl,--no-undefined -Wl,-z -Wl,noexecstack -Wl,-z -Wl,now -Wl,-z -Wl,relro -flto=auto -ffat-lto-objects -Wl,-z -Wl,relro -Wl,-z -Wl,now -o test/ipc-frontend_unit test/ipc_frontend_unit-ipc-frontend_unit.o  -lcmocka src/.libs/libutil.a -lgio-2.0 -lgobject-2.0 -lpthread -ltss2-mu -ltss2-rc test/integration/.libs/libtest.a -ltss2-sys -ltss2-tctildr -lglib-2.0 -ldl -pthread
libtool: link: gcc -O2 -Wall -Wextra -std=gnu99 -Wformat -Wformat-security -Wno-missing-braces -fdata-sections -ffunction-sections -fstack-protector-all -fpic -fPIC -Wstrict-overflow=5 -I./src -I./src/include -I./src -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wl,--gc-sections -Wl,--no-undefined -Wl,-z -Wl,noexecstack -Wl,-z -Wl,now -Wl,-z -Wl,relro -flto=auto -ffat-lto-objects -Wl,-z -Wl,relro -Wl,-z -Wl,now -o test/ipc-frontend-dbus_unit test/ipc_frontend_dbus_unit-ipc-frontend-dbus_unit.o  -lcmocka src/.libs/libutil.a -lgio-2.0 -lgobject-2.0 -lpthread -ltss2-mu -ltss2-rc test/integration/.libs/libtest.a -ltss2-sys -ltss2-tctildr -lglib-2.0 -ldl -pthread
libtool: link: gcc -O2 -Wall -Wextra -std=gnu99 -Wformat -Wformat-security -Wno-missing-braces -fdata-sections -ffunction-sections -fstack-protector-all -fpic -fPIC -Wstrict-overflow=5 -I./src -I./src/include -I./src -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wl,--wrap=open -Wl,--wrap=read -Wl,--wrap=close -flto=auto -ffat-lto-objects -Wl,-z -Wl,relro -Wl,-z -Wl,now -o test/random_unit test/random_unit-random_unit.o  -lcmocka src/.libs/libutil.a -lgio-2.0 -lgobject-2.0 -lpthread -ltss2-mu -ltss2-rc test/integration/.libs/libtest.a -ltss2-sys -ltss2-tctildr -lglib-2.0 -ldl -pthread
/bin/bash ./libtool  --tag=CC   --mode=link gcc -O2 -Wall -Wextra -std=gnu99 -Wformat -Wformat-security -Wno-missing-braces -fdata-sections -ffunction-sections -fstack-protector-all -fpic -fPIC -Wstrict-overflow=5 -I./src -I./src/include -I./src -pthread -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -I/usr/include/tss2  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wl,--gc-sections -Wl,--no-undefined -Wl,-z,noexecstack -Wl,-z,now -Wl,-z,relro  -flto=auto -ffat-lto-objects -Wl,-z,relro -Wl,-z,now -o test/session-entry_unit test/session_entry_unit-session-entry_unit.o -lcmocka src/libutil.la test/integration/libtest.la -ldl
/bin/bash ./libtool  --tag=CC   --mode=link gcc -O2 -Wall -Wextra -std=gnu99 -Wformat -Wformat-security -Wno-missing-braces -fdata-sections -ffunction-sections -fstack-protector-all -fpic -fPIC -Wstrict-overflow=5 -I./src -I./src/include -I./src -pthread -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -I/usr/include/tss2  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wl,--gc-sections -Wl,--no-undefined -Wl,-z,noexecstack -Wl,-z,now -Wl,-z,relro  -flto=auto -ffat-lto-objects -Wl,-z,relro -Wl,-z,now -o test/session-list_unit test/session_list_unit-session-list_unit.o -lcmocka src/libutil.la test/integration/libtest.la -ldl
/bin/bash ./libtool  --tag=CC   --mode=link gcc -O2 -Wall -Wextra -std=gnu99 -Wformat -Wformat-security -Wno-missing-braces -fdata-sections -ffunction-sections -fstack-protector-all -fpic -fPIC -Wstrict-overflow=5 -I./src -I./src/include -I./src -pthread -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -I/usr/include/tss2  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wl,--wrap=g_main_loop_is_running -Wl,--wrap=g_main_loop_quit,--wrap=g_unix_signal_add -Wl,--wrap=random_seed_from_file,--wrap=random_get_bytes -Wl,--wrap=ipc_frontend_connect,--wrap=Tss2_TctiLdr_Initialize -Wl,--wrap=tpm2_init_tpm,--wrap=command_attrs_init_tpm -Wl,--wrap=thread_start,--wrap=tpm2_flush_all_context -flto=auto -ffat-lto-objects -Wl,-z,relro -Wl,-z,now -o test/tabrmd-init_unit test/tabrmd_init_unit-tabrmd-init_unit.o -lcmocka src/libutil.la test/integration/libtest.la -ldl
/bin/bash ./libtool  --tag=CC   --mode=link gcc -O2 -Wall -Wextra -std=gnu99 -Wformat -Wformat-security -Wno-missing-braces -fdata-sections -ffunction-sections -fstack-protector-all -fpic -fPIC -Wstrict-overflow=5 -I./src -I./src/include -I./src -pthread -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -I/usr/include/tss2  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wl,--wrap=g_option_context_new -Wl,--wrap=g_option_context_add_main_entries,--wrap=g_option_context_parse -Wl,--wrap=set_logger,--wrap=g_option_context_free -flto=auto -ffat-lto-objects -Wl,-z,relro -Wl,-z,now -o test/tabrmd-options_unit test/tabrmd_options_unit-tabrmd-options_unit.o -lcmocka src/libutil.la test/integration/libtest.la -ldl
/bin/bash ./libtool  --tag=CC   --mode=link gcc -O2 -Wall -Wextra -std=gnu99 -Wformat -Wformat-security -Wno-missing-braces -fdata-sections -ffunction-sections -fstack-protector-all -fpic -fPIC -Wstrict-overflow=5 -I./src -I./src/include -I./src -pthread -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -I/usr/include/tss2  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wl,--gc-sections -Wl,--no-undefined -Wl,-z,noexecstack -Wl,-z,now -Wl,-z,relro  -flto=auto -ffat-lto-objects -Wl,-z,relro -Wl,-z,now -o test/test-skeleton_unit test/test_skeleton_unit-test-skeleton_unit.o -lcmocka src/libutil.la test/integration/libtest.la -ldl
libtool: link: gcc -O2 -Wall -Wextra -std=gnu99 -Wformat -Wformat-security -Wno-missing-braces -fdata-sections -ffunction-sections -fstack-protector-all -fpic -fPIC -Wstrict-overflow=5 -I./src -I./src/include -I./src -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wl,--gc-sections -Wl,--no-undefined -Wl,-z -Wl,noexecstack -Wl,-z -Wl,now -Wl,-z -Wl,relro -flto=auto -ffat-lto-objects -Wl,-z -Wl,relro -Wl,-z -Wl,now -o test/session-entry_unit test/session_entry_unit-session-entry_unit.o  -lcmocka src/.libs/libutil.a -lgio-2.0 -lgobject-2.0 -lpthread -ltss2-mu -ltss2-rc test/integration/.libs/libtest.a -ltss2-sys -ltss2-tctildr -lglib-2.0 -ldl -pthread
libtool: link: gcc -O2 -Wall -Wextra -std=gnu99 -Wformat -Wformat-security -Wno-missing-braces -fdata-sections -ffunction-sections -fstack-protector-all -fpic -fPIC -Wstrict-overflow=5 -I./src -I./src/include -I./src -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wl,--gc-sections -Wl,--no-undefined -Wl,-z -Wl,noexecstack -Wl,-z -Wl,now -Wl,-z -Wl,relro -flto=auto -ffat-lto-objects -Wl,-z -Wl,relro -Wl,-z -Wl,now -o test/session-list_unit test/session_list_unit-session-list_unit.o  -lcmocka src/.libs/libutil.a -lgio-2.0 -lgobject-2.0 -lpthread -ltss2-mu -ltss2-rc test/integration/.libs/libtest.a -ltss2-sys -ltss2-tctildr -lglib-2.0 -ldl -pthread
libtool: link: gcc -O2 -Wall -Wextra -std=gnu99 -Wformat -Wformat-security -Wno-missing-braces -fdata-sections -ffunction-sections -fstack-protector-all -fpic -fPIC -Wstrict-overflow=5 -I./src -I./src/include -I./src -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wl,--wrap=g_main_loop_is_running -Wl,--wrap=g_main_loop_quit -Wl,--wrap=g_unix_signal_add -Wl,--wrap=random_seed_from_file -Wl,--wrap=random_get_bytes -Wl,--wrap=ipc_frontend_connect -Wl,--wrap=Tss2_TctiLdr_Initialize -Wl,--wrap=tpm2_init_tpm -Wl,--wrap=command_attrs_init_tpm -Wl,--wrap=thread_start -Wl,--wrap=tpm2_flush_all_context -flto=auto -ffat-lto-objects -Wl,-z -Wl,relro -Wl,-z -Wl,now -o test/tabrmd-init_unit test/tabrmd_init_unit-tabrmd-init_unit.o  -lcmocka src/.libs/libutil.a -lgio-2.0 -lgobject-2.0 -lpthread -ltss2-mu -ltss2-rc test/integration/.libs/libtest.a -ltss2-sys -ltss2-tctildr -lglib-2.0 -ldl -pthread
libtool: link: gcc -O2 -Wall -Wextra -std=gnu99 -Wformat -Wformat-security -Wno-missing-braces -fdata-sections -ffunction-sections -fstack-protector-all -fpic -fPIC -Wstrict-overflow=5 -I./src -I./src/include -I./src -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wl,--wrap=g_option_context_new -Wl,--wrap=g_option_context_add_main_entries -Wl,--wrap=g_option_context_parse -Wl,--wrap=set_logger -Wl,--wrap=g_option_context_free -flto=auto -ffat-lto-objects -Wl,-z -Wl,relro -Wl,-z -Wl,now -o test/tabrmd-options_unit test/tabrmd_options_unit-tabrmd-options_unit.o  -lcmocka src/.libs/libutil.a -lgio-2.0 -lgobject-2.0 -lpthread -ltss2-mu -ltss2-rc test/integration/.libs/libtest.a -ltss2-sys -ltss2-tctildr -lglib-2.0 -ldl -pthread
libtool: link: gcc -O2 -Wall -Wextra -std=gnu99 -Wformat -Wformat-security -Wno-missing-braces -fdata-sections -ffunction-sections -fstack-protector-all -fpic -fPIC -Wstrict-overflow=5 -I./src -I./src/include -I./src -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wl,--gc-sections -Wl,--no-undefined -Wl,-z -Wl,noexecstack -Wl,-z -Wl,now -Wl,-z -Wl,relro -flto=auto -ffat-lto-objects -Wl,-z -Wl,relro -Wl,-z -Wl,now -o test/test-skeleton_unit test/test_skeleton_unit-test-skeleton_unit.o  -lcmocka src/.libs/libutil.a -lgio-2.0 -lgobject-2.0 -lpthread -ltss2-mu -ltss2-rc test/integration/.libs/libtest.a -ltss2-sys -ltss2-tctildr -lglib-2.0 -ldl -pthread
/bin/bash ./libtool  --tag=CC   --mode=link gcc -O2 -Wall -Wextra -std=gnu99 -Wformat -Wformat-security -Wno-missing-braces -fdata-sections -ffunction-sections -fstack-protector-all -fpic -fPIC -Wstrict-overflow=5 -I./src -I./src/include -I./src -pthread -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -I/usr/include/tss2  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wl,--gc-sections -Wl,--no-undefined -Wl,-z,noexecstack -Wl,-z,now -Wl,-z,relro  -flto=auto -ffat-lto-objects -Wl,-z,relro -Wl,-z,now -o test/tcti_unit test/tcti_unit-tcti_unit.o -lcmocka src/libutil.la test/integration/libtest.la -ldl
/bin/bash ./libtool  --tag=CC   --mode=link gcc -O2 -Wall -Wextra -std=gnu99 -Wformat -Wformat-security -Wno-missing-braces -fdata-sections -ffunction-sections -fstack-protector-all -fpic -fPIC -Wstrict-overflow=5 -I./src -I./src/include -I./src -pthread -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -I/usr/include/tss2  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wl,--gc-sections -Wl,--no-undefined -Wl,-z,noexecstack -Wl,-z,now -Wl,-z,relro  -flto=auto -ffat-lto-objects -Wl,-z,relro -Wl,-z,now -o test/thread_unit test/thread_unit-thread_unit.o -lcmocka src/libutil.la test/integration/libtest.la -ldl
/bin/bash ./libtool  --tag=CC   --mode=link gcc -O2 -Wall -Wextra -std=gnu99 -Wformat -Wformat-security -Wno-missing-braces -fdata-sections -ffunction-sections -fstack-protector-all -fpic -fPIC -Wstrict-overflow=5 -I./src -I./src/include -I./src -pthread -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -I/usr/include/tss2  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wl,--gc-sections -Wl,--no-undefined -Wl,-z,noexecstack -Wl,-z,now -Wl,-z,relro  -flto=auto -ffat-lto-objects -Wl,-z,relro -Wl,-z,now -o test/tpm2-command_unit test/tpm2_command_unit-tpm2-command_unit.o -lcmocka src/libutil.la test/integration/libtest.la -ldl
/bin/bash ./libtool  --tag=CC   --mode=link gcc -O2 -Wall -Wextra -std=gnu99 -Wformat -Wformat-security -Wno-missing-braces -fdata-sections -ffunction-sections -fstack-protector-all -fpic -fPIC -Wstrict-overflow=5 -I./src -I./src/include -I./src -pthread -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -I/usr/include/tss2  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wl,--gc-sections -Wl,--no-undefined -Wl,-z,noexecstack -Wl,-z,now -Wl,-z,relro  -flto=auto -ffat-lto-objects -Wl,-z,relro -Wl,-z,now -o test/tpm2-response_unit test/tpm2_response_unit-tpm2-response_unit.o -lcmocka src/libutil.la test/integration/libtest.la -ldl
/usr/bin/ld: /tmp/ccEDhQCy.ltrans0.ltrans.o: in function `parse_opts.constprop.0':
./src/tabrmd-options.c:143: undefined reference to `__wrap_set_logger'
collect2: error: ld returned 1 exit status
make[4]: *** [Makefile:2278: test/tabrmd-options_unit] Error 1
make[4]: *** Waiting for unfinished jobs....
libtool: link: gcc -O2 -Wall -Wextra -std=gnu99 -Wformat -Wformat-security -Wno-missing-braces -fdata-sections -ffunction-sections -fstack-protector-all -fpic -fPIC -Wstrict-overflow=5 -I./src -I./src/include -I./src -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wl,--gc-sections -Wl,--no-undefined -Wl,-z -Wl,noexecstack -Wl,-z -Wl,now -Wl,-z -Wl,relro -flto=auto -ffat-lto-objects -Wl,-z -Wl,relro -Wl,-z -Wl,now -o test/tcti_unit test/tcti_unit-tcti_unit.o  -lcmocka src/.libs/libutil.a -lgio-2.0 -lgobject-2.0 -lpthread -ltss2-mu -ltss2-rc test/integration/.libs/libtest.a -ltss2-sys -ltss2-tctildr -lglib-2.0 -ldl -pthread
libtool: link: gcc -O2 -Wall -Wextra -std=gnu99 -Wformat -Wformat-security -Wno-missing-braces -fdata-sections -ffunction-sections -fstack-protector-all -fpic -fPIC -Wstrict-overflow=5 -I./src -I./src/include -I./src -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wl,--gc-sections -Wl,--no-undefined -Wl,-z -Wl,noexecstack -Wl,-z -Wl,now -Wl,-z -Wl,relro -flto=auto -ffat-lto-objects -Wl,-z -Wl,relro -Wl,-z -Wl,now -o test/tpm2-response_unit test/tpm2_response_unit-tpm2-response_unit.o  -lcmocka src/.libs/libutil.a -lgio-2.0 -lgobject-2.0 -lpthread -ltss2-mu -ltss2-rc test/integration/.libs/libtest.a -ltss2-sys -ltss2-tctildr -lglib-2.0 -ldl -pthread
libtool: link: gcc -O2 -Wall -Wextra -std=gnu99 -Wformat -Wformat-security -Wno-missing-braces -fdata-sections -ffunction-sections -fstack-protector-all -fpic -fPIC -Wstrict-overflow=5 -I./src -I./src/include -I./src -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wl,--gc-sections -Wl,--no-undefined -Wl,-z -Wl,noexecstack -Wl,-z -Wl,now -Wl,-z -Wl,relro -flto=auto -ffat-lto-objects -Wl,-z -Wl,relro -Wl,-z -Wl,now -o test/thread_unit test/thread_unit-thread_unit.o  -lcmocka src/.libs/libutil.a -lgio-2.0 -lgobject-2.0 -lpthread -ltss2-mu -ltss2-rc test/integration/.libs/libtest.a -ltss2-sys -ltss2-tctildr -lglib-2.0 -ldl -pthread
libtool: link: gcc -O2 -Wall -Wextra -std=gnu99 -Wformat -Wformat-security -Wno-missing-braces -fdata-sections -ffunction-sections -fstack-protector-all -fpic -fPIC -Wstrict-overflow=5 -I./src -I./src/include -I./src -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wl,--gc-sections -Wl,--no-undefined -Wl,-z -Wl,noexecstack -Wl,-z -Wl,now -Wl,-z -Wl,relro -flto=auto -ffat-lto-objects -Wl,-z -Wl,relro -Wl,-z -Wl,now -o test/tpm2-command_unit test/tpm2_command_unit-tpm2-command_unit.o  -lcmocka src/.libs/libutil.a -lgio-2.0 -lgobject-2.0 -lpthread -ltss2-mu -ltss2-rc test/integration/.libs/libtest.a -ltss2-sys -ltss2-tctildr -lglib-2.0 -ldl -pthread
make[4]: Leaving directory '/<<PKGBUILDDIR>>'
make[3]: *** [Makefile:3958: check-am] Error 2
make[3]: Leaving directory '/<<PKGBUILDDIR>>'
make[2]: *** [Makefile:3961: check] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_test: error: make -j8 check "TESTSUITEFLAGS=-j8 --verbose" VERBOSE=1 returned exit code 2
make[1]: *** [debian/rules:22: override_dh_auto_test] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:11: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2