Lukas did another coverage report for elfutils 0.167:
https://fedorapeople.org/~lberk/elfutils-coverage/

Which showed --enable-gcov was broken. For the tests we need to link
against all libraries used.

Signed-off-by: Mark Wielaard <m...@redhat.com>
---
 tests/ChangeLog   |  4 ++++
 tests/Makefile.am | 18 +++++++++---------
 2 files changed, 13 insertions(+), 9 deletions(-)

diff --git a/tests/ChangeLog b/tests/ChangeLog
index 2e9aa0d..a0eb4c6 100644
--- a/tests/ChangeLog
+++ b/tests/ChangeLog
@@ -1,3 +1,7 @@
+2016-08-30  Mark Wielaard  <m...@redhat.com>
+
+       * Makefile.am (asm_tst?_LDADD): Add libdw.
+
 2016-08-25  Mark Wielaard  <m...@redhat.com>
 
        * backtrace-child.c: Disable and add documentation about why we disable
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 632b3a3..e331cb5 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -423,15 +423,15 @@ funcretval_LDADD = $(libdw) $(argp_LDADD)
 allregs_LDADD = $(libdw) $(argp_LDADD)
 find_prologues_LDADD = $(libdw) $(argp_LDADD)
 #show_ciefde_LDADD = ../libdwarf/libdwarf.so $(libelf)
-asm_tst1_LDADD = $(libasm) $(libebl) $(libelf) -ldl
-asm_tst2_LDADD = $(libasm) $(libebl) $(libelf) -ldl
-asm_tst3_LDADD = $(libasm) $(libebl) $(libelf) -ldl
-asm_tst4_LDADD = $(libasm) $(libebl) $(libelf) -ldl
-asm_tst5_LDADD = $(libasm) $(libebl) $(libelf) -ldl
-asm_tst6_LDADD = $(libasm) $(libebl) $(libelf) -ldl
-asm_tst7_LDADD = $(libasm) $(libebl) $(libelf) -ldl
-asm_tst8_LDADD = $(libasm) $(libebl) $(libelf) -ldl
-asm_tst9_LDADD = $(libasm) $(libebl) $(libelf) -ldl
+asm_tst1_LDADD = $(libasm) $(libebl) $(libelf) $(libdw) -ldl
+asm_tst2_LDADD = $(libasm) $(libebl) $(libelf) $(libdw) -ldl
+asm_tst3_LDADD = $(libasm) $(libebl) $(libelf) $(libdw) -ldl
+asm_tst4_LDADD = $(libasm) $(libebl) $(libelf) $(libdw) -ldl
+asm_tst5_LDADD = $(libasm) $(libebl) $(libelf) $(libdw) -ldl
+asm_tst6_LDADD = $(libasm) $(libebl) $(libelf) $(libdw) -ldl
+asm_tst7_LDADD = $(libasm) $(libebl) $(libelf) $(libdw) -ldl
+asm_tst8_LDADD = $(libasm) $(libebl) $(libelf) $(libdw) -ldl
+asm_tst9_LDADD = $(libasm) $(libebl) $(libelf) $(libdw) -ldl
 dwflmodtest_LDADD = $(libdw) $(libebl) $(libelf) $(argp_LDADD) -ldl
 rdwrmmap_LDADD = $(libelf)
 dwfl_bug_addr_overflow_LDADD = $(libdw) $(libebl) $(libelf) -ldl
-- 
1.8.3.1

Reply via email to