<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - timesyncd: clock is off"
href="https://bugs.freedesktop.org/show_bug.cgi?id=80582#c24">Comment # 24</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - timesyncd: clock is off"
href="https://bugs.freedesktop.org/show_bug.cgi?id=80582">bug 80582</a>
from <span class="vcard"><a class="email" href="mailto:kevin@archlinuxarm.org" title="Kevin <kevin@archlinuxarm.org>"> <span class="fn">Kevin</span></a>
</span></b>
<pre>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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>