Re: [ccache] PATCH: Add cwd/hostname to logfiles

2010-05-09 Thread Joel Rosdahl
On 2010-05-06 18:46, Wilson Snyder wrote: > > I'm debugging a problem which will be the topic of the next > mail. To do this, I needed the cwd of the compile, and > hostname printed in the logfile, otherwise it's impossible > to sort out parallel builds; a patch for this is below. > > I also fou

Re: [ccache] Corrupt objects from three colliding compiles

2010-05-09 Thread Joel Rosdahl
On 2010-05-06 19:14, Wilson Snyder wrote: > [...] > [1273161404.432174,2424 ] === 2010-05-06 11:56:44 === > [1273161404.432636,2424 ] Hostname: maserati > [1273161404.432643,2424 ] Cwd: /nfs/compiling/dir02 > [1273161404.432646,2424 ] Source file: INV.c > [1273161404.432648,2424 ] Object file: INV

Re: [ccache] Corrupt objects from three colliding compiles

2010-05-09 Thread Joel Rosdahl
On 2010-05-06 22:22, Wilson Snyder wrote: > > Two followups. > > First, though not the problem I'm seeing, as I understand > it, mkstemp isn't guaranteed to work on NFS v2 mounted > drives. Thus I suggest including the hostname; there's > already tmp_string() which is perfect. Patch below. App

[ccache] amd64 buildworld (FreeBSD 8.0p2) consistently fails with ccache

2010-05-09 Thread Christer Edwards
I've been testing the use of ccache on my FreeBSD machines and I've found that 'make buildworld' will consistently fail when ccache is activated on my amd64 machines, while it performs as expected on my i386 machines. I have tested on both platforms with and without compile options, such as -jX, CF

Re: [ccache] amd64 buildworld (FreeBSD 8.0p2) consistently fails with ccache

2010-05-09 Thread Joel Rosdahl
On 2010-05-09 19:03, Christer Edwards wrote: > I've been testing the use of ccache on my FreeBSD machines and I've > found that 'make buildworld' will consistently fail when ccache is > activated on my amd64 machines, while it performs as expected on my > i386 machines. > [...] That's strange. Whi

Re: [ccache] amd64 buildworld (FreeBSD 8.0p2) consistently fails with ccache

2010-05-09 Thread Christer Edwards
On Sun, May 9, 2010 at 11:17 AM, Joel Rosdahl wrote: > That's strange. Which ccache version are you using? If you're using 2.4, > please try 3.0pre0. [r...@stringer /usr/src]# ccache -V ccache version 3.0pre0 It just failed for me again. I did not turn on logging, but this is where it failed, if

[ccache] [PATCH] Move mkstemp() replacement to before its use.

2010-05-09 Thread Ramiro Polla
$subj 0001-Move-mkstemp-replacement-to-before-its-use.patch Description: Binary data ___ ccache mailing list ccache@lists.samba.org https://lists.samba.org/mailman/listinfo/ccache

Re: [ccache] amd64 buildworld (FreeBSD 8.0p2) consistently fails with ccache

2010-05-09 Thread Christer Edwards
On Sun, May 9, 2010 at 11:17 AM, Joel Rosdahl wrote: > You can enable debug logging by setting CCACHE_LOGFILE to a log file > path and then send the log of a failed compilation here. I've enabled logging and I would attach the logfile, but it is 12M total size. I've included the tail end, just le