Skip to content

LLVM Profile Error: Runtime and instrumentation version mismatch : expected 10, but get 8 #68

@ivanrg99

Description

@ivanrg99

Hi! Love the project.

I updated my system recently, using the latest llvm package from homebrew and latest rust version. When I now run cargo pgo optimize, I keep getting a LLVM Profile Error: Runtime and instrumentation version mismatch : expected 10, but get 8 error.

My llvm installation is version 19, and running rustc --version --verbose reveals that my rust installation is also using llvm 19:

rustc 1.84.0 (9fc6b4312 2025-01-07)
binary: rustc
commit-hash: 9fc6b43126469e3858e2fe86cafb4f0fd5068869
commit-date: 2025-01-07
host: aarch64-apple-darwin
release: 1.84.0
LLVM version: 19.1.5

Is anyone else facing this issue?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions