Re: [ccache] build octave with ccache causes segfault when checkinstall

2015-07-02 Thread Martin Pool
Sounds like a ccache bug. See if you can get a traceback or core file. On Fri, Jul 3, 2015, 5:15 AM Kim Sun kim@ericsson.com wrote: Dear maintainers, if I try to build the latest octave development source with ccache and afterwards checkinstall, the process fails on checkinstall. The

Re: [ccache] Unable to install CCache on SunOS 5.10

2015-04-24 Thread Martin Pool
admin rights..? Please let me know that, I shall try and let you know the status. Thanks, S. Jeya Ganesh On Thu, Apr 23, 2015 at 10:40 PM, Martin Pool m...@sourcefrog.net wrote: You're not doing anything wrong but there seems to be a portability shortcoming. Is there someone in your

Re: [ccache] Sharing ccache among different workspaces.

2014-05-05 Thread Martin Pool
Do the various compilations produce the exact same binary output? There might be something in your tree that makes the output vary from one run to the next. On Apr 29, 2014 3:50 PM, Sunny Jose sunju_j...@yahoo.com wrote: Hi, I want to share the ccache built using one workspace to be utilized

Re: [ccache] Bug compiling package freetype

2013-03-18 Thread Martin Pool
What kind of file is the ftsystem.lo mentioned in the error? (What does `file $PATH` say?) On 18 March 2013 10:30, Giacomo Comes co...@naic.edu wrote: Hi, I have found a bug in ccache as it fails to compile the package freetype. I have tested the bug on CentOS 5 and 6 and openSUSE 12.2 with

Re: [ccache] auto-disabling ccache when gcc gets plugins?

2012-10-18 Thread Martin Pool
Disabling all caching because any plugins are used seems like a bit of overkill: while they _can_ be impure, I wonder if most will be? But probably disabling when MELT is present would be reasonable. There is existing code to disable caching when particular flags are present so it should be a

Re: [ccache] Why not cache compile failures?

2012-09-29 Thread Martin Pool
I think caching errors would be worth trying. It may help with configure, and it may also help with people rebuilding trees that from time to time have errors in them. Depending on the compiler, it may be possible to see from the waitstatus that it was interrupted, and so to avoid caching the

Re: [ccache] Making ccache and clang compatible

2012-07-10 Thread Martin Pool
On 5 July 2012 21:35, Mike Frysinger vap...@gentoo.org wrote: On Wednesday 04 July 2012 09:53:46 Max Horn wrote: Using ccache with clang tends to generate tons of warnings, which can range from simply being annoying, to causing autoconf failures. This is because ccache runs the compiler

Re: [ccache] PATCH: Look at include files' mtimes

2012-05-22 Thread Martin Pool
On 22 May 2012 12:00, Justin Lebar justin.le...@gmail.com wrote: I've been burned by mtime only checking before as (excluding some recent file systems) mtime has a resolution only down to one second. I tried to address this in the patch, although come to think of it, I did it wrong. The

Re: [ccache] question about safe usage of ccache

2012-05-06 Thread Martin Pool
That's fine. On May 5, 2012 5:25 PM, John da_audioph...@yahoo.com wrote: I compile kernel packages for older PCs on my workstation. The builds are highly similar differing only in the a few option within the .config file I use for them (mainly differ cpu families). Will ccache mess up

Re: [ccache] Suggested patch to add local strtok_r for systems lacking it

2012-04-12 Thread Martin Pool
Thanks for the patch. I guess the definition ought to be guarded by HAVE_STRTOK_R, not _WIN32. Perhaps you also need to update configure.in to check for it? m ___ ccache mailing list ccache@lists.samba.org

Re: [ccache] Implementing a Read-only HTTP CCACHE_DIR

2012-04-02 Thread Martin Pool
Hi, Richard, The general thing of network-wide caching using something other than a network filesystem sounds good. There was some discussion (or patches? maybe even merged?) a while ago about using memcached, which seems like a pretty good idea to me rather than layering on http. -- Martin

Re: [ccache] What to do when there are problems writing to the cache directory?

2012-01-09 Thread Martin Pool
On 9 January 2012 22:34, Joel Rosdahl j...@rosdahl.net wrote: On the other hand, my general opinion is that tools should not fail silently. As a ccache user, I would like to be informed if something is badly configured, for instance if the cache directory is unwritable by me, so that I get

Re: [ccache] How to support another compiler?

2011-11-17 Thread Martin Pool
On 18 November 2011 14:34, Zhou, Yang yang.z...@polycom.com wrote: Hi all, I want to use ccache to optimize the compilation of my project. However, another compiler(not gcc) is used for the compilation. The compiler options are different from those of gcc. But I think the compilation

Re: [ccache] How to support another compiler?

