Skip to content
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 doesn't support c++module well #2216

Open
diablohsh opened this issue Jul 5, 2024 · 1 comment
Open

sccache doesn't support c++module well #2216

diablohsh opened this issue Jul 5, 2024 · 1 comment

Comments

@diablohsh
Copy link

diablohsh commented Jul 5, 2024

In a C++20 project utilizing Clang-18 and CMake 3.28.3 on Ubuntu 24.04, when C++ modules are enabled, sccache fails to cache the correct compilation results. It appears that it cannot distinguish between the same .cpp file importing different versions of modified C++ modules, leading to the reuse of incorrect cached files. Consequently, this results in a SIGSEGV during the execution of the generated executable. Disabling sccache resolves the issue.

@AJIOB
Copy link
Contributor

AJIOB commented Jul 11, 2024

Looks like it's the similar to #2095

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants