Re: [ccache] Inline assembly .incbin directive

2010-03-05 Thread Stefan Hajnoczi
On Fri, Mar 5, 2010 at 7:49 PM, Joel Rosdahl wrote: > The only reasonable way I see to tackle this is to avoid caching any source > code that has a string literal containing ".incbin". It would be easy to fool, > and there will be a few false positives, but maybe it's good enough. On the > other h

Re: [ccache] Inline assembly .incbin directive

2010-03-05 Thread Joel Rosdahl
On Tue, 2 Mar 2010 22:21:08 + Stefan Hajnoczi wrote: > ccache does not detect when the GNU assembler .incbin directive [1] is used > to include a binary file. > [...] > Since this bug breaks the idea that ccache does not affect the semantics of > the build, only the performance, I feel it mak

[ccache] Inline assembly .incbin directive

2010-03-02 Thread Stefan Hajnoczi
ccache does not detect when the GNU assembler .incbin directive [1] is used to include a binary file. If the contents of the referenced binary file have changed, ccache gets a false cache hit. The C source file hasn't changed - it still has an .incbin directive referencing the same filename but t