-
Notifications
You must be signed in to change notification settings - Fork 552
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sccache + clang-cl MSVC broken since PR1730 #1953
Comments
sorry but could you please share error messages? |
|
@Alexei-Barnes you had the same issue, right ? :) |
@sylvestre Before the fix for #1725 was merged sccache used to work for clang-cl but not for cl.exe. Now sccache gives this message with clang-cl while cl works fine. There needs to be a minor tweak in code i believe but as I am not aware of the code base someone with more knowledge should be able to fix this issue. |
@omjavaid which fix are you talking about? |
I think this PR 1730 #1730 merged a workaround for this issue for cl.exe |
ok, thanks |
But same workaround has broken "clang-cl" which used to work before it was merged. |
@omjavaid does it work if you revert the PR ? thanks |
I have not built sccache from source to test this. I just used one earlier release which appeared to be 0.5.1 to make things work for me. |
You're mentioning versions 0.5.x, have you tried version 0.7.1? |
@glandium yes I have tried 0.7.1 and then moved back to 0.5.1 because this was the last release that worked with clang-cl + MSVC. |
@omjavaid this is a bit confusing This error message: |
The offending commit is #1730 which was first merged in version 0.5.2. The problem persists since then till the latest 0.7.1 version. |
Oh, this is a dupe of #1843 |
clang-cl fails to compile with sccache appended on latests version 0.5.3. The problem is exactly the same as described in #1725. The problem seems to be fixed for MSVC cl but not for clang-cl. Note: This problem only appeared for clang-cl before the fix.
The text was updated successfully, but these errors were encountered: