From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============0803272038429513339==" MIME-Version: 1.0 From: Mark Wielaard To: elfutils-devel@lists.fedorahosted.org Subject: [COMMITTED] tests: Fix --enable-gcov tests build. Add libdw to LDADD for asm_tsts. Date: Tue, 30 Aug 2016 13:47:04 +0200 Message-ID: <1472557624-1320-1-git-send-email-mjw@redhat.com> --===============0803272038429513339== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable 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 --- 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 + + * Makefile.am (asm_tst?_LDADD): Add libdw. + 2016-08-25 Mark Wielaard = * 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 =3D $(libdw) $(argp_LDADD) allregs_LDADD =3D $(libdw) $(argp_LDADD) find_prologues_LDADD =3D $(libdw) $(argp_LDADD) #show_ciefde_LDADD =3D ../libdwarf/libdwarf.so $(libelf) -asm_tst1_LDADD =3D $(libasm) $(libebl) $(libelf) -ldl -asm_tst2_LDADD =3D $(libasm) $(libebl) $(libelf) -ldl -asm_tst3_LDADD =3D $(libasm) $(libebl) $(libelf) -ldl -asm_tst4_LDADD =3D $(libasm) $(libebl) $(libelf) -ldl -asm_tst5_LDADD =3D $(libasm) $(libebl) $(libelf) -ldl -asm_tst6_LDADD =3D $(libasm) $(libebl) $(libelf) -ldl -asm_tst7_LDADD =3D $(libasm) $(libebl) $(libelf) -ldl -asm_tst8_LDADD =3D $(libasm) $(libebl) $(libelf) -ldl -asm_tst9_LDADD =3D $(libasm) $(libebl) $(libelf) -ldl +asm_tst1_LDADD =3D $(libasm) $(libebl) $(libelf) $(libdw) -ldl +asm_tst2_LDADD =3D $(libasm) $(libebl) $(libelf) $(libdw) -ldl +asm_tst3_LDADD =3D $(libasm) $(libebl) $(libelf) $(libdw) -ldl +asm_tst4_LDADD =3D $(libasm) $(libebl) $(libelf) $(libdw) -ldl +asm_tst5_LDADD =3D $(libasm) $(libebl) $(libelf) $(libdw) -ldl +asm_tst6_LDADD =3D $(libasm) $(libebl) $(libelf) $(libdw) -ldl +asm_tst7_LDADD =3D $(libasm) $(libebl) $(libelf) $(libdw) -ldl +asm_tst8_LDADD =3D $(libasm) $(libebl) $(libelf) $(libdw) -ldl +asm_tst9_LDADD =3D $(libasm) $(libebl) $(libelf) $(libdw) -ldl dwflmodtest_LDADD =3D $(libdw) $(libebl) $(libelf) $(argp_LDADD) -ldl rdwrmmap_LDADD =3D $(libelf) dwfl_bug_addr_overflow_LDADD =3D $(libdw) $(libebl) $(libelf) -ldl -- = 1.8.3.1 --===============0803272038429513339==--