[ccache] How to make ccache not interpret 'multiple'

NITIN KHOSLA, BLOOMBERG/ 731 LEXIN nkhosla1 at bloomberg.net
Fri Jan 21 10:01:34 MST 2011

CC: Invalid input file name /home/nkhosla/.ccache/tmp/FILENAME.ii, no output generated for this file.
Above is the error I get from ccache. I modified FILENAME part.
>> Result: compiler produced no output  
I found one post:
That is that Sun CC apparently cannot correctly compile C++ templates when the file is preprocessed separately from compilation.
Though that post is OLD. Is this still true regarding solaris CC compiler?


----- Original Message -----
To: joel at rosdahl.net
Cc: ccache at lists.samba.org
At:  1/20 17:29:30

Thanks Joel. I made the change and it seems to be working.
Though it works even when I do 'not' use --ccache-skip flag at all.
a) Is that what you expect?
b) It works for simple files But for a heavily templatized source file(object size = 23mb). ccache returned "compiler produced no output" but object file is generated   
   In cache log
   [2011-01-20T17:10:13.149794 1100 ] Compiler didn't produce an object file
   Result: compiler produced no output
  ===> Any clues in debugging that?
Goal: I am trying to use ccache to reduce compilation time for heavily templatized code(10 lines of code = 20-30mb of object file and many of such files). I may have to increase default size of 1GB to more. but if there
are any other suggestions/limitations to be aware of, please let me know.


----- Original Message -----
From: Joel Rosdahl <joel at rosdahl.net>
To: ccache at lists.samba.org
At:  1/20 16:37:43

On 2011-01-20 21:01, NITIN KHOSLA, BLOOMBERG/ 731 LEXIN wrote:
> Facing an issue with solaris compiler options.
ccache mailing list
ccache at lists.samba.org

More information about the ccache mailing list