2011-11-17 Thread Martin Pool
Instruments, it's used for TI C6000 DSPs. Best Regards, Yang Zhou -Original Message- From: martinp...@gmail.com [mailto:martinp...@gmail.com] On Behalf Of Martin Pool Sent: Friday, November 18, 2011 11:48 AM To: Zhou, Yang Cc: ccache@lists.samba.org Subject: Re: [ccache] How

Re: [ccache] Duplicate object files in the ccache - possible optimization?

2011-11-07 Thread Martin Pool
On 5 November 2011 11:12, Frank Klotz frank.kl...@alcatel-lucent.com wrote:  I used ccache at my previous employer, and was very convinced of its value.  Now that I have started a new job, I am in the process of trying to bring the new shop on board with ccache, so I have been doing lots of

Re: [ccache] ccache cache in RAM -- bypassing file cache?

2011-06-28 Thread Martin Pool
I think Justin is right that there should be no copying; it would be fairly insane if there was. I would speculate that the cause is nothing to do with the cache, but rather just that on the larger machine, more of the source tree and the header files used by it can be kept in memory. You could

Re: [ccache] problems with buildworld gcc45 on ports

2011-06-22 Thread Martin Pool
This answer may be too shallow, but: do you need to get rid of the whitespace around the CC=? That won't work in shell. I don't know what parses that file. Martin ___ ccache mailing list ccache@lists.samba.org

Re: [ccache] Configuration file plan

2011-04-06 Thread Martin Pool
I would think about not putting ccache.conf inside .ccache, because that directory might often be excluded from backups or in some other way treated as disposable. Aside from that it sounds really good. Martin ___ ccache mailing list

Re: [ccache] Issues using ccache

2011-01-20 Thread Martin Pool
On 20 January 2011 11:20, NITIN KHOSLA, BLOOMBERG/ 731 LEXIN nkhos...@bloomberg.net wrote: I am using first time. I have read documentation but not found my answers. Simple command: ccache gcc -o 1.o 1.c ccache -V ccache version 3.1.4 a) Ran first time and then second time. What called for

Re: [ccache] Radically different ccache performance on Linux vs OSX

2010-09-14 Thread Martin Pool
As a poorly-informed guess, maybe the OS X build is turning on pre-compiled headers in a way ccache 2.4 can't cope well with? -- Martin ___ ccache mailing list ccache@lists.samba.org https://lists.samba.org/mailman/listinfo/ccache

Re: [ccache] globally unique hashes

2010-06-22 Thread Martin Pool
On 21 June 2010 01:26, Reuben Hawkins reuben...@gmail.com wrote: c) distcc takes too much configuration/coordination, however, multicasting takes zero configuration/coordination Really? You don't have to do much more than run a daemon on the servers, and presumably you would need a multicast

Re: [ccache] globally unique hashes

2010-06-22 Thread Martin Pool
On 22 June 2010 11:42, Reuben Hawkins reuben...@gmail.com wrote: On 06/21/2010 06:06 PM, Martin Pool wrote: On 22 June 2010 10:18, Reuben Hawkins reuben...@gmail.com wrote: Hi Martin, Yes, there would need to be a daemon to respond to multicasts.  I think distcc requires setting all

Re: [ccache] globally unique hashes

2010-06-22 Thread Martin Pool
On 22 June 2010 15:36, Reuben Hawkins reuben...@gmail.com wrote: On Tue, Jun 22, 2010 at 4:39 AM, Martin Pool m...@sourcefrog.net wrote: On 22 June 2010 11:42, Reuben Hawkins reuben...@gmail.com wrote: On 06/21/2010 06:06 PM, Martin Pool wrote: On 22 June 2010 10:18, Reuben Hawkins reuben

Re: [ccache] About Win32 binary

