-
Notifications
You must be signed in to change notification settings - Fork 13.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
build and target aren't distinguished during llvm building #132926
Labels
A-cross
Area: Cross compilation
C-bug
Category: This is a bug.
T-bootstrap
Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
Comments
workingjubilee
added a commit
to workingjubilee/rustc
that referenced
this issue
Feb 8, 2025
resolve `llvm-config` path properly on cross builds Fixes rust-lang#132926
workingjubilee
added a commit
to workingjubilee/rustc
that referenced
this issue
Feb 9, 2025
resolve `llvm-config` path properly on cross builds Fixes rust-lang#132926
bors
added a commit
to rust-lang-ci/rust
that referenced
this issue
Feb 9, 2025
resolve `llvm-config` path properly on cross builds Fixes rust-lang#132926 try-job: x86_64-mingw-2
bors
added a commit
to rust-lang-ci/rust
that referenced
this issue
Feb 10, 2025
resolve `llvm-config` path properly on cross builds Fixes rust-lang#132926 try-job: x86_64-mingw-2
bors
added a commit
to rust-lang-ci/rust
that referenced
this issue
Feb 10, 2025
resolve `llvm-config` path properly on cross builds Fixes rust-lang#132926 try-job: x86_64-mingw-2
rust-timer
added a commit
to rust-lang-ci/rust
that referenced
this issue
Feb 10, 2025
Rollup merge of rust-lang#136681 - onur-ozkan:132926, r=jieyouxu resolve `llvm-config` path properly on cross builds Fixes rust-lang#132926 try-job: x86_64-mingw-2
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
A-cross
Area: Cross compilation
C-bug
Category: This is a bug.
T-bootstrap
Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
Cross-compiling rust 1.82.0 itself fails with custom LLVM used on the build and vendored llvm on the host.
config.toml
is configured asThe error occurs in
src/bootstrap/src/core/build_steps/llvm.rs: find_llvm_lib_name()
1,which tries to exec
llvm-config
of LLVM built for the build, but we don't acutally build it according to the configuration.This problematic path is generated in
prebuilt_llvm_config()
2The text was updated successfully, but these errors were encountered: