Errors and warnings from head

Gary E. Miller gem at rellim.com
Tue Apr 25 06:20:53 UTC 2017


Yo Hal!

On Mon, 24 Apr 2017 22:41:03 -0700
Hal Murray <hmurray at megapathdsl.net> wrote:

> NetBSD:
> TEST(lfpfunc, Absolute) PASS
> TEST(lfpfunc, FDF_RoundTrip)../../tests/libntp/lfpfunc.c:270::FAIL:
> Expected 0.0
> Was 2147482624.0. \nop2: 2147483647.500000 op3: 1023.50000000 diff 
> 2147482624.000
> 000 not within 2.384186e-07
> TEST(lfpfunc, SignedRelOps) PASS

Issue #264

> Debian wheezy:
> ../../ntpd/ntp_config.c:2955:2: warning: implicit declaration of
> function ‘yyparse’ [-Wimplicit-function-declaration]
> ../../ntpd/ntp_config.c:3020:2: error: ‘yydebug’ undeclared
> (first use in this function)

Do you have --enable-warnings on?  Known upstream Bison bug.


> CentOS release 6.9 (Final):
> ../../ntpd/ntp_monitor.c:156: warning: inlining failed in call to 
> ‘mon_reclaim_entry’: call is unlikely and code size would grow
> ../../ntpd/ntp_monitor.c:454: warning: called from here
> ../../ntpd/ntp_monitor.c:156: warning: inlining failed in call to 
> ‘mon_reclaim_entry’: call is unlikely and code size would grow
> ../../ntpd/ntp_monitor.c:467: warning: called from here
> ../../include/timespecops.h:334: warning: inlining failed in call to 
> ‘tspec_stamp_to_lfp’: call is unlikely and code size would grow
> ../../ntpd/ntp_config.c:3020: error: ‘yydebug’ undeclared (first
> use in this function)
> ../../ntpd/ntp_config.c:3020: error: (Each undeclared identifier is
> reported only once
> ../../ntpd/ntp_config.c:3020: error: for each function it appears in.)

Issue #274

> NetBSD 7:
> ../../ntpfrob/tickadj.c:30:6: warning: function might be candidate
> for attribute 'noreturn' [-Wsuggest-attribute=noreturn]
> HAVE_ADJTIMEX is not defined so it does an unconditional exit(1)

That is a new one.  I guess related to your earlier no adjtimex() bug
on NetBSD.  Have you creaated an issue fpr the adjtimex() thing yet?

> From Raspberry Pi and BeagleBone Black:
> ../../ntpd/ntp_control.c: In function ‘ctl_error’:
> ../../ntpd/ntp_control.c:714:35: warning: cast increases required
> alignment of target type [-Wcast-align]
>    maclen = authencrypt(res_keyid, (uint32_t *)&rpkt,
>                                    ^
> ../../ntpd/ntp_control.c: In function ‘process_control’:
> ../../ntpd/ntp_control.c:830:35: warning: cast increases required
> alignment of target type [-Wcast-align]
>    else if (authdecrypt(res_keyid, (uint32_t *)pkt,
>                                    ^

Known issue.  I just created issue #277 for it.

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
	gem at rellim.com  Tel:+1 541 382 8588

	    Veritas liberabit vos. -- Quid est veritas?
    "If you can’t measure it, you can’t improve it." - Lord Kelvin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ntpsec.org/pipermail/devel/attachments/20170424/fb1cbfd8/attachment.bin>


More information about the devel mailing list