Bug 7857 - Compiler option for code coverage are unsupported
Compiler option for code coverage are unsupported
Product: ccache
Classification: Unclassified
Component: ccache
x86 Linux
: P3 normal
: ---
Assigned To: Joel Rosdahl
Joel Rosdahl
Depends on:
  Show dependency treegraph
Reported: 2010-12-08 14:24 UTC by Vince
Modified: 2012-03-26 02:13 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Vince 2010-12-08 14:24:53 UTC
For code coverage (gcov) to work, I need to compile with the following compiler switches -fprofile-arcs and -ftest-coverage (or --coverage).
Comment 1 Joel Rosdahl 2010-12-11 03:51:11 UTC
Do you mean that ccache fails with these options (i.e. a bug) or that it just gives no speedup (i.e. a missing feature)?
Comment 2 Joel Rosdahl 2011-01-03 14:08:20 UTC
Since ccache 3.0 correctly handles the mentioned flags (though without any speed up), I'm closing the bug.

Please reopen the bug if it was meant as a feature request to get ccache to speed up builds with the flags.
Comment 3 Luis Ehlen 2012-03-23 19:30:22 UTC
Sorry, but... can I ask why?
Comment 4 Joel Rosdahl 2012-03-26 02:13:10 UTC
(In reply to comment #3)
> Sorry, but... can I ask why?

What do you mean?