2010-05-11 Thread Martin Pool
On 11 May 2010 17:02, asm warrior asmwarr...@gmail.com wrote: I have just test two version of ccache.exe( one from you and the other from a codeblocks' forum user reckless). It seems I still can't use it. I have reported the error build message in the codeblocks' forum post:

[ccache] New ccache User - Got Some Questions

2006-07-11 Thread Martin Pool
On 11/07/2006, at 2:55 AM, Naqib Khan wrote: Hi, I'm new to ccache - it does appear to be an extremely useful tool for compiling software. I have read through all the archives, but don't seem to specifically find the answers I'm looking for - here they are: 1) Does ccache only work with

[ccache] Can multiple users share a single cache?

2006-04-13 Thread Martin Pool
On 13/04/2006, at 10:01 AM, Kiel Sturm wrote: With this tool, can multiple users share a single cache, like the build cache feature of http://freshmeat.net/projects/makepp/ Yes. -- Martin

[ccache] Re: [distcc] distcc - ccache: no error messages

2005-03-09 Thread Martin Pool
Tim Niemueller wrote: Martin Pool wrote: Tim Niemueller wrote: [...@columbus firevision]$ make -j --- Compiling main.cpp (C++) gcc: \uC/distccd_219a0097.ii: File or directory not found gcc: no input files distcc[17494] ERROR: compile main.cpp on lechuck failed make: *** [.obj

[ccache] Other compilers (MSVC, SNSystem ProDG, Metrowerks CW)

2004-09-08 Thread Martin Pool
On 7 Sep 2004, Anuj Goyal anuj.go...@gmail.com wrote: I tried doing the port to win32, but did not get very far, windows does not have a nice fork() call like POSIX, one has to call CreateProcess and much with the Handle, it's not very pleasant. One also has to figure out howto do a mmap()

[ccache] Re: ccache 2.3 and coverage [patch]

2004-05-26 Thread Martin Pool
On 25 May 2004, Markus F.X.J. Oberhumer mar...@oberhumer.com wrote: The tiny patch below enables compiling coverage information when using ccache. BTW, now that CVS has gone, are there any chances for a arch/tla repository on samba.org ? Hi Markus, We still have CVS on samba.org for

[ccache] ccache doesn't compile binutils

2004-04-15 Thread Martin Pool
On 14 Apr 2004, Edward S. Peschko e...@pge.com wrote: ( ps - has anyone made a large integration test with ccache, ie: integrated it into the gentoo builds, etc? If you could compile an entire gentoo build using ccache, I'd be more comfortable with it. ) Yes, this has

[ccache] ccache doesn't compile binutils

2004-04-14 Thread Martin Pool
On 13 Apr 2004, Edward S. Peschko e...@pge.com wrote: On Tue, Apr 06, 2004 at 11:30:55AM +1000, Martin Pool wrote: On 4 Apr 2004, Edward S. Peschko e...@pge.com wrote: hey all, I was trying to compile binutils using ccache (version 2.3) and am getting the following errors

[ccache] PRB: ccache directory not available

2003-12-03 Thread Martin Pool
On 2 Dec 2003, heiko_el...@arburg.com wrote: ccache: version 2.2 OS: Windows XP Professional cygwin: latest version Hello, first of all: we like ccache - its a great utlility - thanks a lot! We're using ccache to share compiler output between several people. All works fine - but if

[ccache] Fw: [NFS] nfs/mmap/rename file corruption

2003-12-02 Thread Martin Pool
trond.mykleb...@fys.uio.no To: Martin Pool m...@sourcefrog.net Cc: n...@lists.sourceforge.net Subject: Re: [NFS] nfs/mmap/rename file corruption == Martin Pool m...@sourcefrog.net writes: - ccache runs distcc with output to a temporary file - distcc opens, mmaps, writes to, munmaps

[ccache] lilypond doesn't compile with ccache (DEPENDENCIES_OUTPUT)

2003-12-02 Thread Martin Pool
On 10 Aug 2003, Koblinger Egmont egm...@uhulinux.hu wrote: ./out/axis.o: axis.cc include/axes.hh include/string.hh \ include/arithmetic-operator.hh include/flower-proto.hh include/real.hh \ include/string-handle.hh include/string-handle.icc \ include/string-data.hh

[ccache] ccache doesn't handle .i files

2003-12-02 Thread Martin Pool
If I run ccache 2.2 on a .i file, it thinks it's not a C/C++ file and it doesn't cache it. This could be naively fixed by updating check_extension(), but it would be far better for ccache to know that it doesn't need to run cpp on such files. distcc does so. In particular this means that if

[ccache] CCACHE_PREFIX included in hash

2003-12-02 Thread Martin Pool
On 31 Oct 2003, Brian Poynor bri...@redback.com wrote: Is CCACHE_PREFIX intentionally included in the hash? Yes. For my project it means that objects built locally never match objects built remotely with CCACHE_PREFIX=distcc, even though they are identical, and I'd like to avoid duplicate

[ccache] Re: disk full and distcc/ccache weirdness

2003-12-02 Thread Martin Pool
On 23 Sep 2002, Tim Potter t...@samba.org wrote: Hi Tridge. I've just had some distcc/ccache wierdness that caused my ccache to be corrupted. One of the machines in our DISTCC_HOSTS list filled up /tmp and a whole bunch of object files were created containing text like:

[ccache] ccache - -frepo

2003-12-02 Thread Martin Pool
On 1 Oct 2003, andrew andrew.sla...@discus.anu.edu.au wrote: Hi, Should ccache always ignore compiles with (g++) -frepo, since object files might have to be rebuilt at link time, due to c++ template object code placement? I bypassed caching for -frepo'd source files so my template stuff

[ccache] Re: [distcc] ccache doesn't handle .i files

2003-12-02 Thread Martin Pool
On 23 Sep 2003, ee...@gmx.net wrote: on Mon, 21 Jul 2003 23:52:45 -0700, Martin Pool wrote: If I run ccache 2.2 on a .i file, it thinks it's not a C/C++ file and it doesn't cache it. This could be naively fixed by updating check_extension(), but it would be far better