Skip to content

scccache breaks PGO builds #1178

@buttercookie42

Description

@buttercookie42

Even though sccache has had #276 for a long time and now with 0.3.0 apparently also #952, for me it is still breaking profiled builds.

The first build with an empty cache (respectively a cache that presumably doesn't contain any remnants of previous PGO builds) goes through fine, but on a subsequent build during the -fprofile-instr-use-phase linking almost invariably fails with a message like

34:58.88 LLVM ERROR: Function Import: link error: linking module flags 'ProfileSummary': IDs have conflicting values in '..\xre\nsAppRunner.obj' and '....\layout\base\Unified_cpp_layout_base1.obj'

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