Closed kdkasad closed 3 years ago
@kdkasad could you try the new version on fixes
branch? I have a fix that works with the test harness running with ccache
.
@kdkasad could you try the new version on
fixes
branch? I have a fix that works with the test harness running withccache
.
The problem doesn't happen when using the fixes
branch
Thanks @kdkasad for the quick feedback. Will make a new release in this month.
Describe the bug When using
ccache
as a compiler wrapper, the resultingcompile_commands.json
file is empty. When I remove thecc
override symlink from my path, it works fine.To Reproduce Steps to reproduce the behavior:
cc
->/usr/bin/ccache
$PATH
Expected behavior The
compile_commands.json
file should contain the compile commands.Environment:
Additional context
Can you give us a reference to the project that you are running against this tool? gl01.zip
What build tools this project is using? GNU make
What architecture you are trying to compile for? x86_64
Could you attach build logs? bear.log
Various useful info: This is the value of
$PATH
that results in an emptycompile_commands.json
file:The first directory in the
PATH
overridescc
,c++
, etc. with symlinks to theccache
binary:When I remove that directory from the
PATH
, everything works fine. Here's the resultingcompile_commands.json
when not usingccache
: compile_commands.json.zip