Rustc fails to compile project with PGO #119848
Labels
A-LLVM
Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.
C-bug
Category: This is a bug.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
I tried to optimize the Zen project (source code details are below) with PGO with cargo-pgo.
I expected to see this happen:
The project compiles with instrumentation PGO successfully.
Instead, this happened:
During the compilation, I get the following error: https://gist.github.com/zamazan4ik/176517dd1d5bb7dc07c92e13016dfd8d . Switching C/C++ compilers or using nightly instead of stable does not help - the error remains the same.
In Kobzol/cargo-pgo#44 was found that the error remains if we use raw Rustc compiler with proper PGO flags instead of
cargo-pgo
.Meta
rustc --version --verbose
:rustc +nightly --version --verbose
:Zen version:
master
branch,6bd9c0138c6c514246f7dfe9ec389f97f42eeed6
commit. Project repo: https://github.com/gorules/zenIf you need additional information about the ticket - feel free to ping me, I will try my best to help with resolving the issue.
The text was updated successfully, but these errors were encountered: