Skip to content

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

Closed

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.

Activity

  1. AJIOB commented on Jul 11, 2024

    @AJIOB
    Contributor

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions