[Libreoffice-bugs] [Bug 129632] ccache does not get any hits on 'make sc' just after 'make sc.clean'

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri Dec 27 13:49:39 UTC 2019


https://bugs.documentfoundation.org/show_bug.cgi?id=129632

--- Comment #1 from Dennis Francis <dennisfrancis.in at gmail.com> ---
Created attachment 156791
  --> https://bugs.documentfoundation.org/attachment.cgi?id=156791&action=edit
ccache debug output comparison

See second attachment. I compared the ccache debug output of building
xmlreader.cxx from a build when the issue was not there(folder named good) vs a
recent build(folder named bad) with ccache. The suspicious part is at the
bottom of xmlreader.o.ccache-input-d. In the "bad" file, there are some binary
stuff after the end of source code comment 
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ but absent in "good" file.

According to ccache docs, it uses the content of <>.o.ccache-input-d and
<>.o.ccache-input-c to compute the hash. Note that "good" and "bad" files are
*not* here for strict comparison as they were built in different Linux machines
with different versions of g++, but to understand what changed so drastically,
that the cache sometimes becomes "invalid" after a full build afresh in recent
master. My conjecture is that the binary stuff at the bottom of *-d file has
some timestamp or related info which causes the trouble.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20191227/53c0b508/attachment-0001.htm>


More information about the Libreoffice-bugs mailing list