Unable to use profile-generate
when cross-compiling for x86_64-pc-windows-gnu
on Linux.
#140013
Labels
A-cross
Area: Cross compilation
C-bug
Category: This is a bug.
needs-triage
This issue may need triage. Remove it if it has been sufficiently triaged.
O-windows-gnu
Toolchain: GNU, Operating system: Windows
When using either of the
x86_64-unknown-linux-gnu
toolchains (fromrustup
) with thex86_64-pc-windows-gnu
target added, cross-compiling forx86_64-pc-windows-gnu
withprofile-generate
enabled fails:If the compiler used is built with the following in
bootstrap.toml
:Then the build succeeds, but (after running the instrumented binary in
wine
) the generated profile data is malformed, and attempting to merge it withllvm-profdata
fails:The text was updated successfully, but these errors were encountered: