| Summary: | ccache using wrong cached objects | ||
|---|---|---|---|
| Product: | buildroot | Reporter: | David De Grave <david.degrave> |
| Component: | Other | Assignee: | Arnout Vandecappelle <arnout> |
| Status: | RESOLVED WORKSFORME | ||
| Severity: | critical | CC: | buildroot, david.degrave |
| Priority: | P5 | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Host: | Target: | ||
| Build: | |||
|
Description
David De Grave
2018-08-29 13:14:45 UTC
There is no description in this bug. Something went wrong when submitting the bug ? (In reply to Thomas Petazzoni from comment #1) Hi Thomas, no, I discovered a problem while building the linux kernel and finally found with the help of Arnout from where came the problem. It's something with ccache and the way buildroot deal with it. So, he asked me to fill an empty bugzilla report for him to remember (I guess). He will fills all the details himself later... Sorry. 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. |