[systemd-bugs] [Bug 80582] timesyncd: clock is off

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Jul 16 19:32:45 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=80582

--- Comment #24 from Kevin <kevin at archlinuxarm.org> ---
This appears to be an optimization bug right now.  Initially using the original
build with -O2 (with distcc), and stepping through manager_receive_response in
timesyncd.c (the apparent origin of the issue), I noticed many of the variables
having been <optimized out> while inspecting through lines 681-687.  Of
particular interest the receive and trans variables.

Rebuilding with -O0 (with distcc) allowed variable inspection and saw
everything being set appropriately, and it continued calculating everything
fine:
interval/delta/delay/jitter/drift 64s/-0.012s/0.035s/0.000s/-45ppm
interval/delta/delay/jitter/drift 128s/+0.007s/0.032s/0.003s/-17ppm

Running this -O0 version outside of gdb also shows normal operation.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-bugs/attachments/20140717/01517498/attachment.html>


More information about the systemd-bugs mailing list