Skip to content

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

@diablohsh

Description

@diablohsh

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions