[Buildroot] [Bug 11261] ccache using wrong cached objects

bugzilla at busybox.net bugzilla at busybox.net
Mon Sep 3 22:47:56 UTC 2018


https://bugs.busybox.net/show_bug.cgi?id=11261

Arnout Vandecappelle <arnout at mind.be> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |WORKSFORME

--- Comment #3 from Arnout Vandecappelle <arnout at mind.be> ---
Unfortunately, I was not able to reproduce the issue. We wiped the ccache and
that solved the problem. I thought that I knew the cause (and thus would be
able to reproduce), but apparently I didn't...

The issue was detected while David investigated the libfdt.h issue that was
ultimately fixed by replacing -I$(HOST_DIR)/include with -isystem
$(HOST_DIR)/include. Before that, he had developed a patch for the kernel that
would fix it by changing the libfdt.h in the kernel to match the one in dtc
itself. On one build machine, that patch worked perfectly fine; on another one,
it apparently had no effect - until the ccache was removed.

In retrospect, it may be possible that this was caused by ccache installed on
the host (so not our own ccache). But even with that added in the mix I
couldn't reproduce.

I also thought at the time that I understood what was going wrong (I thought it
was due to CCACHE_BASEDIR), but I've investigated that option further and it
was a dead end.

So, with nothing more to go on, I'm closing this as WORKSFORME. Pity, because
unreliable ccache is really painful.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the buildroot mailing list