]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
[Bug 3601] Tests fail to link on platforms with ntp_cv_gc_sections_runs=no
authorJuergen Perlinger <perlinger@ntp.org>
Mon, 23 Sep 2019 05:18:39 +0000 (07:18 +0200)
committerJuergen Perlinger <perlinger@ntp.org>
Mon, 23 Sep 2019 05:18:39 +0000 (07:18 +0200)
bk: 5d8855afsqSYoaoW85tYSvwq7i654g

ChangeLog
sntp/m4/ntp_problemtests.m4

index 20b3c6325e57c604b5dbc32f8aeab64583bcbe46..a250516a2bb3f06b165ebaeca09c080d1c55f87b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -12,6 +12,7 @@
 * [Bug 3604] Wrong param byte order passing into record_raw_stats() in
        ntp_io.c <perlinger@ntp.org>
   - fixed byte and paramter order as suggested by wei6410@sina.com 
+* [Bug 3601] Tests fail to link on platforms with ntp_cv_gc_sections_runs=no <perlinger@ntp.org>
 * [Bug 3599] Build fails on linux-m68k due to alignment issues <perlinger@ntp.org>
   - added padding as suggested by John Paul Adrian Glaubitz 
 * [Bug 3590] Update refclock_oncore.c to the new GPS date API <perlinger@ntp.org>
index ebc2cd91b935169eceb277b9e1258e50662a1652..c7b93c8c031da2d18912166cddda2440bb714448 100644 (file)
@@ -33,6 +33,10 @@ case "$ntp_ept:$cross:$host" in
  no:0:*-*-solaris*) ;;
  *) ntp_test_ntp_restrict="yes" ;;
 esac
+case "$ntp_cv_gc_sections_runs" in
+  no) ntp_test_ntp_restrict="no" ;;
+  * ) ;;
+esac
 AC_MSG_RESULT([$ntp_test_ntp_restrict])
 AM_CONDITIONAL([BUILD_TEST_NTP_RESTRICT], [test x$ntp_test_ntp_restrict = xyes])
 
@@ -43,6 +47,10 @@ case "$ntp_ept:$cross:$host" in
  no:0:*-*-solaris*) ;;
  *) ntp_test_ntp_scanner="yes" ;;
 esac
+case "$ntp_cv_gc_sections_runs" in
+  no) ntp_test_ntp_scanner="no" ;;
+  * ) ;;
+esac
 AC_MSG_RESULT([$ntp_test_ntp_scanner])
 AM_CONDITIONAL([BUILD_TEST_NTP_SCANNER], [test x$ntp_test_ntp_scanner = xyes])
 
@@ -53,6 +61,10 @@ case "$ntp_ept:$cross:$host" in
  no:0:*-*-solaris*) ;;
  *) ntp_test_ntp_signd="yes" ;;
 esac
+case "$ntp_cv_gc_sections_runs" in
+  no) ntp_test_ntp_signd="no" ;;
+  * ) ;;
+esac
 AC_MSG_RESULT([$ntp_test_ntp_signd])
 AM_CONDITIONAL([BUILD_TEST_NTP_SIGND], [test x$ntp_test_ntp_signd = xyes])