LLVM doesn't build on the first try when cross compilling to windows-gnu host #64218
Labels
A-LLVM
Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.
C-bug
Category: This is a bug.
O-windows-gnu
Toolchain: GNU, Operating system: Windows
T-bootstrap
Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
Running
./x.py build --host x86_64-pc-windows-gnu --target x86_64-pc-windows-gnu
from Linux will fail on building LLVM for Windows (so it's 2nd LLVM build) because somehow LLVM_ON_UNIX is defined:Magic happens when running the same command second time without cleaning build dir or changing anything. It will finish LLVM build and install the files.
Rust build will fail on
librustc_codegen_llvm
because of missingshell32
but this could be unrelated (although CMake should link it).The text was updated successfully, but these errors were encountered: