Code Monkey home page Code Monkey logo

Comments (2)

jrosdahl avatar jrosdahl commented on September 13, 2024

Hi,

You forgot to mention which ccache version you are using.

It works for me with ccache 3.1.4, 3.1.11, 3.2.1, 3.2.2, latest 3.2-maint and latest master. Here's what I tried:

% CCACHE_LOGFILE=/dev/stdout ./ccache /usr/bin/g++ -std=c++11 -c github-issue-50.cc |& grep Result:
[2015-08-07T17:09:42.057664 6803 ] Result: cache miss                     
% CCACHE_LOGFILE=/dev/stdout ./ccache /usr/bin/g++ -std=c++11 -c github-issue-50.cc |& grep Result:
[2015-08-07T17:09:43.121590 6820 ] Result: cache hit (direct)             
% sed -i 's/com/comm/' github-issue-50.cc                                                          
% CCACHE_LOGFILE=/dev/stdout ./ccache /usr/bin/g++ -std=c++11 -c github-issue-50.cc |& grep Result:
[2015-08-07T17:09:48.431334 6838 ] Result: cache miss                     
% CCACHE_LOGFILE=/dev/stdout ./ccache /usr/bin/g++ -std=c++11 -c github-issue-50.cc |& grep Result:
[2015-08-07T17:11:06.386939 6966 ] Result: cache hit (direct)             

As can be seen above, there is a cache miss after adding an "m" after "com".

Could you supply more information on how to reproduce the problem?

from ccache.

w-shackleton avatar w-shackleton commented on September 13, 2024

I'll try. I was using it in conjunction with other Build software. I was fairly convinced at the time that ccache was causing this issue but I'm not so sure now - I'll try to reproduce this issue in the environment I found the issue in. Thanks for posting those commands - I'll run those in my environment and see if I can get a repro. I'll reopen this issue if I find anything.
Thanks!

from ccache.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.