FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo Development

 
 
LinkBack Thread Tools
 
Old 04-29-2010, 07:06 AM
"Paweł Hajdan, Jr."
 
Default ccache causing problems

I've just seen two serious problems with ccache in a short period of
time. In both, webkit seems to be somehow involved (it has a complex
build process).

See <https://bugs.gentoo.org/show_bug.cgi?id=316657> and
<https://forums.gentoo.org/viewtopic.php?p=6262495#6262495>.

I'm afraid we probably can't get enough data from the above to produce a
good bug report for ccache.

What actions would you suggest?

Paweł Hajdan jr
 
Old 04-29-2010, 07:41 AM
"Robin H. Johnson"
 
Default ccache causing problems

On Thu, Apr 29, 2010 at 09:06:51AM +0200, "Paweł Hajdan, Jr." wrote:
> What actions would you suggest?
Have your user do a binary search of the ccache dir to find which cache
file is causing the problem, by restoring from his backup then renaming
half the directories each time.

Then tie that to what the input file should have generated it.

Most of the problems I've seen have been due to a disk or OS error
causing the cache output file to be corrupt or empty, instead of the
expected object code.

ccache itself hasn't been the problem, but unreliable hardware has.
Provably by removing the corrupt cache files, then running with ccache a
few more times, and having everything work perfectly.

--
Robin Hugh Johnson
Gentoo Linux: Developer, Trustee & Infrastructure Lead
E-Mail : robbat2@gentoo.org
GnuPG FP : 11AC BA4F 4778 E3F6 E4ED F38E B27B 944E 3488 4E85
 
Old 04-29-2010, 07:48 AM
"Paweł Hajdan, Jr."
 
Default ccache causing problems

On 4/29/10 9:41 AM, Robin H. Johnson wrote:
> On Thu, Apr 29, 2010 at 09:06:51AM +0200, "Paweł Hajdan, Jr." wrote:
>> What actions would you suggest?
> Have your user do a binary search of the ccache dir to find which cache
> file is causing the problem, by restoring from his backup then renaming
> half the directories each time.

It may be difficult, see
<https://bugs.gentoo.org/show_bug.cgi?id=316657#c8>. Do we have some
docs on the web with detailed instructions how to do that?

> ccache itself hasn't been the problem, but unreliable hardware has.
> Provably by removing the corrupt cache files, then running with ccache a
> few more times, and having everything work perfectly.

I see. However, I'd consider not detecting the corruption a bug.

Paweł Hajdan jr
 
Old 04-29-2010, 07:51 AM
Ciaran McCreesh
 
Default ccache causing problems

On Thu, 29 Apr 2010 09:48:28 +0200
"Paweł Hajdan, Jr." <phajdan.jr@gentoo.org> wrote:
> > ccache itself hasn't been the problem, but unreliable hardware has.
> > Provably by removing the corrupt cache files, then running with
> > ccache a few more times, and having everything work perfectly.
>
> I see. However, I'd consider not detecting the corruption a bug.

gcc also doesn't detect most hardware faults. Nor does glibc. Nor does
the kernel. There's very little software out there that's designed to
run correctly even on broken hardware, and the little that there is is
mostly keeping planes flying.

--
Ciaran McCreesh
 

Thread Tools




All times are GMT. The time now is 09:47 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org