Gentoo Archives: gentoo-dev

From: "Robin H. Johnson" <robbat2@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] ccache causing problems
Date: Thu, 29 Apr 2010 07:42:15
Message-Id: robbat2-20100429T073739-757633597Z@orbis-terrarum.net
In Reply to: [gentoo-dev] ccache causing problems by "Paweł Hajdan
1 On Thu, Apr 29, 2010 at 09:06:51AM +0200, "Paweł Hajdan, Jr." wrote:
2 > What actions would you suggest?
3 Have your user do a binary search of the ccache dir to find which cache
4 file is causing the problem, by restoring from his backup then renaming
5 half the directories each time.
6
7 Then tie that to what the input file should have generated it.
8
9 Most of the problems I've seen have been due to a disk or OS error
10 causing the cache output file to be corrupt or empty, instead of the
11 expected object code.
12
13 ccache itself hasn't been the problem, but unreliable hardware has.
14 Provably by removing the corrupt cache files, then running with ccache a
15 few more times, and having everything work perfectly.
16
17 --
18 Robin Hugh Johnson
19 Gentoo Linux: Developer, Trustee & Infrastructure Lead
20 E-Mail : robbat2@g.o
21 GnuPG FP : 11AC BA4F 4778 E3F6 E4ED F38E B27B 944E 3488 4E85

Replies

Subject Author
Re: [gentoo-dev] ccache causing problems "Paweł Hajdan