Re: [ccache] --coverage and multiple -arch flags

2013-10-13 Thread Joel Rosdahl
On 11 September 2013 01:39, Mingus, Brian bmin...@rosettastone.com wrote:

 Does anyone know why --coverage isn't supported?


--coverage implies -ftest-coverage, which generates a .gcno file while
compiling. ccache would need to save and restore that file as well,
something that would be possible but isn't implemented.


 Additionally, multiple -arch flags are not supported. The source code says
 it would be too complicated. Isn't the resulting object file just a fat
 binary? Why not stick that in the cache?


The problem is that ccache needs to run the preprocessor explicitly, and
that fails when there are multiple -arch options. See also
https://bugzilla.samba.org/show_bug.cgi?id=7401, especially comment #2.

-- Joel
___
ccache mailing list
ccache@lists.samba.org
https://lists.samba.org/mailman/listinfo/ccache


[ccache] --coverage and multiple -arch flags

2013-09-10 Thread Mingus, Brian
Does anyone know why --coverage isn't supported?

Compiler option --coverage is unsupported
Failed; falling back to running the real compiler

Additionally, multiple -arch flags are not supported. The source code says
it would be too complicated. Isn't the resulting object file just a fat
binary? Why not stick that in the cache?

Thanks for any feedback,

Brian
___
ccache mailing list
ccache@lists.samba.org
https://lists.samba.org/mailman/listinfo/ccache